CVE-2026-22779

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:neoteroi:blacksheep:*:*:*:*:*:python:*:*

History

17 Jun 2026, 10:20

Type Values Removed Values Added
Summary
  • (es) BlackSheep es un framework web asíncrono para construir aplicaciones web basadas en eventos con Python. Antes de la versión 2.4.6, la implementación del Cliente HTTP en BlackSheep es vulnerable a la inyección CRLF. La falta de validación de encabezados hace posible que un atacante modifique las solicitudes HTTP (p. ej., insertar un nuevo encabezado) o incluso cree una nueva solicitud HTTP. La explotación requiere que los desarrolladores pasen la entrada de usuario no saneada directamente a los encabezados. La parte del servidor no se ve afectada porque BlackSheep delega a un servidor ASGI subyacente el manejo de los encabezados de respuesta. Esta vulnerabilidad se corrige en la versión 2.4.6.

22 Jan 2026, 15:39

Type Values Removed Values Added
First Time Neoteroi blacksheep
Neoteroi
CPE cpe:2.3:a:neoteroi:blacksheep:*:*:*:*:*:python:*:*
CWE NVD-CWE-Other
References () https://github.com/Neoteroi/BlackSheep/commit/bd4ecb9542b5d52442276b5a6907931b90f38d12 - () https://github.com/Neoteroi/BlackSheep/commit/bd4ecb9542b5d52442276b5a6907931b90f38d12 - Patch
References () https://github.com/Neoteroi/BlackSheep/releases/tag/v2.4.6 - () https://github.com/Neoteroi/BlackSheep/releases/tag/v2.4.6 - Release Notes
References () https://github.com/Neoteroi/BlackSheep/security/advisories/GHSA-6pw3-h7xf-x4gp - () https://github.com/Neoteroi/BlackSheep/security/advisories/GHSA-6pw3-h7xf-x4gp - Third Party Advisory
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.3

14 Jan 2026, 17:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-01-14 17:16

Updated : 2026-06-17 10:20


NVD link : CVE-2026-22779

Mitre link : CVE-2026-22779

CVE.ORG link : CVE-2026-22779


JSON object : View

Products Affected

neoteroi

  • blacksheep
CWE
CWE-113

Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting')

NVD-CWE-Other