Loading...
Skip to main content

CVE-2026-42196 — Vulnerability in django-s3file — CVE Details

CRITICAL

django-s3file is vulnerable to relative path traversal

Published May 5, 2026Updated June 29, 2026Source: osv

Summary

### 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.

Advisory Timeline

  • First published May 5, 2026 (160 days ago).
  • Last revised June 29, 2026 — 55 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

pip
Update django-s3file to 7.0.2 or later
pip install "django-s3file>=7.0.2"

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: pypi (1).

PackageEcosystemAffectedFixed In
django-s3file
pypi
0.1.0, 0.1.1, 0.1.10, 0.1.11 (+80 more)7.0.2

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 10.0 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
—
Confidentiality
—
Integrity
—
Availability
—

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

Frequently Asked Questions

What is CVE-2026-42196?
django-s3file is vulnerable to relative path traversal This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 10.0/10).
How do I check if my project is affected by CVE-2026-42196?
CVE-2026-42196 affects django-s3file. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-42196 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
10.0

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-67qg-7284-2277
PYSEC-2026-328

Related CVEs

  • CVE-2026-61447
    CRITICAL

    PraisonAI: CodeAgent Executes LLM-Generated Code Without Sandboxing and Leaks All Environment Secrets

  • CVE-2026-61445
    CRITICAL

    PraisonAI: AICoder Arbitrary File Write and Command Execution via LLM Tool Calls

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies