CVE-2026-57898 Path traversal in Eclipse BaSyx - Java Server SDK

Critical 9.0 Published Updated

Remote attackers can write arbitrary files via path traversal in the AAS thumbnail API when using the MongoDB backend, potentially leading to remote code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-57898?

CVE-2026-57898 is a critical path traversal vulnerability in Eclipse BaSyx - Java Server SDK, published on 14 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-73, CWE-22

Which versions are affected by CVE-2026-57898?

How do I fix CVE-2026-57898?

No fix has been published for CVE-2026-57898 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-57898 being exploited?

There is no known exploitation of CVE-2026-57898 in the wild and no public exploit code.

Sources

Also known as GHSA-4w7g-2ph6-pm6g.

Is CVE-2026-57898 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free