CVE-2026-22779
Neoteroi Blacksheep vulnerability
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.
Affected products
Blacksheep. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Neoteroi Blacksheep runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/Neoteroi/BlackSheep/commit/bd4ecb9542b5d52442276b5a6907931b90f38d12 · Patch
- github.com/Neoteroi/BlackSheep/security/advisories/GHSA-6pw3-h7xf-x4gp · Third Party Advisory
- github.com/Neoteroi/BlackSheep/releases/tag/v2.4.6
- nvd.nist.gov/vuln/detail/CVE-2026-22779
- github.com/advisories/GHSA-6pw3-h7xf-x4gp
- nvd.nist.gov/vuln/detail/CVE-2026-22779
- cve.org/CVERecord?id=CVE-2026-22779
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.