CVE-2016-9014 · mitre
CVE-2016-9014
Django before 1.8.x before 1.8.16, 1.9.x before 1.9.11, and 1.10.x before 1.10.3, when settings.DEBUG is True, allow remote attackers to conduct DNS rebinding attacks by leveraging failure to validate the HTTP Host header against settings.ALLOWED_HOSTS.
Published 2016-12-09, last changed 2026-06-17. Weakness: CWE-264.
How to fix
Upgrade to a fixed version: django 1.8.16, 1.9.11, 1.10.3 (PyPI) (each is the fix for its own release line). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in django/django by 45acd6d836, 884e113838, c401ae9a7d. Functions changed by the fix: get_host. Regression tests: tests/requests/tests.py, tests/csrf_tests/tests.py. Confidence: verified (a record names this commit as the fix, and it changed these functions).
Timeline
| 2016-12-09 | Published |
| 2016-12-09 | Package advisory PYSEC-2016-18 |
| 2022-05-17 | Package advisory GHSA-3f2c-jm6v-cr35 |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 6.07% |
| 2026-12-02 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-3f2c-jm6v-cr35 | django (PyPI) | 1.8.16 |
| GHSA-3f2c-jm6v-cr35 | django (PyPI) | 1.9.11 |
| GHSA-3f2c-jm6v-cr35 | django (PyPI) | 1.10.3 |
| PYSEC-2016-18 | django (PyPI) | 1.8.16, 1.9.11, 1.10.3 |
Also known as: GHSA-3f2c-jm6v-cr35, PYSEC-2016-18
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-15830 | 2026-08-04 | 6.9 | Potential denial-of-service vulnerability via nested geometry collections |
| CVE-2026-15307 | 2026-08-04 | 8.7 | Server-side file-write and request forgery via spatial lookups |
| CVE-2026-53878 | 2026-07-07 | 5.3 | Header injection possibility since DomainNameValidator accepted newlines in input |
| CVE-2026-53877 | 2026-07-07 | 6.3 | Heap buffer over-read in GDALRaster |
| CVE-2026-48588 | 2026-07-07 | 5.3 | Potential exposure of private data via cached Set-Cookie response |
| CVE-2026-8404 | 2026-06-03 | 5.3 | Potential exposure of private data via case-sensitive Cache-Control directives in UpdateCacheMiddleware |
| CVE-2026-7666 | 2026-06-03 | 2.3 | Potential unencrypted email transmission via STARTTLS in the SMTP backend |
| CVE-2026-6873 | 2026-06-03 | 4.3 | Signed cookie salt namespace collision in django.http.HttpRequest.get_signed_cookie |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2016-9014, or call /api/v1/vulnerabilities/CVE-2016-9014. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.