Live threats

All CVEs / Sparkjava

CVE-2018-9159Sparkjava Spark

Medium 5.3 No auth needed

Priority
47
CVSS 3.0
5.3
EPSS
4.4%
probability of exploitation in 30 days · percentile 92
Auth required
No
Published
Mar 31, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Spark.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven com.sparkjava:spark-core < 2.7.2 2.7.2 —

Per OSV / GitHub Advisories (GHSA-76qr-mmh8-cp8f). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
sparkjavaspark< 2.7.2

Official sources

References

Links published by the sources. Open them with care.