Read the docs
TI-2022-08652 Aliases CVE-2022-24840GHSA-4w8f-hjm9-xwgf

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in django-s3file

Priority HIGH 82CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.

Summary

django-s3file is a lightweight file upload input for Django and Amazon S3 . In versions prior to 5.5.1 it was possible to traverse the entire AWS S3 bucket and in most cases to access or delete files. If the `AWS_LOCATION` setting was set, traversal was limited to that location only. The issue was discovered by the maintainer. There were no reports of the vulnerability being known to or exploited by a third party, prior to the release of the patch. The vulnerability has been fixed in version 5.5.1 and above. There is no feasible workaround. We must urge all users to immediately updated to a patched version.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.02067 81st percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed django-s3file (codingjoe): 5.5.1django-s3file (PyPI): 5.5.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
codingjoedjango-s3filebefore 5.5.15.5.1Patch availableCNA
—django-s3file (PyPI)before 5.5.15.5.1Patch availableGHSA-4w8f-hjm9-xwgf
  • django-s3file Vendorcodingjoe Affected before 5.5.1 Fixed in 5.5.1 Patch available CNA
  • django-s3file (PyPI) Vendor— Affected before 5.5.1 Fixed in 5.5.1 Patch available GHSA-4w8f-hjm9-xwgf

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:django-s3file_project:django-s3file:*:*:*:*:*:*:*:*before 5.5.1VulnerableDjango-s3file Project
  • cpe:2.3:a:django-s3file_project:django-s3file:*:*:*:*:*:*:*:* Versions before 5.5.1 Vulnerable ·Django-s3file Project

Remediation

  • Fix · CNA django-s3file (codingjoe) Fixed in 5.5.1
  • Fix · GHSA-4w8f-hjm9-xwgf django-s3file (PyPI) Fixed in 5.5.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-24840
  2. 2026-10-03 Alias added: GHSA-4w8f-hjm9-xwgf

References

  • TI-2026-30517 django-s3file: Relative path traversal CVSS 4.0CRITICAL 9.9
  • TI-2025-30708 Django-Select2 Vulnerable to Widget Instance Secret Cache Key Leaking CVSS 3.1HIGH 8.2

Sources