CVE-2026-40931 | node-modules compressing up to 1.10.4/2.1.0 Symbolic Links link following (GHSA-4c3q-x735-j3r5)
VulDBArchived Apr 22, 2026✓ Full text saved
A vulnerability was found in node-modules compressing up to 1.10.4/2.1.0 . It has been classified as critical . Affected by this issue is some unknown functionality of the component Symbolic Links Handler . Performing a manipulation results in link following. This vulnerability is known as CVE-2026-40931 . Attacking locally is a requirement. No exploit is available. Upgrading the affected component is recommended.
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-358756 · CVE-2026-40931 · GHSA-4C3Q-X735-J3R5
NODE-MODULES COMPRESSING UP TO 1.10.4/2.1.0 SYMBOLIC LINKS LINK FOLLOWING
HISTORYDIFFRELATEJSONXMLCTI
CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score
6.7 $0-$5k 1.54+
Summaryinfo
A vulnerability was found in node-modules compressing up to 1.10.4/2.1.0. It has been declared as critical. This affects an unknown part of the component Symbolic Links Handler. Executing a manipulation can lead to link following. This vulnerability is handled as CVE-2026-40931. It is possible to launch the attack on the local host. There is not any exploit available. It is recommended to upgrade the affected component.
Detailsinfo
A vulnerability was found in node-modules compressing up to 1.10.4/2.1.0. It has been declared as critical. This vulnerability affects some unknown processing of the component Symbolic Links Handler. The manipulation with an unknown input leads to a link following vulnerability. The CWE definition for the vulnerability is CWE-59. The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:
Compressing is a compressing and uncompressing lib for node. Prior to 2.1.1 and 1.10.5, the patch for CVE-2026-24884 relies on a purely logical string validation within the isPathWithinParent utility. This check verifies if a resolved path string starts with the destination directory string but fails to account for the actual filesystem state. By exploiting this "Logical vs. Physical" divergence, an attacker can bypass the security check using a Directory Poisoning technique (pre-existing symbolic links). This vulnerability is fixed in 2.1.1 and 1.10.5.
The advisory is shared for download at github.com. This vulnerability was named CVE-2026-40931 since 04/15/2026. The exploitation appears to be easy. The attack needs to be approached locally. There are neither technical details nor an exploit publicly available.
Upgrading to version 1.10.5 or 2.1.1 eliminates this vulnerability.
Productinfo
Vendor
node-modules
Name
compressing
Version
1.10.0
1.10.1
1.10.2
1.10.3
1.10.4
2.0
2.1.0
Website
Product: https://github.com/node-modules/compressing/
CPE 2.3info
🔒
🔒
🔒
CPE 2.2info
🔒
🔒
🔒
CVSSv4info
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv3info
VulDB Meta Base Score: 6.8
VulDB Meta Temp Score: 6.7
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 8.4
CNA Vector (GitHub_M): 🔒
CVSSv2info
Vector Complexity Authentication Confidentiality Integrity Availability
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploitinginfo
Class: Link following
CWE: CWE-59
CAPEC: 🔒
ATT&CK: 🔒
Physical: Partially
Local: Yes
Remote: No
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day Unlock Unlock Unlock Unlock
Today Unlock Unlock Unlock Unlock
Threat Intelligenceinfo
Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍
Countermeasuresinfo
Recommended: Upgrade
Status: 🔍
0-Day Time: 🔒
Upgrade: compressing 1.10.5/2.1.1
Timelineinfo
04/15/2026 CVE reserved
04/22/2026 +7 days Advisory disclosed
04/22/2026 +0 days VulDB entry created
04/22/2026 +0 days VulDB entry last update
Sourcesinfo
Product: github.com
Advisory: GHSA-4c3q-x735-j3r5
Status: Confirmed
CVE: CVE-2026-40931 (🔒)
GCVE (CVE): GCVE-0-2026-40931
GCVE (VulDB): GCVE-100-358756
Entryinfo
Created: 04/22/2026 07:29
Changes: 04/22/2026 07:29 (65)
Complete: 🔍
Cache ID: 99:9B7:101
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸