CVE-2018-12015 in Apple Mac Os X and 8 more products
In Perl through 5.26.2, the Archive::Tar module allows remote attackers to bypass a directory-traversal protection mechanism, and overwrite arbitrary files, via an archive file containing a symlink and a regular file with the same name.
Affects 9 products from 6 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Apple | Mac Os X | < 10.14.4 |
| Canonical | Ubuntu Linux | 12.04 14.04 16.04 17.10 18.04 |
| Debian | Debian Linux | 8.0 9.0 |
| Netapp | Oncommand Workflow Automation | No version listed by the source |
| Netapp | Snap Creator Framework | No version listed by the source |
| Netapp | Snapdrive | No version listed by the source |
| Netapp | Data Ontap Edge | No version listed by the source |
| Perl | Perl | ≤ 5.26.2 |
| archive\ | \ | ≤ 2.28 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
In Perl through 5.26.2, the Archive::Tar module allows remote attackers to bypass a directory-traversal protection mechanism, and overwrite arbitrary files, via an archive file containing a symlink and a regular file with the same name.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2018-12015 |
|---|---|
| BreachSpider ID | BS-2018-GLOBAL-124223-H |
| CVSS vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| Published | 2018-06-07 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-59: Improper Link Resolution Before File Access
Software follows symbolic links without verifying the target, allowing read, write, or delete of unintended files.
Related attack patterns (CAPEC)
CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-59
CAPEC-76 Manipulating Web Input to File System Calls via CWE-59
CAPEC-132 Symlink Attack via CWE-59
CAPEC-17 Using Malicious Files via CWE-59
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2018. A high severity vulnerability affects Apple systems (CVE-2018-12015). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: In Perl through 5.26.2, the Archive::Tar module allows remote attackers to bypass a directory-traversal protection mechanism, and overwrite arbitrary files, via an archive file containing a symlink and a regular file with the same name. CVSS vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
Questions
What is CVE-2018-12015?
This vulnerability was disclosed in 2018. A high severity vulnerability affects Apple systems (CVE-2018-12015). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2018-12015?
CVE-2018-12015 has CVSS 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N. EPSS: 7.3%.
Is CVE-2018-12015 actively exploited?
No confirmed active exploitation of CVE-2018-12015 as of 2026-09-25.
How do I remediate CVE-2018-12015?
Priority: MEDIUM.
What systems are affected by CVE-2018-12015?
CVE-2018-12015 affects Apple Mac Os X; Canonical Ubuntu Linux; Debian Debian Linux; Netapp Oncommand Workflow Automation, Snap Creator Framework, Snapdrive, Data Ontap Edge; Perl Perl; archive\ \.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Apple","product":"Mac Os X","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.