CVE-2026-57898
Undergoing Analysis Undergoing Analysis - In Progress

Unauthenticated Arbitrary File Write in Eclipse BaSyx Java Server SDK

Vulnerability report for CVE-2026-57898, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-14

Last updated on: 2026-07-14

Assigner: Eclipse Foundation

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-14
Last Modified
2026-07-14
Generated
2026-08-03
AI Q&A
2026-07-14
EPSS Evaluated
2026-08-02
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
eclipse basyx_java_server_sdk From 2.0.0-milestone-05 (inc) to 2.0.0-milestone-12 (inc)
eclipse basyx_java_server_sdk 2.0.0-milestone-13

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-73 The product allows user input to control or influence paths or file names that are used in filesystem operations.
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-57898 is a vulnerability in the Eclipse BaSyx Java Server SDK versions 2.0.0-milestone-05 to 2.0.0-milestone-12 when using the MongoDB backend. It allows an unauthenticated attacker to write arbitrary files to the server's filesystem through the AAS thumbnail API.

The vulnerability occurs because the thumbnail upload functionality accepts a client-controlled 'fileName' parameter. This parameter is used as both a repository key and a filesystem path without proper normalization or restriction. An attacker can exploit this by uploading thumbnail content with absolute or traversal-style filenames (e.g., '../../malicious_file'). When the thumbnail is retrieved, the uploaded content is written to the attacker-chosen path on the server.

This could lead to writing files anywhere the Java process has write permissions, potentially resulting in remote code execution. The default InMemory backend is not affected because it restricts file paths to a temporary directory.

The issue is fixed in Eclipse BaSyx Java Server SDK version 2.0.0-milestone-13.

Detection Guidance

To detect this vulnerability on your network or system, you can follow these steps:

  • Check if your deployment uses the Eclipse BaSyx Java Server SDK with the MongoDB backend. The vulnerability affects versions 2.0.0-milestone-05 to 2.0.0-milestone-12.
  • Inspect the AAS thumbnail API endpoints for unusual file upload or retrieval activity. Look for requests containing absolute or traversal-style filenames (e.g., '../../malicious_file').
  • Review server logs for unexpected file writes outside the intended temporary directory. Commands like 'grep' or log analysis tools can help identify suspicious file paths.
  • Verify the installed version of the Eclipse BaSyx Java Server SDK. If it falls within the vulnerable range, assume the system is at risk. Example command to check version (if available in logs or package manager): 'grep -i "basyx.*version" /path/to/logs'.
  • Use network scanning tools to detect exposed AAS thumbnail API endpoints. For example, tools like 'nmap' can help identify open ports or services associated with BaSyx deployments.
Impact Analysis

If you are using an affected version of the Eclipse BaSyx Java Server SDK with the MongoDB backend, this vulnerability could have severe consequences for your system and organization.

  • Unauthorized file writes: An attacker can write arbitrary files to any location on the server where the Java process has write permissions. This could include sensitive system directories or application directories.
  • Remote code execution: By writing malicious files (e.g., web shells, scripts, or executables), an attacker could gain control over the server, execute arbitrary commands, or escalate privileges.
  • Data breaches: Attackers could overwrite or corrupt critical data files, leading to data loss or unauthorized access to sensitive information.
  • System compromise: The server could be used as a pivot point for further attacks within your network, compromising other systems or services.
  • Service disruption: Attackers could overwrite or delete critical system files, causing downtime or rendering the server inoperable.

The vulnerability is particularly dangerous because it does not require authentication, meaning any remote attacker with access to the API can exploit it.

Compliance Impact

This vulnerability can significantly impact compliance with various standards and regulations, depending on the nature of the data and systems involved.

  • GDPR (General Data Protection Regulation): If the affected system processes or stores personal data of EU citizens, this vulnerability could lead to a data breach. Unauthorized file writes could expose or alter personal data, violating GDPR's requirements for data protection and integrity. This could result in hefty fines (up to 4% of global revenue or €20 million, whichever is higher) and reputational damage.
  • HIPAA (Health Insurance Portability and Accountability Act): For organizations handling protected health information (PHI), this vulnerability could lead to unauthorized access or modification of PHI. This violates HIPAA's Security Rule, which requires safeguards to ensure the confidentiality, integrity, and availability of PHI. Non-compliance can result in fines ranging from $100 to $50,000 per violation, with a maximum of $1.5 million per year.
  • PCI DSS (Payment Card Industry Data Security Standard): If the affected system processes, stores, or transmits payment card data, this vulnerability could lead to unauthorized access or modification of cardholder data. This violates multiple PCI DSS requirements, including those related to secure systems and data protection. Non-compliance can result in fines, increased transaction fees, or loss of the ability to process payment cards.
  • ISO 27001: This standard requires organizations to implement controls to manage information security risks. The vulnerability represents a failure to adequately protect against unauthorized access or modification of information, which could lead to non-compliance with ISO 27001 requirements. This could affect certification status and business relationships that require ISO 27001 compliance.
  • SOC 2: For service organizations, this vulnerability could impact compliance with SOC 2's Trust Services Criteria, particularly the Security, Availability, and Confidentiality principles. A successful exploit could lead to unauthorized access, data breaches, or service disruptions, potentially resulting in a failed SOC 2 audit.

In all cases, the vulnerability could lead to a loss of trust from customers, partners, and regulators, as well as potential legal liabilities if sensitive data is compromised.

Mitigation Strategies

To mitigate this vulnerability, take the following immediate steps:

  • Upgrade the Eclipse BaSyx Java Server SDK to version 2.0.0-milestone-13 or later, as the issue is fixed in this release.
  • If upgrading is not immediately possible, disable the AAS thumbnail API or restrict access to it using network-level controls (e.g., firewalls, access control lists).
  • Switch from the MongoDB backend to the default InMemory backend, which is not affected by this vulnerability due to its path normalization and restriction mechanisms.
  • Monitor the server filesystem for unauthorized file writes, especially in sensitive directories. Use tools like 'auditd' or file integrity monitoring (FIM) solutions to detect suspicious activity.
  • Review and restrict the permissions of the Java process to minimize the impact of any potential file writes. Ensure the process does not have unnecessary write access to critical directories.
  • Implement input validation and sanitization for the 'fileName' parameter in the AAS thumbnail API to prevent path traversal or absolute path attacks.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-57898. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart