CVE Catalog

CVE-2026-17459

MediumCVSS 4.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.47%

40th percentile - higher than 40% of all known CVEs

Summary

A vulnerability in SparkJava up to version 2.9.4 allows symlink following via manipulation of the staticFiles.externalLocation function in ExternalResourceHandler.java. The attack can be performed remotely and the exploit has been publicly disclosed.

Risk Assessment

An attacker can access files outside the intended directory, leading to sensitive data leakage or privilege escalation.

Recommendation

Update SparkJava to the latest version or apply temporary mitigations such as file path validation.

Related vulnerabilities

Original NVD description (English source)

A vulnerability was determined in perwendel spark up to 2.9.4. This vulnerability affects the function staticFiles.externalLocation of the file src/main/java/spark/resource/ExternalResourceHandler.jav of the component SparkJava. Executing a manipulation can lead to symlink following. It is possible to launch the attack remotely. The exploit has been publicly disclosed and may be utilized. The project was informed of the problem early through an issue report but has not responded yet.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS