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.
Published: 2026-07-26
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in SparkJava’s ExternalResourceHandler, where the staticFiles.externalLocation method processes user-supplied paths and can follow symbolic links. By crafting a request that points to a symlink, an attacker can cause the server to resolve and expose arbitrary files on the host, resulting in potential information disclosure.

Affected Systems

The issue affects the perwendel spark framework up to and including version 2.9.4. Any deployment using SparkJava’s static file serving feature with that function is susceptible; newer releases (beyond 2.9.4) may contain the fix.

Risk and Exploitability

The CVSS score of 5.3 indicates a moderate severity. The EPSS score is less than 1%, pointing to a very low likelihood of exploitation, and the vulnerability is not listed in CISA’s KEV catalog. The attack is remotely achievable via HTTP requests that manipulate the staticFiles.externalLocation parameter, and the exploit has been publicly disclosed, meaning attackers could try it if the target remains unpatched.

Generated by OpenCVE AI on August 3, 2026 at 18:14 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade SparkJava to a version where the fix has been applied (any release after 2.9.4).
  • If an immediate upgrade is not feasible, disable the staticFiles.externalLocation feature or remove it from your application so the server cannot resolve external paths.
  • Audit the directories exposed by staticFiles.externalLocation to ensure they contain no symbolic links pointing to sensitive files; relocate such files outside the directory or rename them.

Generated by OpenCVE AI on August 3, 2026 at 18:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 27 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sun, 26 Jul 2026 10:30:00 +0000

Type Values Removed Values Added
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.
Title perwendel spark SparkJava ExternalResourceHandler.jav staticFiles.externalLocation symlink
First Time appeared Perwendel
Perwendel spark
Weaknesses CWE-59
CWE-61
CPEs cpe:2.3:a:perwendel:spark:*:*:*:*:*:*:*:*
Vendors & Products Perwendel
Perwendel spark
References
Metrics cvssV2_0

{'score': 4, 'vector': 'AV:N/AC:L/Au:S/C:P/I:N/A:N/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 4.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-07-27T17:23:26.106Z

Reserved: 2026-07-25T19:07:45.086Z

Link: CVE-2026-17459

cve-icon Vulnrichment

Updated: 2026-07-27T17:23:22.542Z

cve-icon NVD

Status : Deferred

Published: 2026-07-26T11:16:58.643

Modified: 2026-07-27T20:25:13.817

Link: CVE-2026-17459

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T18:15:04Z

Weaknesses
  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')

  • CWE-61

    UNIX Symbolic Link (Symlink) Following