MODERATE 4.3

CVE-2026-17459

perwendel spark SparkJava ExternalResourceHandler.jav staticFiles.externalLocation symlink

Preliminary: affected artifacts were inferred from the fix commits of the source repository and have not been reviewed yet. They will be replaced by the reviewed advisory when it is published.

Description

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
com.sparkjava » spark-corepreliminary
>= 2.9.0, <= 2.9.0>= 2.9.1, <= 2.9.1>= 2.9.2, <= 2.9.2>= 2.9.3, <= 2.9.3>= 2.9.4, <= 2.9.4
-

Blast radius

1affected artifacts
5affected versions
253dependent artifacts (est.)
11,699dependent versions

52% of the dependent artifacts (134) still pull an affected version in their latest release.

DepthDependent versions
Direct
4,977
2 hops
5,905
3 hops
519
4 hops
294
5 hops
4

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.