{"schema_version":"1.9.0","id":"BIT-django-2025-59682","published":"2025-10-23T08:40:14.229Z","modified":"2026-09-08T08:46:33.667176705Z","aliases":["CVE-2025-59682","GHSA-q95w-c7qg-hrff","PYSEC-2026-1296"],"details":"An issue was discovered in Django 4.2 before 4.2.25, 5.1 before 5.1.13, and 5.2 before 5.2.7. The django.utils.archive.extract() function, used by the \"startapp --template\" and \"startproject --template\" commands, allows partial directory traversal via an archive with file paths sharing a common prefix with the target directory.","affected":[{"package":{"name":"django","ecosystem":"Bitnami","purl":"pkg:bitnami/django"},"ranges":[{"type":"SEMVER","events":[{"introduced":"4.2.0"},{"fixed":"4.2.25"},{"introduced":"5.1.0"},{"fixed":"5.1.13"},{"introduced":"5.2.0"},{"fixed":"5.2.7"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/django/BIT-django-2025-59682.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}],"references":[{"type":"ADVISORY","url":"https://docs.djangoproject.com/en/dev/releases/security/"},{"type":"ADVISORY","url":"https://groups.google.com/g/django-announce"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-59682"},{"type":"ADVISORY","url":"https://www.djangoproject.com/weblog/2025/oct/01/security-releases/"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/10/01/3"}],"database_specific":{"cpes":["cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*"],"severity":"Medium"}}