Bug 2499745 - CVE-2026-39246 yarnpkg: decompress: arbitrary symlink creation during archive extraction leads to information disclosure [epel-all]
Summary: CVE-2026-39246 yarnpkg: decompress: arbitrary symlink creation during archive...
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: yarnpkg
Version: epel10
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Neal Gompa
QA Contact:
URL:
Whiteboard: {"flaws": ["9d8f807a-648d-4899-94c0-d...
Depends On:
Blocks: CVE-2026-39246
TreeView+ depends on / blocked
 
Reported: 2026-07-13 18:02 UTC by jkelly
Modified: 2026-07-13 18:02 UTC (History)
3 users (show)

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


Attachments (Terms of Use)

Description jkelly 2026-07-13 18:02:11 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 symlink creation during archive extraction. When processing symlink entries (type === 'symlink'), the x.linkname field from the archive is passed directly to fs.symlink() without validation (index.js line 121). The preventWritingThroughSymlink check on line 98 only applies to file entries, not symlink creation. An attacker can craft an archive with symlink entries pointing to sensitive files outside the extraction directory (e.g., /etc/passwd), enabling information disclosure when the application reads the extracted contents.


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