Skip to content

[agent] chore(deps): bump form-data to 4.0.6 via npm overrides#787

Draft
github-actions[bot] wants to merge 1 commit into
mainfrom
security/bump-form-data-4.0.6-f1f07c0dc2bcc498
Draft

[agent] chore(deps): bump form-data to 4.0.6 via npm overrides#787
github-actions[bot] wants to merge 1 commit into
mainfrom
security/bump-form-data-4.0.6-f1f07c0dc2bcc498

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Summary

Patches GHSA-hmw2-7cc7-3qxx / CVE-2026-12143 — CRLF injection in form-data via unescaped multipart field names and filenames (CWE-93, CVSS 7.5 / 8.7).

Change

Added an overrides entry in the root package.json to pin form-data to >=4.0.6, and ran npm install --package-lock-only to update package-lock.json accordingly.

"overrides": {
  "form-data": ">=4.0.6"
}

The lockfile now resolves form-data at 4.0.6 (was 4.0.5).

Why an override?

form-data is a transitive dependency; the direct dependents in this repo (axios, jsdom, superagent, @types/node-fetch) all declare ^4.0.x ranges but have not yet shipped a release that pulls in ≥4.0.6. An overrides entry is the correct npm mechanism to force the patched version until upstream releases catch up.

Dependabot alerts addressed

Generated by Dependabot remediation agent · ● 580.5K ·

Add npm overrides to pin form-data >= 4.0.6, patching CRLF injection
vulnerability (GHSA-hmw2-7cc7-3qxx / CVE-2026-12143).

form-data is a transitive dependency pulled in by axios, jsdom,
superagent, and @types/node-fetch. None of the direct dependencies
have yet shipped a release that resolves this transitively, so an
override is used as the immediate remediation.

Fixes Dependabot alert #280.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants