Advisories for Pypi/Django-S3file package

2026

django-s3file is vulnerable to relative path traversal

S3FileMiddleware is vulnerable to relative path traversal attacks, where an attacker can use a modified request to escape pre-signed upload locations and have the Django application load files from random locations into request.FILES Depending on how files are handled, this may lead to confidentiality and integrity issues.

2022

Path Traversal in django-s3file

It was possible to traverse the entire AWS S3 bucket and in most cases to access or delete files. The issue was discovered by the maintainer. There were no reports of the vulnerability being known to or exploited by a third party, before the release of the patch. If the AWS_LOCATION setting was set, traversal was limited to that location only. If all your files handling views (like form views) …