pypi package report

Is django-sendfile2 safe?

2 known vulnerabilities, worst severity HIGH.

// reach

2 direct dependencies

1 carry known advisories, worst CRITICAL

1 packages depend on it

an advisory here reaches each of them

Create a free accountfor every dependency path, dependent and what to upgrade
// ai model usage

No published models are known to use this package.


cvss
7.5
high

severity band, no base score published

epss
not scored

chance of exploitation in 30 days

xyz score
3.8
low

CyberXYZ composite out of 10

fig. 01 — GHSA-pcjh-6r5h-r92r, the advisory selected below

// 2 advisories

GHSA-pcjh-6r5h-r92r

HIGHGitHub rating

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


Checked 2026-11-07 at 23:17 UTC. The most recent advisory here was published 2022-08-11. Updated continuously from NVD, GHSA, OSV and CNA feeds.

Think a verdict here is wrong? Tell us — we respond within 2 business days.