Bug 2562854

Summary: CVE-2026-115908 nodejs-pnpm12: zip: Arbitrary file overwrite via improper symbolic link validation during extraction [fedora-rawhide]
Product: [Fedora] Fedora Reporter: Ronit Dey <rdey>
Component: nodejs-pnpm12Assignee: Andreas Schneider <asn>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: asn
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["dcc42aaf-ae5a-40dc-9486-73a4285f40d1"]}
Fixed In Version: nodejs-pnpm12-12.17.0-1.fc46 nodejs-pnpm12-12.17.0-1.fc45 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-10-31 08:45:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2560950    

Description Ronit Dey 2026-10-28 13:00:38 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

zip is a zip library for Rust that supports reading and writing simple ZIP files. From 7.2.0 until 9.0.0, ZipArchive::extract and ZipArchive::extract_unwrapped_root_dir use safe_prepare_path in src/read/zipfile.rs and simplified_components in src/path.rs to validate symbolic link targets with a lexical prefix comparison rather than resolving each intermediate link. An attacker who knows or can guess the absolute extraction destination can create a chain whose apparent target remains under the destination while an intermediate symlink resolves outside it, allowing attacker-controlled files to be created or overwritten with the extracting process's privileges. On Windows, discarded drive and UNC prefixes can permit a single-link escape when the process has SeCreateSymbolicLinkPrivilege, such as through administrator rights or Developer Mode. This regression is distinct from CVE-2025-29787. This issue is fixed in version 9.0.0.

Comment 1 Fedora Update System 2026-10-31 08:41:16 UTC
FEDORA-2026-7adfb2bcdd (nodejs-pnpm12-12.17.0-1.fc46) has been submitted as an update to Fedora 46.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-7adfb2bcdd

Comment 2 Fedora Update System 2026-10-31 08:45:29 UTC
FEDORA-2026-7adfb2bcdd (nodejs-pnpm12-12.17.0-1.fc46) has been pushed to the Fedora 46 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 3 Fedora Update System 2026-10-31 12:21:09 UTC
FEDORA-2026-7d4fcfe6c8 (nodejs-pnpm12-12.17.0-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-7d4fcfe6c8

Comment 4 Fedora Update System 2026-11-01 17:44:55 UTC
FEDORA-2026-7d4fcfe6c8 has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-7d4fcfe6c8`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-7d4fcfe6c8

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2026-11-09 01:06:33 UTC
FEDORA-2026-7d4fcfe6c8 (nodejs-pnpm12-12.17.0-1.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.