{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2007-0404","id":"CVE-2007-0404","title":"Django Arbitrary Code Execution","description":"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.","descriptionLong":"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.","published":"2007-01-23T00:00:00.000Z","updated":"2026-07-06T08:11:25.188488394Z","reserved":"2007-01-22T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"},"metrics":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=0.95 <1.0"],"fixed":["1.0"],"advisory":"GHSA-qc99-g3wm-hgxr"}],"cwes":[],"aliases":["GHSA-qc99-g3wm-hgxr","PYSEC-2026-630"],"references":[{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/31627","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://secunia.com/advisories/23826","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"http://code.djangoproject.com/changeset/3592","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.securityfocus.com/bid/22134","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-0404","tags":["advisory"]},{"url":"https://github.com/django/django/commit/518d406e53","tags":["web"]},{"url":"https://github.com/django/django/commit/a132d411c6986418ee6c0edc331080aa792fee6e","tags":["web"]},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=407519","tags":["web"]},{"url":"https://github.com/django/django","tags":["package"]},{"url":"https://pypi.org/project/django","tags":["package"]},{"url":"https://github.com/advisories/GHSA-qc99-g3wm-hgxr","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01717,"epssPercentile":0.78005,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2007-0404","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2007-0404","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2007-0404","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-qc99-g3wm-hgxr","ok":true,"note":"GHSA-qc99-g3wm-hgxr"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2007-0404","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":["django"],"critical":[],"attention":null}