CVE-2026-13149

brace-expansion through 5.0.6 is vulnerable to denial of service. The expand() function exhibits exponential-time complexity in the number of consecutive non-expanding '{}' brace groups. An attacker who passes a crafted string to expand(), directly or transitively, can cause significant CPU consumption and event-loop blocking. The max option does not mitigate this, as it bounds the output size rather than the recursion work.
CVSS

No CVSS.

Configurations

No configuration.

History

25 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) brace-expansion hasta la 5.0.6 es vulnerable a denegación de servicio. La función expand() presenta una complejidad de tiempo exponencial en el número de grupos de llaves ’{}’ consecutivos no expansibles. Un atacante que pasa una cadena manipulada a expand(), directa o transitivamente, puede causar un consumo significativo de CPU y el bloqueo del bucle de eventos. La opción max no mitiga esto, ya que limita el tamaño de la salida en lugar del trabajo de recursión.

Information

Published : 2026-06-30 10:16

Updated : 2026-10-25 21:10


NVD link : CVE-2026-13149

Mitre link : CVE-2026-13149

CVE.ORG link : CVE-2026-13149


JSON object : View

Products Affected

No product.

CWE
CWE-400

Uncontrolled Resource Consumption

CWE-407

Inefficient Algorithmic Complexity