Read the docs
TI-2022-26620 Aliases GHSA-pcjh-6r5h-r92r

django-sendfile2 before 0.7.0 contains reflected file download vulnerability

Priority LOW 38CWE-20Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub.

Summary

Similar to CVE-2022-36359 for Django, django-sendfile2 did not protect against a reflected file download attack in version 0.6.1 and earlier. If the file name used by django-sendfile2 was derived from user input, then it would be possible to perform a such an attack. A new version of django-sendfile2 will be released. Either download django-sendfile2 0.7.0 as a workaround or sanitize user input yourself, using Django's patch as a template: https://github.com/django/django/commit/bd062445cffd3f6cc6dcd20d13e2abed818fa173

Why it matters now

Fix Fixed django-sendfile2 (PyPI): 0.7.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—django-sendfile2 (PyPI)before 0.7.00.7.0Patch availableGHSA-pcjh-6r5h-r92r
  • django-sendfile2 (PyPI) Vendor— Affected before 0.7.0 Fixed in 0.7.0 Patch available GHSA-pcjh-6r5h-r92r

Remediation

  • Fix · GHSA-pcjh-6r5h-r92r django-sendfile2 (PyPI) Fixed in 0.7.0 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-pcjh-6r5h-r92r

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences