pypi package report

Is blacksheep safe?

1 known vulnerability, worst severity MODERATE.

// reach

15 direct dependencies

7 carry known advisories, worst CRITICAL

0 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
    6.3
    medium

    CVSS v4.0 base score out of 10

    epss
    0.37%
    low

    chance of exploitation in 30 days, 31st percentile of all CVEs

    xyz score
    not scored

    CyberXYZ composite out of 10

    fig. 01 — GHSA-6pw3-h7xf-x4gp, the advisory selected below

    // 1 advisories

    GHSA-6pw3-h7xf-x4gp

    MODERATEGitHub ratingCVE-2026-22779
    // impact

    The HTTP Client implementation in BlackSheep is vulnerable to CRLF injection. Missing headers validation makes it possible for an attacker to modify the HTTP requests (e.g. insert a new header) or even create a new HTTP request. Exploitation requires developers to pass unsanitized user input directly into headers. The server part is not affected because BlackSheep delegates to an underlying ASGI server handling of response headers.

    Attack vector: Applications using user input in HTTP client requests (method, URL, headers).

    // patches

    Users who use the HTTP Client in BlackSheep should upgrade to 2.4.6.

    // workarounds

    If users handle headers from untrusted parties, they might reject values for header names and values that contain carriage returns.

    // references

    https://owasp.org/www-community/vulnerabilities/CRLF_Injection

    // cvss v4.0 vector

    CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

    Attack vector
    Network
    Attack complexity
    Low
    Attack requirements
    Present
    Privileges required
    None
    User interaction
    None
    Confidentiality (vulnerable system)
    None
    Integrity (vulnerable system)
    None
    Availability (vulnerable system)
    None
    Confidentiality (subsequent systems)
    Low
    Integrity (subsequent systems)
    Low
    Availability (subsequent systems)
    None

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

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