Skip to content

chore: upgrade body-parser to ^2.3.0/^1.20.6 to address CVE-2026-12590#1480

Draft
linear-code[bot] wants to merge 2 commits into
mainfrom
linear/sou-1568-sourcebot-devsourcebot-cve-2026-12590-body-parser-c53b
Draft

chore: upgrade body-parser to ^2.3.0/^1.20.6 to address CVE-2026-12590#1480
linear-code[bot] wants to merge 2 commits into
mainfrom
linear/sou-1568-sourcebot-devsourcebot-cve-2026-12590-body-parser-c53b

Conversation

@linear-code

@linear-code linear-code Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Fixes SOU-1568

Resolves CVE-2026-12590, where an invalid limit value passed to body-parser silently disabled request body size enforcement (DoS risk).

The repo pulls in two body-parser instances:

  • 2.2.2 via express@5 (web, MCP SDK) — the ^2.2.1 range already admitted the patched 2.3.0, so a lockfile refresh (yarn up -R body-parser) was enough.
  • 1.20.3 pinned exactly by express@4.21.2 (backend) — the exact pin can't be refreshed, so a qualified resolutions override (body-parser@npm:1.20.3^1.20.6) bumps it to the patched 1.20.6.

yarn why body-parser confirms both instances now resolve to patched versions (1.20.6 and 2.3.0).

@github-actions

Copy link
Copy Markdown
Contributor

License Audit

❌ Audit failed to produce results. Check the workflow logs for details.

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.

0 participants