CVE-2018-9159: In Spark before 2.7.2, a remote attacker can read unintended static files via various representations of absol
CVE-2018-9159 is a medium-severity flaw (CVSS 5.3) affecting spark. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
In Spark before 2.7.2, a remote attacker can read unintended static files via various representations of absolute or relative pathnames, as demonstrated by file: URLs and directory traversal sequences. NOTE: this product is unrelated to Ignite Realtime Spark.
Why this priority
- EPSS top 9%: very likely to be exploited
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.3 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 4.4% (top 9%) |
| CISA exploited list | No |
| Weakness | CWE-22 |
| Published | 2018-03-31 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2018-9159?
spark: upgrade to 2.7.2. Exact commands for each OS are on this page.
Is CVE-2018-9159 being exploited?
CVE-2018-9159 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2018-9159 affect?
CVE-2018-9159 affects spark. Severity is medium (CVSS 5.3). In Spark before 2.7.2, a remote attacker can read unintended static files via various representations of absolute or relative pathnames, as demonstrated by file: URLs and directory traversal sequences. NOTE: this product is unrelated to Ign
How urgent is CVE-2018-9159?
Priority 46/100. EPSS top 9%: very likely to be exploited; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2025-55039 MEDIUM 6.5 UPGRADE This issue affects Apache Spark versions before 3.4.4, 3.5.2 and 4.0.0. Apache Spark versions before 4.0.0
- CVE-2026-32773 MEDIUM 6.1 UPGRADE There is a lack of XSS escaping in the Spark History Server prior to 3.5.8 which allows a malicious Spark job
- CVE-2025-54920 HIGH 8.8 UPGRADE This issue affects Apache Spark: before 3.5.7 and 4.0.1
- CVE-2025-3518 MEDIUM 4.3 UPGRADE It technically possible for a user to upload a file to a conversation despite the file upload functionality be
- CVE-2024-23945 MEDIUM 5.9 UPGRADE UPGRADE Signing cookies is an application security feature that adds a digital signature to cookie data to verify its