{"id":"CVE-2026-42196","published":"2026-05-12T20:58:02Z","modified":"2026-05-13T15:37:19Z","title":"django-s3file: Relative path traversal","vendor":"codingjoe","product":"django-s3file","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.9,"severity":"CRITICAL","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00565,"percentile":0.47834,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-26","name":"Path Traversal: '/dir/../filename'"}],"references":[{"url":"https://github.com/codingjoe/django-s3file/security/advisories/GHSA-67qg-7284-2277","tags":["x_refsource_CONFIRM"]}],"priority":{"score":16.5,"factors":[{"name":"EPSS percentile","points":9.57},{"name":"CVSS severity","points":6.93}]},"vendorSlug":"codingjoe","affectedVersions":[{"vendor":"codingjoe","product":"django-s3file","versions":["< 7.0.2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-05-13T15:03:21.971724Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"django-s3file","vulnerableRanges":["<7.0.2"],"patched":["7.0.2"],"from":["GHSA-67qg-7284-2277","PYSEC-2026-328"],"provenance":"source"}],"summary":{"text":"The flaw is a relative path traversal in the S3FileMiddleware component of django-s3file, a file upload input for Django and Amazon S3 published by codingjoe. An attacker can use a modified request to escape pre-signed upload locations, causing the Django application to load files from arbitrary locations into request.FILES, which can lead to confidentiality and integrity issues depending on how those files are handled.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:50:13Z"},"euvd":{"id":"EUVD-2026-29832","exploited":false,"provenance":"source"}}