cve.bz

CVE-2026-76845 cthackers adm-zip: Link Following

6.8 mediumEPSS 0.2%

Medium (6.8) in cthackers adm-zip. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
adm-zip 0.5.9 through 0.6.0 follows symbolic links at the extraction destination. Utils.sanitize in util/utils.js enforces containment by comparing only the string form of an archive entry name against the resolved extraction root, and Utils.writeFileTo opens the computed destination with fs.openSync(path, "w", 0o666), which resolves symbolic links and carries neither O_NOFOLLOW nor a pre-write fs.lstatSync check. When a path component at the destination already exists as a symbolic link pointing outside the extraction root, extractAllTo, extractAllToAsync and extractEntryTo write the entry contents through that link and then chmod its target, placing attacker-controlled content in a file outside the root without any traversal sequence appearing in the archive. Reaching the write requires overwrite to be enabled, because the preceding fs.existsSync check also resolves the link and otherwise declines. An attacker able to create a symbolic link inside a shared, reused or predictable extraction directory, such as a temporary directory or a continuous integration workspace, can overwrite any file the extracting process is permitted to write.

Severity

CVSS 4.0

6.8 medium
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

CVSS 3.1

6.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 7th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-08-24. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-59 Improper Link Resolution Before File Access (Link Following)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-76845 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-76845?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-76845?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-76845 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
cthackers adm-zipfrom 0.5.9 through 0.6.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-vwc7-r8mq-g2x9npmadm-zip>=0.5.9 <=0.6.0no fix published

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/volsync-operator-bundleOut of support scope
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/volsync-rhel9Out of support scope
Red Hat Build of Podman Desktoprh-podman-desktop.gitFix deferred
Red Hat Developer Hub 1rhdh/red-hat-developer-hub-backstage-plugin-lightspeedFix deferred
Red Hat Developer Hub 1rhdh/red-hat-developer-hub-backstage-plugin-lightspeed-backendFix deferred
Red Hat Developer Hub 1rhdh/red-hat-developer-hub-backstage-plugin-orchestratorFix deferred
Red Hat Developer Hub 1rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backendFix deferred
Red Hat Developer Hub 1rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backend-module-lokiFix deferred
Red Hat Developer Hub 1rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-form-widgetsFix deferred
Red Hat Developer Hub 1rhdh/red-hat-developer-hub-backstage-plugin-scaffolder-backend-module-orchestratorFix deferred
Red Hat Developer Hub 1rhdh/rhdh-hub-rhel9Fix deferred
Red Hat Enterprise Linux 8mozjs60Fix deferred
Red Hat Enterprise Linux 9gjsFix deferred
Red Hat Fuse 7adm-zipOut of support scope
Red Hat OpenShift AI (RHOAI)rhoai/odh-core-bff-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-dashboard-operator-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-dashboard-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-mlflow-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-mod-arch-agent-ops-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-mod-arch-automl-rhel9Fix deferred
10 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-76845.

Attack patterns (CAPEC)

  • CAPEC-17 Using Malicious Files Likelihood: High · Severity: Very High
  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-132 Symlink Attack Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON