anomalyco / anomalyco/opencode
bug(opencode): brace-expansion version is affected by ReDoS advisories (CVE-2026-14257)
Open
@jlongster is already working on this.
Since Jul 27, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
The opencode-ai npm package distribution bundles brace-expansion@5.0.7 in its dependencies. brace-expansion <= 5.0.7 is affected by a HIGH severity ReDoS vulnerability (CVE-2026-14257).
Steps to Reproduce
- Install
opencode-ai@1.1.10vianpm install -g opencode-ai@1.1.10. - Run a container vulnerability scanner (e.g., Trivy) on
/usr/local/lib/node_modules/opencode-ai/. - Scanner flags HIGH vulnerability
CVE-2026-14257inbrace-expansion@5.0.7(fixed in>=5.0.8/>=2.0.1).
Expected Behavior
opencode-ai release builds should bundle brace-expansion version >=5.0.8 or >=2.0.1.
Environment
- OpenCode Version:
1.1.10 - OS: Linux (Debian bookworm)
- Terminal: bash
Additional Context
Related to dependency ReDoS advisories (similar to #34181). Bumping brace-expansion to >=5.0.8 in package release manifests closes this vulnerability for container builds.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.