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.

Project Subscriptions

Vendors Products
Codingjoe Subscribe
Django-s3file Subscribe
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-67qg-7284-2277 django-s3file is vulnerable to relative path traversal
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 13 May 2026 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 13 May 2026 11:00:00 +0000

Type Values Removed Values Added
First Time appeared Codingjoe
Codingjoe django-s3file
Vendors & Products Codingjoe
Codingjoe django-s3file

Tue, 12 May 2026 21:30:00 +0000

Type Values Removed Values Added
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.
Title django-s3file: Relative path traversal
Weaknesses CWE-22
CWE-26
References
Metrics cvssV4_0

{'score': 9.9, 'vector': '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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-05-13T15:37:19.945Z

Reserved: 2026-04-25T01:53:21.584Z

Link: CVE-2026-42196

cve-icon Vulnrichment

Updated: 2026-05-13T15:03:26.085Z

cve-icon NVD

Status : Deferred

Published: 2026-05-12T22:16:34.193

Modified: 2026-05-13T18:15:26.870

Link: CVE-2026-42196

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-13T10:35:39Z

Weaknesses