Read the docs
TI-2020-19410 Aliases GHSA-6r3c-8xf3-ggrr

Directory traversal outside of SENDFILE_ROOT in django-sendfile2

Priority LOW 38CWE-22Published · 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

django-sendfile2 currently relies on the backend to correctly limit file paths to `SENDFILE_ROOT`. This is not the case for the `simple` and `development` backends, it is also not necessarily the case for any of the other backends either (it's just an assumption that was made by the original author). This will be fixed in 0.6.0 which is to be released the same day as this advisory is made public. When upgrading, you will need to make sure `SENDFILE_ROOT` is set in your settings module if it wasn't already.

Why it matters now

Fix Fixed django-sendfile2 (PyPI): 0.6.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.6.00.6.0Patch availableGHSA-6r3c-8xf3-ggrr
  • django-sendfile2 (PyPI) Vendor— Affected before 0.6.0 Fixed in 0.6.0 Patch available GHSA-6r3c-8xf3-ggrr

Remediation

  • Fix · GHSA-6r3c-8xf3-ggrr django-sendfile2 (PyPI) Fixed in 0.6.0 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-6r3c-8xf3-ggrr

References

Sources

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