Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-42196: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in codingjoe django-s3file

0
Critical
VulnerabilityCVE-2026-42196cvecve-2026-42196cwe-22cwe-26
Published: Tue May 12 2026 (05/12/2026, 20:58:02 UTC)
Source: CVE Database V5
Vendor/Project: codingjoe
Product: django-s3file

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/12/2026, 21:37:44 UTC

Technical Analysis

The django-s3file package, used for lightweight file uploads in Django applications with Amazon S3, had a path traversal vulnerability (CWE-22) in its S3FileMiddleware component before version 7.0.2. This vulnerability allowed attackers to craft requests that bypass pre-signed upload location restrictions, enabling the application to load files from unintended locations into request.FILES. Such unauthorized file access could compromise confidentiality and integrity of data processed by the application. The vulnerability has a CVSS 4.0 score of 9.9, indicating critical severity. The vendor has released version 7.0.2 to address this issue. Since django-s3file is a cloud service, the vendor typically manages patching server-side.

Potential Impact

Successful exploitation allows attackers to perform path traversal to load arbitrary files into the Django application's request.FILES, potentially exposing sensitive data or corrupting application state. This impacts confidentiality and integrity of the affected system. The CVSS score of 9.9 reflects the high impact and ease of exploitation without privileges or user interaction.

Mitigation Recommendations

A fix is available in django-s3file version 7.0.2. Users and administrators should upgrade to version 7.0.2 or later to remediate this vulnerability. Since django-s3file is a cloud-hosted service, the vendor manages remediation server-side; verify with the vendor advisory that the service is updated accordingly. No additional mitigation steps are indicated by the vendor.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-25T01:53:21.584Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null
Is Cloud Service
true

Threat ID: 6a0399d6cbff5d86101a890c

Added to database: 5/12/2026, 9:21:26 PM

Last enriched: 5/12/2026, 9:37:44 PM

Last updated: 5/13/2026, 4:49:14 AM

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses