CVE-2016-9013
Django user with hardcoded password created when running tests on Oracle
Reported by mitre · Published December 9, 2016
Django is fixed in 1.10.3, 1.9.11 and 1.8.16 (PyPI)
Django 1.8.x before 1.8.16, 1.9.x before 1.9.11, and 1.10.x before 1.10.3 use a hardcoded password for a temporary database user created when running tests with an Oracle database, which makes it easier for remote attackers to obtain access to the database server by leveraging failure to manually specify a password in the database settings TEST dictionary.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Django | PyPI | 1.10.3, 1.9.11, 1.8.16 |
| py-django | Alpine | 1.8.16-r0 |
| python-django | Ubuntu:14.04:LTS | 1.6.1-2ubuntu0.16 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| PyPI | Django | 1.10a1, 1.8a1, 1.9a1 |
| alpine | py-django | 0 |
| n/a | n/a | * |
| arch | python-django | 0 |
| alpine | py3-django | 0 |
Timeline
- Nov 1, 2016 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 5, 2026 Distribution Patch (3 in total, the first dated here)
- Mar 5, 2026 Security Advisory (3 in total, the first dated here)
- Oct 6, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2016-9013
vulnetix vdb fixes CVE-2016-9013
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2016-9013/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- FEDORA-2016-d4571bf555 vendor-advisoryx_refsource_FEDORA
- DSA-3835 vendor-advisoryx_refsource_DEBIAN
- USN-3115-1 vendor-advisoryx_refsource_UBUNTU
- 94069 vdb-entryx_refsource_BID
- 1037159 vdb-entryx_refsource_SECTRACK
- FEDORA-2016-3eb5a55123 vendor-advisoryx_refsource_FEDORA
- https://nvd.nist.gov/vuln/detail/CVE-2016-9013 advisory
- https://github.com/advisories/GHSA-mv8g-fhh6-6267 advisory
- https://github.com/django/django/commit/34e10720d81b8d407aa14d763b6a7fe8f13b4f2e patch
- https://github.com/django/django/commit/4844d86c7728c1a5a3bbce4ad336a8d32304072b patch
- https://github.com/django/django/commit/70f99952965a430daf69eeb9947079aae535d2d0 patch
- https://github.com/django/django url
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2016-17.yaml advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OG5ROMUPS6C7BXELD3TAUUH7OBYV56WQ url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QXDKJYHN74BWY3P7AR2UZDVJREQMRE6S url
- https://www.djangoproject.com/weblog/2016/nov/01/security-releases url