Red Hat VEX
RHVEX-CVE-2026-76845
adm-zip: adm-zip: Arbitrary File Overwrite via Symlink Following
Details
A flaw was found in adm-zip, a Node.js library used for handling zip archives. This vulnerability allows a local attacker to overwrite arbitrary files on the system. When extracting an archive, adm-zip follows symbolic links, which are special files that point to other files or directories. An attacker can exploit this by placing a symbolic link within a temporary extraction directory, redirecting the extraction process to write data outside the intended secure location. This could lead to unauthorized modification of system files.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:8 | mozjs60 | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:8 | mozjs60-devel | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:9 | gjs | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:9 | gjs-devel | All versions, no fix (fix deferred) |
References
- https://access.redhat.com/security/cve/CVE-2026-76845
- https://bugzilla.redhat.com/show_bug.cgi?id=2521870
- https://www.cve.org/CVERecord?id=CVE-2026-76845
- https://nvd.nist.gov/vuln/detail/CVE-2026-76845
- https://github.com/cthackers/adm-zip
- https://github.com/cthackers/adm-zip/blob/v0.6.0/util/utils.js
- https://www.vulncheck.com/advisories/adm-zip-through-arbitrary-file-overwrite-via-symlink-following-on-extraction