CVE-2014-0482 is a medium-severity (CVSS 6.5) Improper Authentication vulnerability in django. A fix is available for django — see the affected versions and patch details below.
Django Middleware Enables Session Hijacking
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
django🐍django🐍django🐍djangoReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.
Description
The contrib.auth.middleware.RemoteUserMiddleware middleware in Django before 1.4.14, 1.5.x before 1.5.9, 1.6.x before 1.6.6, and 1.7 before release candidate 3, when using the contrib.auth.backends.RemoteUserBackend backend, allows remote authenticated users to hijack web sessions via vectors related to the REMOTE_USER header.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | django | all versions | 1.4.14pip install --upgrade 'django==1.4.14' |
| 🐍PyPI | django | ≥ 1.5&&< 1.5.9 | 1.5.9pip install --upgrade 'django==1.5.9' |
| 🐍PyPI | django | ≥ 1.6&&< 1.6.6 | 1.6.6pip install --upgrade 'django==1.6.6' |
| 🐍PyPI | django | ≥ 1.7a1&&< 1.7c3 | 1.7c3pip install --upgrade 'django==1.7c3' |
Affected Products
djangodjangoprojectopensuseopensuseDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for django, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update django to 1.4.14 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2014-0482 is resolved across your whole dependency graph.
Workarounds
Put an independent control in front of the weakness: restrict the affected endpoint or interface to trusted networks, require an additional authentication factor or proxy-level check, and invalidate existing sessions and credentials in case the flaw has already been used.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
Frequently Asked Questions
Is CVE-2014-0482 in your dependencies?
Find it across PyPI, including transitive dependencies.