VDB
Sign up
HIGH7.5

PYSEC-2026-630

Django Arbitrary Code Execution

Quick fix

PYSEC-2026-630 — django: upgrade to the fixed version with the command below.

pip install --upgrade 'django>=1.0'

Details

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

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/django
Introduced in: 0.95Fixed in: 1.0
Fixpip install --upgrade 'django>=1.0'

References