CVE-2026-22779 json
BlackSheep ClientSession is vulnerable to CRLF injection
published 9mo ago modified 4mo ago also GHSA-6pw3-h7xf-x4gp , PYSEC-2026-1222 , EUVD-2026-2451
- cvss
- 5.3
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 30%
- public exploits
- 0
- none known
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.
Patch / fix
- pypi blacksheep 2.4.6
- neoteroi blacksheep 2.4.6
Is CVE-2026-22779 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 9mo ago
Exploit prediction
0.37% chance of exploitation in the next 30 days, higher than 30% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 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 |
| CNA | 4.0 | 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 |
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | blacksheep | <2.4.6 |
2.4.6 |
Affected products
- Neoteroi BlackSheep
Classification
References
-
github.com
/Neoteroi/BlackSheep/commit/bd4ecb9542b5d52442276b5a6907931b90f38d12
web, patch
-
github.com
/Neoteroi/BlackSheep/security/advisories/GHSA-6pw3-h7xf-x4gp
web, third-party-advisory
-
github.com
/Neoteroi/BlackSheep/releases/tag/v2.4.6
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-22779
advisory
-
github.com
/Neoteroi/BlackSheep
package
-
pypi.org
/project/blacksheep
package
-
github.com
/advisories/GHSA-6pw3-h7xf-x4gp
advisory
Sources
- CVE List CVE-2026-22779
- GitHub Advisory GHSA-6pw3-h7xf-x4gp
- NVD CVE-2026-22779
- OSV PYSEC-2026-1222
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.