Skip to content
Heist/ feed
Back to feed
MediumFix available

node-brace-expansion — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2026-102277

The brace-expansion library generates arbitrary strings containing a common prefix and suffix. Prior to 1.1.21, 2.1.7, 3.0.9, and 5.0.12, the expand function handles untrusted {a},b}-shaped patterns with many trailing closing braces by restarting its scan once for each trailing closing brace. The successive full-input rescans with linear working-string growth cause quadratic CPU time and memory pressure that can block the Node.js event loop. The process eventually recovers, making the impact a recoverable CPU denial of service. This issue is fixed in versions 1.1.21, 2.1.7, 3.0.9, and 5.0.12.

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
2.1.7+~1.1.2-1
CVEs
CVE-2026-102277
Confirmed fixed CVEs
Not specified
Updated in this feed
28 Oct 2026, 12:47 UTC · Revision 1

Source evidence

DEBIAN-CVE-2026-102277

core-osv · Original source

Published 28 Sept 2026, 21:17 UTC

The brace-expansion library generates arbitrary strings containing a common prefix and suffix. Prior to 1.1.21, 2.1.7, 3.0.9, and 5.0.12, the expand function handles untrusted {a},b}-shaped patterns with many trailing closing braces by restarting its scan once for each trailing closing brace. The successive full-input rescans with linear working-string growth cause quadratic CPU time and memory pressure that can block the Node.js event loop. The process eventually recovers, making the impact a recoverable CPU denial of service. This issue is fixed in versions 1.1.21, 2.1.7, 3.0.9, and 5.0.12.

osv:DEBIAN-CVE-2026-102277

node-brace-expansion

Fixed versions: Not specified

node-brace-expansion

Fixed versions: Not specified

node-brace-expansion

Fixed versions: 2.1.7+~1.1.2-1

Complete source record
{
  "id": "b4806144d487d2e5d18c1400249650d22ec41bff96197dc2bafe7c4323204665",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-102277",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2026-102277",
    "summary": "The brace-expansion library generates arbitrary strings containing a common prefix and suffix. Prior to 1.1.21, 2.1.7, 3.0.9, and 5.0.12, the expand function handles untrusted {a},b}-shaped patterns with many trailing closing braces by restarting its scan once for each trailing closing brace. The successive full-input rescans with linear working-string growth cause quadratic CPU time and memory pressure that can block the Node.js event loop. The process eventually recovers, making the impact a recoverable CPU denial of service. This issue is fixed in versions 1.1.21, 2.1.7, 3.0.9, and 5.0.12.",
    "evidence": "osv:DEBIAN-CVE-2026-102277",
    "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": [
          {
            "value": "2.1.7+~1.1.2-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "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"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2026-102277",
      "aliases": [
        "DEBIAN-CVE-2026-102277"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
        }
      ],
      "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-102277.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-102277.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.1.7+~1.1.2-1"
                }
              ]
            }
          ],
          "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"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-102277.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-09T17:00:11.465201275Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-102277"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-102277"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-102277",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 122316,
  "published_at": "2026-09-28T21:17:16.3+00:00"
}