Bug 2507934 - CVE-2026-39243 yarnpkg: Decompress: File disclosure and corruption via arbitrary hardlink creation [epel-all]
Summary: CVE-2026-39243 yarnpkg: Decompress: File disclosure and corruption via arbitr...
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: yarnpkg
Version: epel10
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Neal Gompa
QA Contact:
URL:
Whiteboard: {"flaws": ["aaff1ce0-df80-457e-b241-8...
Depends On:
Blocks: CVE-2026-39243
TreeView+ depends on / blocked
 
Reported: 2026-07-28 09:02 UTC by Hardik Vyas
Modified: 2026-07-28 09:02 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Hardik Vyas 2026-07-28 09:02:15 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.

decompress before 4.2.2 allows arbitrary hardlink creation during archive extraction, enabling file read disclosure and file corruption. When processing hardlink entries (type === 'link'), the x.linkname field from the archive is passed directly to fs.link() without validation (index.js line 113). An attacker can craft an archive with a hardlink entry whose linkname is an absolute path to any file on the same filesystem. This creates a hardlink inside the extraction directory that shares the same inode as the target file, enabling both reading and overwriting the original file's content. Hardlinks are limited to files on the same filesystem and cannot target directories.


Note You need to log in before you can comment on or make changes to this bug.