Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. Django
  4. ›
  5. CVE-2007-0404

CVE-2007-0404: Django Arbitrary Code Execution

May 1, 2022 (updated April 9, 2025)

bin/compile-messages.py in Django 0.95 does not quote argument strings before invoking the msgfmt program through the os.system function, which allows attackers to execute arbitrary commands via shell metacharacters in a (1) .po or (2) .mo file.

References

  • bugs.debian.org/cgi-bin/bugreport.cgi?bug=407519
  • exchange.xforce.ibmcloud.com/vulnerabilities/31627
  • github.com/advisories/GHSA-qc99-g3wm-hgxr
  • github.com/django/django
  • github.com/django/django/commit/518d406e53
  • github.com/django/django/commit/a132d411c6986418ee6c0edc331080aa792fee6e
  • nvd.nist.gov/vuln/detail/CVE-2007-0404

Code Behaviors & Features

Detect and mitigate CVE-2007-0404 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.95 before 1.0, version 0.95

Fixed versions

  • 1.0

Solution

Upgrade to version 1.0 or above.

Impact 7.5 HIGH

AV:N/AC:L/Au:N/C:P/I:P/A:P

Learn more about CVSS

Source file

pypi/Django/CVE-2007-0404.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:37 +0000.