VDB
Sign up
MEDIUM5.0

PYSEC-2026-802

XML External Entity (XXE) in Django

Quick fix

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

pip install --upgrade 'django>=1.3.6'

Details

The XML libraries for Python as used in OpenStack Keystone Essex and Folsom, Django, and possibly other products allow remote attackers to read arbitrary files via an XML external entity declaration in conjunction with an entity reference, aka an XML External Entity (XXE) attack.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/django
Introduced in: 1.3.0Fixed in: 1.3.6
Fixpip install --upgrade 'django>=1.3.6'

References