CVE-2026-45149: The brace-expansion library generates arbitrary strings containing a common prefix and suffix
CVE-2026-45149 is a medium-severity flaw (CVSS 6.5) affecting brace-expansion. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
The brace-expansion library generates arbitrary strings containing a common prefix and suffix. From 5.0.0 to before 5.0.6, the max option was being applied too late. When expanding a single large numeric range like {1..10000000}, the sequence generation loop generates all 10 million intermediate elements before the max limit is applied With max=10, the output is correctly limited to 10 items, but the process still allocates ~505 MB and spends ~80
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.5 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.3% (top 77%) |
| CISA exploited list | No |
| Weakness | CWE-400 |
| Published | 2026-05-29 |
| Last modified | 2026-07-22 |
Last updated 2026-07-22 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-45149?
brace-expansion: upgrade to 5.0.6. Exact commands for each OS are on this page.
Is CVE-2026-45149 being exploited?
CVE-2026-45149 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-45149 affect?
CVE-2026-45149 affects brace-expansion. Severity is medium (CVSS 6.5). The brace-expansion library generates arbitrary strings containing a common prefix and suffix. From 5.0.0 to before 5.0.6, the max option was being applied too late. When expanding a single large numeric range like {1..10000000}, the sequen
How urgent is CVE-2026-45149?
Priority 28/100. No elevated risk signals yet.
Related CVEs
- CVE-2026-33750 MEDIUM 6.5 UPGRADE The brace-expansion library generates arbitrary strings containing a common prefix and suffix
- CVE-2026-14257 HIGH 7.5 UPGRADE brace-expansion through 5.0.7 is vulnerable to denial of service via memory exhaustion
- CVE-2026-69152 HIGH 7.5 UPGRADE The brace-expansion library generates arbitrary strings containing a common prefix and suffix