{"id":"CVE-2026-22779","published":"2026-01-14T16:49:34Z","modified":"2026-01-14T21:01:52Z","title":"BlackSheep ClientSession is vulnerable to CRLF injection","vendor":"Neoteroi","product":"BlackSheep","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"4.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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00368,"percentile":0.31393,"provenance":"source"},"cwes":[{"id":"CWE-113","name":"Improper Neutralization of CRLF Sequences in HTTP Headers"}],"references":[{"url":"https://github.com/Neoteroi/BlackSheep/security/advisories/GHSA-6pw3-h7xf-x4gp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Neoteroi/BlackSheep/commit/bd4ecb9542b5d52442276b5a6907931b90f38d12","tags":["x_refsource_MISC"]},{"url":"https://github.com/Neoteroi/BlackSheep/releases/tag/v2.4.6","tags":["x_refsource_MISC"]}],"priority":{"score":10.7,"factors":[{"name":"EPSS percentile","points":6.28},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"neoteroi","affectedVersions":[{"vendor":"Neoteroi","product":"BlackSheep","versions":["< 2.4.6"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-01-14T21:01:45.365112Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"blacksheep","vulnerableRanges":["<2.4.6"],"patched":["2.4.6"],"from":["GHSA-6pw3-h7xf-x4gp","PYSEC-2026-1222"],"provenance":"source"}],"summary":{"text":"The BlackSheep Python web framework's HTTP client implementation, specifically its ClientSession component, fails to validate HTTP headers, allowing CRLF injection in outgoing client requests prior to version 2.4.6. An attacker who can supply input that developers pass unsanitized into request headers can insert new headers or craft an additional HTTP request, with no authentication required and no user interaction needed, while the server side of the framework is not affected.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:00:24Z"},"euvd":{"id":"EUVD-2026-2451","exploited":false,"provenance":"source"}}