En bref
- CVE-2026-42196 est une vulnérabilité CRITIQUE (CVSS 9.9) touchant django-s3file.
- Probabilité d'exploitation dans les 30 prochains jours (EPSS) : 0.56%, plus élevée que 46.9% des vulnérabilités.
- Correctif : mettre à jour vers 7.0.2 ou plus récent.
| Package | Affected versions | Patched versions |
|---|
| django-s3file PyPI | < 7.0.2
| 7.0.2
|
Description
Impact
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.
Patches
Django-S3File urges all users to update to a patched version >=7.0.2.
NVD description
django-s3file is a lightweight file upload input for Django and Amazon S3. Prior to 7.0.2, 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. This vulnerability is fixed in 7.0.2.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free