CVE-2026-42196codingjoe django-s3file
Critical 9.9 No auth needed
Follow: this CVE · codingjoe · codingjoe django-s3file We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 4.0
- 9.9
- EPSS
- —
- Auth required
- No
- Published
- May 12, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- 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
What happens
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. This vulnerability is fixed in 7.0.2.
What to do
- Apply the vendor's security update for django-s3file.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | django-s3file |
< 7.0.2 |
7.0.2 |
pip install "django-s3file>=7.0.2" |
| PyPI | django-s3file |
< 7.0.2 |
7.0.2 |
pip install "django-s3file>=7.0.2" |
Per OSV / GitHub Advisories (GHSA-67qg-7284-2277, PYSEC-2026-328). Check the version in your lockfile before upgrading.
Affected products
- codingjoe · django-s3file
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.