CVE-2026-42196

CRITICAL

django-s3file: Relative path traversal

Title source: cna
STIX 2.1

Description

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.

References (1)

Core 1
Core References

Scores

CVSS v4 9.9
EPSS 0.0003
EPSS Percentile 8.7%
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

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-22 CWE-26
Status published
Products (2)
codingjoe/django-s3file < 7.0.2
pypi/django-s3file 0 - 7.0.2PyPI
Published May 12, 2026
Tracked Since May 13, 2026