fix: upgrade adm-zip to 0.6.0 (CVE-2026-39244)
Summary
Upgrade adm-zip from 0.5.17 to 0.6.0 to fix CVE-2026-39244.
Vulnerability
| Field | Value |
|---|---|
| ID | CVE-2026-39244 |
| Severity | HIGH |
| Scanner | trivy |
| Rule | CVE-2026-39244 |
| File | bun.lock (dependency: adm-zip) |
| Assessment | Present in dependency tree, not confirmed reachable |
Description: adm-zip: adm-zip: Denial of Service via crafted ZIP file leading to excessive memory allocation
Evidence
Scanner confirmation: trivy rule CVE-2026-39244 flagged this pattern.
Threat Model Context
This is a private Node.js application (not published to npm). Vulnerabilities affect this application's own runtime only.
Changes
bun.lockpackage.json
Behavior Preservation
The change is scoped to 2 files on the vulnerable path; it only tightens handling of untrusted input and leaves valid inputs unaffected.
This change addresses a pattern flagged by static analysis. The code path handles user-influenced input and the fix reduces the attack surface against both manual and automated exploitation.
Automated security fix by OrbisAI Security
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.
Summary by cubic
Pins adm-zip to 0.6.0 via overrides to remediate CVE-2026-39244 (crafted ZIP DoS). Previously onnxruntime-node resolved adm-zip@0.5.17; now all paths resolve to 0.6.0, leaving valid archives unaffected.
- Changes are limited to
package.json(addsoverrides.adm-zip: 0.6.0) andbun.lock(regenerated; alladm-zipentries are 0.6.0). - After merge, run
bun installand re-run the security scan.
Greptile Summary
The PR globally overrides adm-zip to 0.6.0 and updates the lockfile resolution to remediate CVE-2026-39244.
- Adds a matching
adm-zipoverride topackage.jsonandbun.lock. - Replaces the resolved
adm-zip@0.5.17package withadm-zip@0.6.0. - Regenerates related workspace lockfile metadata.
Confidence Score: 5/5
The PR appears safe to merge.
No blocking failure remains.
Important Files Changed
| Filename | Overview |
|---|---|
| package.json | Adds a global adm-zip@0.6.0 override consistent with the generated lockfile. |
| bun.lock | Resolves the previous nested-vulnerability concern by retaining only adm-zip@0.6.0; no vulnerable 0.5.17 resolution remains. |
Reviews (2): Last reviewed commit: "fix: use overrides instead of a root dep..." | Re-trigger Greptile