Skip to content
Heist/ feed
Back to feed
High

node-brace-expansion — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-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.

Products
node-brace-expansion
Affected versions
2.0.1+~1.1.0-1, 2.0.1+~1.1.0-2, 2.0.1-2, 2.0.3+~1.1.2-1, 2.0.3+~1.1.2-2, 2.0.3+~1.1.2-3, 2.1.4+~1.1.2-1, 2.1.7+~1.1.2-1
Fixed versions
Not specified
CVEs
CVE-2026-13149
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 12:57 UTC · Revision 2

Source evidence

DEBIAN-CVE-2026-13149

core-osv · Original source

Published 30 Jun 2026, 10:16 UTC

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.

osv:DEBIAN-CVE-2026-13149

node-brace-expansion

Fixed versions: Not specified

node-brace-expansion

Fixed versions: Not specified

node-brace-expansion

Fixed versions: Not specified

Complete source record
{
  "id": "0c0b73a8a59ab0f56fdced87c2955d152f9f6a3754640e6529d2e372ab55049a",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-13149",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2026-13149",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2026-13149",
    "products": [
      {
        "name": {
          "value": "node-brace-expansion",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.0.1+~1.1.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.0.1+~1.1.0-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.0.1-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.0.3+~1.1.2-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.0.3+~1.1.2-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.0.3+~1.1.2-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.1.4+~1.1.2-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.1.7+~1.1.2-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-brace-expansion",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.0.1+~1.1.0-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.0.3+~1.1.2-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.0.3+~1.1.2-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.0.3+~1.1.2-3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.1.4+~1.1.2-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.1.7+~1.1.2-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-brace-expansion",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.0.1+~1.1.0-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.0.3+~1.1.2-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.0.3+~1.1.2-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.0.3+~1.1.2-3",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.1.4+~1.1.2-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.1.7+~1.1.2-1",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2026-13149",
      "aliases": [
        "DEBIAN-CVE-2026-13149"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P/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:N/AU:Y/R:U/V:D/RE:M/U:Amber"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-brace-expansion",
            "purl": "pkg:deb/debian/node-brace-expansion?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "2.0.1+~1.1.0-1",
            "2.0.1+~1.1.0-2",
            "2.0.1-2",
            "2.0.3+~1.1.2-1",
            "2.0.3+~1.1.2-2",
            "2.0.3+~1.1.2-3",
            "2.1.4+~1.1.2-1",
            "2.1.7+~1.1.2-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-13149.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-brace-expansion",
            "purl": "pkg:deb/debian/node-brace-expansion?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "2.0.1+~1.1.0-2",
            "2.0.3+~1.1.2-1",
            "2.0.3+~1.1.2-2",
            "2.0.3+~1.1.2-3",
            "2.1.4+~1.1.2-1",
            "2.1.7+~1.1.2-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-13149.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-brace-expansion",
            "purl": "pkg:deb/debian/node-brace-expansion?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "2.0.1+~1.1.0-2",
            "2.0.3+~1.1.2-1",
            "2.0.3+~1.1.2-2",
            "2.0.3+~1.1.2-3",
            "2.1.4+~1.1.2-1",
            "2.1.7+~1.1.2-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-13149.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-26T12:01:57.553924014Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-13149"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-13149"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-13149",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 451611,
  "published_at": "2026-06-30T10:16:34.56+00:00"
}