---
title: "CVE-2026-42196: django-s3file is vulnerable to relative path traversal"
url: https://erroneo.us/security/cve/CVE-2026-42196/
description: "CVE-2026-42196 (django-s3file (PyPI)): django-s3file is a lightweight file upload input for Django and Amazon S3. Prior to 7.0.2, S3FileMiddleware is…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-05-12
date_modified: 2026-05-13
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-42196"
kev: false
cvss: 9.9
epss: 0.0059
license: All rights reserved. Quote with attribution and a link.
---

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

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 0.6% , percentile 47: FIRST’s model estimates a 0.6% chance of exploitation activity in the next 30 days, higher than 47% of all scored CVEs (low). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes django-s3file (PyPI) <= 7.0.1, fixed in 7.0.2 . Check your lockfile, including transitive dependencies.

## What it is

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.

## Affected packages

- PyPI `django-s3file` <= 7.0.1 → fixed: 7.0.2

## Affected products (CVE record)

- codingjoe django-s3file: < 7.0.2

## Severity

- GitHub_M CVSS 4.0: 9.9 `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`
- GitHub CVSS 4.0: 9.9 `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

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none , automatable yes , technical impact partial .
- FIRST EPSS (model of 2026-10-21): 0.59% probability of exploitation activity in the next 30 days; percentile 47.

## Sources

- [GitHub Advisory GHSA-67qg-7284-2277](https://github.com/advisories/GHSA-67qg-7284-2277)
- [CVE.org record CVE-2026-42196](https://www.cve.org/CVERecord?id=CVE-2026-42196)
- [NVD entry CVE-2026-42196](https://nvd.nist.gov/vuln/detail/CVE-2026-42196)
- [github.com](https://github.com/codingjoe/django-s3file/security/advisories/GHSA-67qg-7284-2277)

---
Source page: https://erroneo.us/security/cve/CVE-2026-42196/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
