Skip to content

← Public intelligence

PyPI package

blacksheep

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

1 actionable advisory, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Medium, CVSS 6.3PyPIAmendedPublished

    BlackSheep's ClientSession is vulnerable to CRLF injection

    CVE-2026-22779 · GHSA-6pw3-h7xf-x4gp

    Affected
    • PyPI blacksheep < 2.4.6
    Fixed in
    2.4.6· Vendor fix available
    Issue
    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/CRLFInjection

    Recommended action: Upgrade to 2.4.6 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →