CVE-2026-22779 PUBLISHED

BlackSheep ClientSession is vulnerable to CRLF injection

Assigner: GitHub_M
Reserved: 09.01.2026 Published: 14.01.2026 Updated: 14.01.2026

BlackSheep is an asynchronous web framework to build event based web applications with Python. Prior to 2.4.6, 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. This vulnerability is fixed in 2.4.6.

Metrics

CVSS 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
CVSS Score: 6.3

Product Status

Vendor Neoteroi
Product BlackSheep
Versions
  • Version < 2.4.6 is affected

References

Problem Types

  • CWE-113: Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting') CWE