CVE-2026-17459 perwendel spark SparkJava ExternalResourceHandler.jav staticFiles.externalLocation symlink
Attackers can read arbitrary files via symlink following in SparkJava's external static file handler, requiring specific configuration.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-17459?
CVE-2026-17459 is a medium-severity path traversal vulnerability in perwendel spark, published on 26 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2026-17459?
How do I fix CVE-2026-17459?
No fix has been published for CVE-2026-17459 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-17459 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-17459 exists.
Sources
Also known as GHSA-cjfh-hv3c-xcfg.