Skip to main content
← All vulnerabilities
CVE-2026-22779GHSA-6PW3-H7XF-X4GPPYSEC-2026-1222

BlackSheep ClientSession is vulnerable to CRLF injection

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.4.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • Neoteroi BlackSheep

    fixed in 2.4.6

  • blacksheepPyPI

    fixed in 2.4.6

References 3

GitHub · Neoteroi/BlackSheep