Live threats

All CVEs / Django-s3file Project

CVE-2022-24840Django-s3file Project Django-s3file

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.8%
probability of exploitation in 30 days · percentile 79
Auth required
No
Published
Jun 9, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Django-s3file.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI django-s3file < 5.5.1 5.5.1 pip install "django-s3file>=5.5.1"
PyPI django-s3file < 5.5.1 5.5.1 pip install "django-s3file>=5.5.1"

Per OSV / GitHub Advisories (GHSA-4w8f-hjm9-xwgf, PYSEC-2022-208). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
django-s3file_projectdjango-s3file< 5.5.1

Official sources

References

Links published by the sources. Open them with care.