Security mailing lists by PureSourceCode

CVE-2022-24840

CRITICAL 9.8CVSS 3.1

Path Traversal in django-s3file

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.

Published
9 Jun 2022
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-22CWE-96
Also known as
GHSA-4w8f-hjm9-xwgfPYSEC-2022-208
Sources
NVDJSONOSV GHSA-4w8f-hjm9-xwgfJSONOSV PYSEC-2022-208JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
OSV GitHub CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD django-s3file_project django-s3file
cpe:2.3:a:django-s3file_project:django-s3file:*:*:*:*:*:*:*:*
< 5.5.1 5.5.1
OSV PyPI django-s3file < 5.5.1 5.5.1

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 9 Jun 2022)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Jun 2022)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 6 Jun 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.