Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-76845: Improper Link Resolution Before File Access ('Link Following') in cthackers adm-zip

0
Medium
VulnerabilityCVE-2026-76845cvecve-2026-76845
Published: 08/24/2026 (08/24/2026, 13:12:01 UTC)
Source: CVE Database V5
Vendor/Project: cthackers
Product: adm-zip

Description

adm-zip versions 0.5.9 through 0.6.0 contain a vulnerability where symbolic links at the extraction destination are followed improperly. This allows an attacker who can place a symbolic link inside a shared or predictable extraction directory to cause files outside the extraction root to be overwritten during archive extraction if overwrite is enabled. The vulnerability arises because the sanitization only compares string paths and the file write operation resolves symbolic links without safeguards.

CVSS v4.0

Score 6.8medium

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Affected software

adm-zip
pkg:npm/adm-zip
Affected versions
>=0.5.9 <=0.6.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/24/2026, 13:38:26 UTC

Technical Analysis

The vulnerability in adm-zip 0.5.9 through 0.6.0 involves improper link resolution before file access during archive extraction. The utility function Utils.sanitize enforces containment by comparing only the string form of archive entry names against the extraction root path, which does not prevent symbolic links from pointing outside the root. The write operation uses fs.openSync without the O_NOFOLLOW flag and without a pre-write lstat check, allowing symbolic links to be followed. If a symbolic link exists at the destination path pointing outside the extraction root, extractAllTo and related functions will write attacker-controlled content to files outside the intended directory. This requires overwrite to be enabled, as the existence check also resolves the link and otherwise prevents writing. An attacker able to create symbolic links in shared or predictable extraction directories can exploit this to overwrite arbitrary files writable by the extracting process.

Potential Impact

An attacker with the ability to create symbolic links in a shared, reused, or predictable extraction directory can cause arbitrary files outside the extraction root to be overwritten during archive extraction. This can lead to unauthorized modification of files that the extracting process has write permissions for, potentially compromising system integrity or application behavior. The vulnerability requires local access to create symbolic links and overwrite enabled during extraction.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid extracting archives with overwrite enabled in shared or predictable directories where an attacker could place symbolic links. Restrict permissions to prevent unauthorized creation of symbolic links in extraction directories. Monitor vendor communications for official patches or updates addressing this issue.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-08-19T20:34:19.724Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a8c45b3acd9273b4994634b

Added to database: 08/24/2026, 13:22:59 UTC

Last enriched: 08/24/2026, 13:38:26 UTC

Last updated: 08/24/2026, 13:38:27 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses