Skip to content

fix: upgrade seroval to 1.5.3 (CVE-2026-59940) - #985

Open
anupamme wants to merge 1 commit into
jamiepine:mainfrom
anupamme:fix-repo-voicebox-cve-2026-59940-seroval
Open

anupamme wants to merge 1 commit into
jamiepine:mainfrom
anupamme:fix-repo-voicebox-cve-2026-59940-seroval

Conversation

@anupamme

@anupamme anupamme commented Aug 4, 2026 •

Copy link
Copy Markdown

Summary

Upgrade seroval from 1.5.0 to 1.5.3 to fix CVE-2026-59940.

Vulnerability

Field Value
ID CVE-2026-59940
Severity CRITICAL
Scanner trivy
Rule CVE-2026-59940
File bun.lock (dependency: seroval)
Assessment Present in dependency tree, not confirmed reachable

Description: seroval: seroval.fromJSON() Promise resolver type confusion invokes attacker-controlled methods during deserialization

Evidence

Scanner confirmation: trivy rule CVE-2026-59940 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.lock
  • package.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

Summary by CodeRabbit

  • Chores
    • Added the Seroval runtime dependency to support application functionality.

Automated dependency upgrade by OrbisAI Security
@coderabbitai

coderabbitai Bot commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 5e00fe76-fc31-49e4-a377-04de5c336cbb

📥 Commits

Reviewing files that changed from the base of the PR and between 51f49de and 388c2e0.

⛔ Files ignored due to path filters (1)
  • bun.lock is excluded by !**/*.lock
📒 Files selected for processing (1)
  • package.json

📝 Walkthrough

Walkthrough

The root package manifest adds the pinned seroval runtime dependency at version 1.5.3.

Changes

Runtime dependency update

Layer / File(s) Summary
Register seroval dependency
package.json
Adds seroval version 1.5.3 to the root dependencies.

Estimated code review effort: 1 (Trivial) | ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the seroval upgrade and the security vulnerability it addresses.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Warning

⚠️ This pull request has been flagged as potential spam (promotional) by CodeRabbit slop detection and should be reviewed carefully.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant