fix(security): bump form-data to >=4.0.6 in n8n (GHSA-hmw2-7cc7-3qxx)#21
Merged
Conversation
- form-data 4.0.4 → 4.0.6 (transitive via n8n-workflow) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
📝 WalkthroughWalkthroughThe 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@n8n/package.json`:
- Around line 52-53: The `form-data` pin in `package.json` is only applied via
root-level overrides, so consumers installing this package directly will not get
the fix. Move the resolution into a dependency that ships with the package, such
as bumping `n8n-workflow`, or add a package-level lock mechanism like
`npm-shrinkwrap.json` if you need to preserve the resolved tree. Use the
existing `n8n-nodes-tinyfish` package manifest and its dependency on
`n8n-workflow` to locate the right place to apply the change.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 5ac988a2-088d-4938-9fc5-afe1680fb1be
⛔ Files ignored due to path filters (1)
n8n/package-lock.jsonis excluded by!**/package-lock.json
📒 Files selected for processing (1)
n8n/package.json
Contributor
Author
|
@paveldudka — SPOC review request. All CI green, CodeRabbit complete (comment addressed). Please review, approve, and merge when ready. |
paveldudka
approved these changes
Jun 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Vulnerability Fix
Fix
form-datais a transitive dependency pulled in byn8n-workflow(which pins it at4.0.4). Added"form-data": "^4.0.6"tooverridesinn8n/package.jsonand regeneratedn8n/package-lock.json— form-data now resolves to 4.0.6.Changelog impact summary