Vulnerability DatabaseGHSA-6r3c-8xf3-ggrr

GHSA-6r3c-8xf3-ggrr
Python vulnerability analysis and mitigation

Overview

The vulnerability (GHSA-6r3c-8xf3-ggrr) affects django-sendfile2 versions prior to 0.6.0, discovered and disclosed in June 2020. The issue involves a directory traversal vulnerability where the package relied on backends to correctly limit file paths to SENDFILE_ROOT, which was not properly implemented in the simple and development backends, potentially affecting other backends as well (GitHub Advisory).

Technical details

The vulnerability stems from insufficient path validation in django-sendfile2's file handling mechanism. The package failed to properly validate and sanitize file paths against the SENDFILE_ROOT directory, potentially allowing access to files outside the intended directory structure. The issue was assigned a Moderate severity rating and is categorized as CWE-22 (Path Traversal) (GitHub Advisory).

Impact

If exploited, this vulnerability could allow attackers to access files outside the intended SENDFILE_ROOT directory, potentially exposing sensitive system files or information that should not be accessible through the application (GitHub Advisory).

Exploitability

The vulnerability affects the simple and development backends primarily, but could potentially impact other backends as well. The issue can be triggered through path manipulation attempts to access files outside the SENDFILE_ROOT directory (GitHub Advisory).

Mitigation and workarounds

The vulnerability was patched in version 0.6.0 of django-sendfile2. Users should upgrade to this version or later and ensure that SENDFILE_ROOT is properly set in their settings module. The fix includes proper path validation and sanitization to prevent directory traversal attempts (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-48169HIGH8.8
  • Python logoPython
  • praisonai-platform
NoYesAug 07, 2026
CVE-2026-48813HIGH8.7
  • Python logoPython
  • flawfinder
NoYesAug 11, 2026
CVE-2026-48804HIGH7.5
  • Python logoPython
  • python311-python-socketio
NoYesAug 11, 2026
CVE-2026-48809HIGH7.5
  • Python logoPython
  • python313-python-engineio
NoYesAug 11, 2026
CVE-2026-48802HIGH7.5
  • Python logoPython
  • python311-python-engineio
NoYesAug 11, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management