CVE-2022-24840: django-s3file is a lightweight file upload input for Django and Amazon S3
CVE-2022-24840 is a critical-severity flaw (CVSS 9.1) affecting django-s3file. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 patc
Why this priority
- Critical severity
- Public exploit reference
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.1 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 2.1% (top 19%) |
| CISA exploited list | No |
| Weakness | CWE-22 |
| Published | 2022-06-09 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-24840?
django-s3file: upgrade to 5.5.1. Exact commands for each OS are on this page.
Is CVE-2022-24840 being exploited?
CVE-2022-24840 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-24840 affect?
CVE-2022-24840 affects django-s3file. Severity is critical (CVSS 9.1). 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,
How urgent is CVE-2022-24840?
Priority 67/100. Critical severity; Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist
Software pages
Django vulnerabilities · AWS vulnerabilities