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.
Django-S3File urges all users to update to a patched version >=7.0.2.
{
"github_reviewed_at": "2026-05-05T20:05:49Z",
"github_reviewed": true,
"cwe_ids": [
"CWE-22",
"CWE-23",
"CWE-26"
],
"nvd_published_at": "2026-05-12T22:16:34Z",
"severity": "CRITICAL"
}