Description
PyGoat is an intentionally vulnerable web application written in Django, built to teach web application security. Its vulnerabilities are based on the OWASP Top Ten. Every lab runs in its own Docker container, so Docker is needed in every setup. The recommended route is Docker Compose, which starts PyGoat, Traefik and the lab containers. The first run builds every lab image before the web app starts, which can take 10 minutes or more, and later runs reuse the images and start quickly. The app is opened on port 8000, Traefik serves the labs on port 80, and the Traefik dashboard is on port 8080, so those ports must be free. Labs are served at addresses under lvh.me and are only accessible to the user who started them. The README warns that the pygoat/pygoat image on Docker Hub is the old v2 release without the v3 labs. Source installation is also documented for Linux, WSL and Windows PowerShell, with Traefik downloaded separately. The README links an installation video, uninstall steps, a solutions section and notes for developers. It suits students, developers and security trainers who want a deliberately insecure app to practice on in a controlled setup.…
Highlights
- Intentionally vulnerable Django app based on the OWASP Top Ten
- Each lab runs in its own Docker container
- Docker Compose setup with Traefik
- Installation video and solutions included
- Source setup for Linux, WSL and Windows
Ratings & Reviews
No ratings yet
Be the first to rate Pygoat.
People also visit

django-security
Django security best practices, authentication, authorization, CSRF protection
Pygoat FAQ
What is PyGoat?
An intentionally vulnerable web application written in Django, for learning web application security. Its vulnerabilities are based on the OWASP Top Ten.
Who is it for?
People learning web application security who want to practice on a deliberately vulnerable target.
What do I need to run it?
Docker, with ports 8000, 80 and 8080 free. The README recommends Docker Compose.
Why is the first start slow?
The first run builds every lab image before the web app starts, which can take 10 minutes or more. Later runs reuse the images.
Is there an older version?
The pygoat/pygoat Docker Hub image is the old v2 release and does not include the v3 labs. Use Docker Compose instead.
What are the best Pygoat alternatives?
Popular alternatives to Pygoat include JavaVulnerableLab, Easybuggy and Amy. See all Pygoat alternatives




