Skip to main content

django-s3file CVE-2026-42196

CRITICAL
Relative Path Traversal (CWE-23)
2026-05-05 https://github.com/codingjoe/django-s3file GHSA-67qg-7284-2277
9.9
CVSS 4.0
Share

CVSS VectorNVD

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
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

4
Re-analysis Queued
May 12, 2026 - 22:22 vuln.today
cvss_changed
CVSS changed
May 12, 2026 - 22:22 NVD
9.9 (CRITICAL)
Source Code Evidence Fetched
May 05, 2026 - 21:01 vuln.today
Analysis Generated
May 05, 2026 - 21:01 vuln.today

DescriptionNVD

Impact

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.

Patches

Django-S3File urges all users to update to a patched version >=7.0.2.

AnalysisAI

Path traversal in django-s3file's S3FileMiddleware allows attackers to manipulate HTTP requests and force Django applications to load arbitrary files from unintended S3 locations into request.FILES, bypassing pre-signed upload location restrictions. Affects all versions <=7.0.1. …

Sign in for full analysis, threat intelligence, and remediation guidance.

RemediationAI

Within 24 hours: Identify all Django applications using django-s3file and verify their current version via pip show django-s3file or requirements.txt audit. Within 7 days: Upgrade all affected instances to django-s3file version 7.0.2 or later, test in staging environment, and deploy to production with validation that S3 upload location restrictions are enforced. …

Sign in for detailed remediation steps.

Share

CVE-2026-42196 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy