Skip to main content
VulnerabilityPublished Updated

CVE-2026-42196: django-s3file is vulnerable to relative path traversal

Affects django-s3fileSource GCVE Database

0
Authoritative record:CVE-2026-42196· Critical 9.9

Not known to be exploited · CVSS 9.9 Critical : upgrade to 7.0.2 as a priority.

Data as of 27 Oct 2026, 17:41 UTC

CVSS 4.0 base score
9.9Critical
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 7.0.2
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade django-s3file to 7.0.2.

Affected software

ProductAffectedFixed in
PyPIdjango-s3fileAffected
  • <7.0.2
Fixed in
  • 7.0.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Users should update django-s3file to version 7.0.2 or later, where this vulnerability is patched. Applying this official fix fully mitigates the risk of relative path traversal attacks in S3FileMiddleware.

Description

The django-s3file package contains a critical vulnerability (CVE-2026-42196) in its S3FileMiddleware component that allows relative path traversal attacks. An attacker can manipulate requests to escape intended pre-signed upload directories and cause the Django application to load files from arbitrary locations into request.FILES. This can lead to confidentiality and integrity breaches depending on file handling. A patch is available in version 7.0.2 and users are urged to update.

References

Community reviews

Loading reviews…