{
  "id": "CVE-2026-102278",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-102278",
  "published_at": "2026-09-28T20:57:09.85Z",
  "title": "brace-expansion: DoS via uncontrolled recursion on nested brace groups causing stack exhaustion",
  "vendor": "juliangruber",
  "product": "brace-expansion",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "The brace-expansion library generates arbitrary strings containing a common prefix and suffix. Prior to 1.1.20, 2.1.6, 3.0.8, and 5.0.11, deeply nested brace groups cause expand_() to recurse once per nesting level at comma-member and single-set expansion sites, exhausting the native stack before output limits can apply and potentially terminating the Node.js process. expand_ performs uncontrolled recursion for nested brace alternatives and single-part sets. deeply nested brace groups supplied as an untrusted pattern. expand_ is affected. expand is affected. Comma members is affected. Single set is affected. native stack exhaustion during nested sub-expansion. process-terminating denial of service. This issue is fixed in versions 1.1.20, 2.1.6, 3.0.8, and 5.0.11.",
  "cwe": "CWE-400",
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "juliangruber",
        "product": "brace-expansion",
        "ranges": [
          "\u003e= 4.0.0, \u003c 5.0.11",
          "\u003e= 3.0.0, \u003c 3.0.8",
          "\u003e= 2.0.0, \u003c 2.1.6",
          "\u003c 1.1.20"
        ],
        "fixed_in": [
          "5.0.11",
          "3.0.8",
          "2.1.6",
          "1.1.20"
        ]
      }
    ],
    "upgrade": [
      "Upgrade brace-expansion to 5.0.11 or 3.0.8 or 2.1.6 or 1.1.20 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/juliangruber/brace-expansion/security/advisories/GHSA-qhr7-859c-m2p7"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/juliangruber/brace-expansion/commit/1efee7c397c191da6287a78ec19512476a966a7b"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/juliangruber/brace-expansion/commit/935d78f32f335b2ff76578e5c5e877d31ae9888c"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/juliangruber/brace-expansion/commit/de84f144e9816f30e25fc8179e2e1249ab6df0db"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
