← Vulnerability feed

Vulnerability record · CVE-2018-10860 · published 29 June 2018

CVE-2018-10860: Archive::Zip path traversal allows arbitrary file write on extraction

Canonical · Ubuntu Linux

The Perl Archive::Zip module fails to sanitize paths when extracting zip archives, allowing directory traversal entries to escape the intended extraction directory. Any application that extracts untrusted archives with this module can have files written or overwritten outside the target location.

7.5 CVSS 3.0 High EPSS 43% · top 1.3% CWE-22 · Path traversal
7.5CVSS 3.0 base score, v2 6.4
43%EPSS exploitation probability, 30 days
NoNot in CISA KEV
3Affected product versions listed by NVD
12References
17 Jun 2026Last modified by NVD

Description

perl-archive-zip is vulnerable to a directory traversal in Archive::Zip. It was found that the Archive::Zip module did not properly sanitize paths while extracting zip files. An attacker able to provide a specially crafted archive for processing could use this flaw to write or overwrite arbitrary files in the context of the perl interpreter.

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 20 September 2026. Confidence: medium.

high priorityHigh CVSS (7.5) integrity impact with no authentication or interaction required and very high EPSS, though no confirmed in-the-wild exploitation is recorded.

What it is

The Perl Archive::Zip module fails to sanitize paths when extracting zip archives, allowing directory traversal entries to escape the intended extraction directory. Any application that extracts untrusted archives with this module can have files written or overwritten outside the target location.

Impact

An attacker who supplies a crafted archive can write or overwrite arbitrary files with the privileges of the Perl interpreter, potentially leading to code execution or configuration tampering depending on what files are reachable.

Attack surface

Reached remotely by delivering a malicious zip archive to a service or script that extracts it with Archive::Zip; the CVSS vector shows no authentication and no user interaction required, though real exposure depends on whether the application accepts attacker-supplied archives.

Exploitation

Not listed in CISA KEV and no public exploit references are tagged in the record, but EPSS is high at roughly 0.49 (98.8th percentile), indicating elevated likelihood of exploitation activity.

What to do

  • Update perl-archive-zip to the fixed version from your distribution (Ubuntu USN-3703-1/3703-2, Debian DSA-4300) or upstream.
  • Where patching is delayed, validate and reject archive entries containing absolute paths or '..' segments before extraction.
  • Extract archives into a sandboxed directory with least-privilege service accounts and no write access to sensitive paths.
  • Avoid extracting untrusted archives in processes running as root or with broad filesystem permissions.

Detection

  • Monitor for file creation or modification outside expected extraction directories by processes using Perl Archive::Zip.
  • Alert on archive entries containing '../' or absolute paths in extraction logs or pre-processing checks.
  • Audit application code and dependencies for Archive::Zip extract calls handling user-supplied archives.
  • Watch for unexpected writes to startup, cron, or web-accessible paths by Perl processes.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

3 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2018-10860 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed9.8CVE-2023-46604Apache ActiveMQ OpenWire deserialization remote code executionThe Java OpenWire protocol marshaller in Apache ActiveMQ deserializes untrusted data, letting an attacker manipulate serialized class types so the br…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2018-10860), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.