Relative Path Traversal in django-s3file - CVE-2026-42196
Published: April 28, 2026
django-s3file
Detailed vulnerability description
The vulnerability allows a remote attacker to disclose sensitive information and modify data.
The vulnerability exists due to relative path traversal in S3FileMiddleware when handling a modified request for pre-signed upload locations. A remote attacker can send a specially crafted request to disclose sensitive information and modify data.
The issue can cause the Django application to load files from unintended locations into request.FILES.