CVE-2026-22779
MEDIUM 6.3CVSS 4.0BlackSheep's ClientSession is vulnerable to CRLF injection
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.
- Published
- 14 Jan 2026
- Last modified
- 7 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-113CWE-93
- Also known as
- GHSA-6pw3-h7xf-x4gpPYSEC-2026-1222
- Sources
- NVDJSONOSV GHSA-6pw3-h7xf-x4gpJSONOSV PYSEC-2026-1222JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 6.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| OSV | PyPA | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | neoteroi | blacksheepcpe:2.3:a:neoteroi:blacksheep:*:*:*:*:*:python:*:* |
< 2.4.6 | 2.4.6 |
| OSV | PyPI | blacksheep | < 2.4.6 | 2.4.6 |
References
- https://github.com/Neoteroi/BlackSheep/commit/bd4ecb9542b5d52442276b5a6907931b90f38d12 · Patch, WEB
- https://github.com/Neoteroi/BlackSheep/releases/tag/v2.4.6 · Release Notes, WEB
- https://github.com/Neoteroi/BlackSheep/security/advisories/GHSA-6pw3-h7xf-x4gp · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-22779 · ADVISORY
- https://github.com/Neoteroi/BlackSheep · PACKAGE
- https://pypi.org/project/blacksheep · PACKAGE
- https://github.com/advisories/GHSA-6pw3-h7xf-x4gp · ADVISORY
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 14 Jan 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 14 Jan 2026)