CVE Explorer
CVE-2026-39246
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 i
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"description":"n/a","lang":"en","type":"text"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:546d49aced933ad828b8d936f1010f3fb61e6edfcad19037742cb4a6af19e4c0 · sha256:f2ab208903b05c52… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-59","description":"CWE-59 Improper Link Resolution Before File Access ('Link Following')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:546d49aced933ad828b8d936f1010f3fb61e6edfcad19037742cb4a6af19e4c0 · sha256:f2ab208903b05c52… · /containers/adp/0/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:546d49aced933ad828b8d936f1010f3fb61e6edfcad19037742cb4a6af19e4c0 · sha256:f2ab208903b05c52… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:546d49aced933ad828b8d936f1010f3fb61e6edfcad19037742cb4a6af19e4c0 · sha256:f2ab208903b05c52… · /containers/adp/0/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"description":"n/a","lang":"en","type":"text"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:546d49aced933ad828b8d936f1010f3fb61e6edfcad19037742cb4a6af19e4c0 · sha256:f2ab208903b05c52… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-59","description":"CWE-59 Improper Link Resolution Before File Access ('Link Following')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:546d49aced933ad828b8d936f1010f3fb61e6edfcad19037742cb4a6af19e4c0 · sha256:f2ab208903b05c52… · /containers/adp/0/problemTypes/0/descriptions/0
Source references
4 source assertions{"url":"https://github.com/kevva/decompress"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:546d49aced933ad828b8d936f1010f3fb61e6edfcad19037742cb4a6af19e4c0 · sha256:f2ab208903b05c52… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/kevva/decompress/issues/114"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:546d49aced933ad828b8d936f1010f3fb61e6edfcad19037742cb4a6af19e4c0 · sha256:f2ab208903b05c52… · /containers/adp/0/references/0
{"url":"https://github.com/kevva/decompress/issues/114"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:546d49aced933ad828b8d936f1010f3fb61e6edfcad19037742cb4a6af19e4c0 · sha256:f2ab208903b05c52… · /containers/cna/references/2
{"url":"https://www.npmjs.com/package/decompress"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:546d49aced933ad828b8d936f1010f3fb61e6edfcad19037742cb4a6af19e4c0 · sha256:f2ab208903b05c52… · /containers/cna/references/1
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.