CVE-2026-42196: Vulnerability in django-s3file
Critical. django-s3file is a lightweight file upload input for Django and Amazon S3. Prior to 7.0.2, S3FileMiddleware is vulnerable to relative path traversal attacks, where an attacker can use a modified request to escape pre-signed upload locations and have the Django application load files from random locations into request.FILES. Depending on how files are handled, this may lead to confidentiality and integrity issues....
PyPI, CWE-22, CWE-23
- Exploitation
- None confirmed
- Severity
- 9.9 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-67qg-7284-2277
- Vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Weakness
- CWE-22, CWE-23, CWE-26
- Published
- 5 May 2026
- Last change
- 27 Oct 2026
- Ecosystem
- PyPI
Affected packages
Vulnerable version ranges and fixed releases
- django-s3file PyPI, Affected through 7.0.1. Fixed in 7.0.2
Advisories
Vendor and security advisories