{"cve":"CVE-2022-24840","nvd":{"published":"2022-06-09T04:15:10.707","modified":"2026-06-17T04:32:38.133","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-22"],"references":["https://github.com/codingjoe/django-s3file/commit/68ccd2c621a40eb66fdd6af2be9d5fcc9c373318","https://github.com/codingjoe/django-s3file/security/advisories/GHSA-4w8f-hjm9-xwgf","https://github.com/codingjoe/django-s3file/commit/68ccd2c621a40eb66fdd6af2be9d5fcc9c373318","https://github.com/codingjoe/django-s3file/security/advisories/GHSA-4w8f-hjm9-xwgf"],"products":["django-s3file_project:django-s3file"],"source":"nvd","synced_at":"2026-10-19T21:32:39.174919249+00:00"},"epss":{"cve":"CVE-2022-24840","score":0.02067,"percentile":0.81396,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-4w8f-hjm9-xwgf","url":"https://osv.dev/vulnerability/GHSA-4w8f-hjm9-xwgf","summary":"Path Traversal in django-s3file","modified":"2025-02-17T05:51:34.327997Z","packages":[{"ecosystem":"PyPI","name":"django-s3file","purl":"pkg:pypi/django-s3file","ranges":["<5.5.1"],"fixed":["5.5.1"]}]},{"id":"PYSEC-2022-208","url":"https://osv.dev/vulnerability/PYSEC-2022-208","summary":"","modified":"2023-11-08T04:08:38.371661Z","packages":[{"ecosystem":"PyPI","name":"django-s3file","purl":"pkg:pypi/django-s3file","ranges":["<5.5.1"],"fixed":["5.5.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}