Cloudanix VulnDB

CVE-2026-22779

Medium · 6.5

BlackSheep's ClientSession is vulnerable to CRLF injection

CVSS

6.5

EPSS

0.4%

Published

Jan 14, 2026

CISA due date

—

The record

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).

Affected packages

Ecosystem Package Introduced Fixed
PyPI blacksheep 0 2.4.6

Related vulnerabilities