CVE-2026-57898: Path Traversal
In Eclipse BaSyx Java Server SDK versions 2.0.0-milestone-05 to 2.0.0-milestone-12, deployments using the MongoDB backend are vulnerable to an unauthenticated arbitrary file write through the AAS thumbnail API.
The AAS thumbnail upload path accepted a client-controlled fileName request parameter and passed it through repository file handling as both a repository key and, during thumbnail retrieval, a local filesystem path. With the MongoDB file repository, the supplied filename was treated as an opaque GridFS key and was not normalized or restricted as a filesystem path. A remote attacker could upload thumbnail content using an absolute or traversal-style filename, then trigger thumbnail retrieval so that the uploaded bytes were written to the attacker-chosen path on the server filesystem.
This could allow writing files anywhere the Java process has permission to write and may lead to remote code execution. The default InMemory backend is not affected by this specific path because it normalizes and restricts file paths to its temporary directory.
The issue is fixed in Eclipse BaSyx Java Server SDK 2.0.0-milestone-13.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Eclipse BaSyx Java Server SDKto a version that resolves this vulnerability.Fixed in 2.0.0-milestone-13
Event History
Frequently Asked Questions
What is the severity of CVE-2026-57898?
CVE-2026-57898 has a critical severity rating of 9.
How do I fix CVE-2026-57898?
To fix CVE-2026-57898, upgrade the Eclipse BaSyx Java Server SDK to a version later than 2.0.0-milestone-12.
What systems are affected by CVE-2026-57898?
CVE-2026-57898 affects deployments of Eclipse BaSyx Java Server SDK versions 2.0.0-milestone-05 to 2.0.0-milestone-12 when using the MongoDB backend.
What type of vulnerability is CVE-2026-57898?
CVE-2026-57898 is a path traversal vulnerability that allows unauthenticated arbitrary file writes.
What can happen if CVE-2026-57898 is exploited?
If CVE-2026-57898 is exploited, an attacker could write arbitrary files to the server, potentially leading to further compromise.