Skip to content

Fix possible fix(deps): 9 vulnerable dependencies in pnpm-lock.yaml - #1136

Open
begininvoke wants to merge 1 commit into
railwayapp:masterfrom
begininvoke:redgem/security-fix-6561bf25
Open

Fix possible fix(deps): 9 vulnerable dependencies in pnpm-lock.yaml#1136
begininvoke wants to merge 1 commit into
railwayapp:masterfrom
begininvoke:redgem/security-fix-6561bf25

Conversation

@begininvoke

Copy link
Copy Markdown

Proposing a fix for something flagged in pnpm-lock.yaml. It is around line 1.

The node-tar library (<=7.5.2) fails to sanitize the linkpath of Hardlink and Symlink entries when preservePaths is false (default). This allows an attacker to craft a malicious archive that bypasses extraction root restrictions, leading to arbitrary file overwrite via hardlinks and symlink poisoning via absolute symlink targets. The vulnerability is HIGH severity, enabling potential remote code execution or system file corruption.

Updated tar version to 7.5.21 in specifiers and dependencies to resolve 9 CVEs.

For reference: rule CVE-2026-23745. Rated high.

I may well be missing context here — if the current code is deliberate, feel free to close this.


Found with automated scanning (RedGem) and reviewed before opening. If it is not useful, closing it is completely fine.

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