{"id":"CVE-2007-0404","aliases":["DEBIAN-CVE-2007-0404","EUVD-2022-4945","GHSA-qc99-g3wm-hgxr","PYSEC-2026-630"],"status":"published","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.","severity":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.01717,"percentile":0.77566,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2007-01-23T00:00:00Z","modified":"2026-10-21T17:47:41Z","fixes":[{"ecosystem":"PyPI","package":"django","fixed_in":["1.0"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"python-django","fixed_in":["0.95.1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"python-django","fixed_in":["0.95.1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"python-django","fixed_in":["0.95.1-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.95"},{"last_affected":"0.95"},{"fixed":"1.0"}]}],"versions":["0.95"]},{"source":"osv","ecosystem":"Debian:12","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.95.1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.95.1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.95.1-1"}]}]},{"source":"osv","ecosystem":"PyPI","package":"django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.95"},{"fixed":"1.0"}]}],"versions":["0.95"]},{"source":"osv","ecosystem":"PyPI","package":"django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.95"},{"fixed":"1.0"}]}],"versions":["0.95"]}],"products":[{"vendor":"django_project","product":"django"}],"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://bugs.debian.org/cgi-bin/bugreport.cgi?bug=407519","tags":["web"]},{"url":"https://github.com/django/django/commit/a132d411c6986418ee6c0edc331080aa792fee6e","tags":["web"]},{"url":"https://github.com/advisories/GHSA-qc99-g3wm-hgxr","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2007-0404","tags":["advisory"]},{"url":"https://github.com/django/django","tags":["package"]},{"url":"https://pypi.org/project/django","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2007-0404","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.","status":"published","published":"2007-01-23T00:00:00Z","modified":"2024-08-07T12:19:29.97Z","updated_at":"2026-11-02T13:34:15.046008Z"}],"euvd":[{"id":"EUVD-2022-4945","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.","status":"published","published":"2007-01-23T00:00:00Z","modified":"2024-08-07T12:19:29Z","updated_at":"2026-11-03T01:38:30.634408Z"}],"ghsa":[{"id":"GHSA-qc99-g3wm-hgxr","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.","status":"published","published":"2022-05-01T17:44:04Z","modified":"2024-06-12T17:32:13Z","updated_at":"2026-11-02T14:37:54.624184Z"}],"nvd":[{"id":"CVE-2007-0404","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.","status":"published","published":"2007-01-23T00:28:00Z","modified":"2026-06-16T22:35:30.407Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:01:11.752648Z"}],"osv":[{"id":"CVE-2007-0404","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.","status":"published","published":"2007-01-23T00:28:00Z","modified":"2026-07-06T08:11:25.188488394Z","updated_at":"2026-11-02T15:43:56.865964Z"},{"id":"DEBIAN-CVE-2007-0404","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.","status":"published","published":"2007-01-23T00:28:00Z","modified":"2026-10-21T17:47:41.711794164Z","updated_at":"2026-11-02T15:45:23.105674Z"},{"id":"GHSA-qc99-g3wm-hgxr","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.","status":"published","published":"2022-05-01T17:44:04Z","modified":"2026-07-06T08:11:25.188488394Z","updated_at":"2026-11-02T15:46:54.40888Z"},{"id":"PYSEC-2026-630","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.","status":"published","published":"2026-07-02T14:13:20.006998Z","modified":"2026-07-06T08:00:11.808832399Z","updated_at":"2026-11-02T15:52:57.671918Z"}]}}
