CVE-2025-56816
Datart Directory Traversal Deserialization Remote Code Execution
Description
Datart 1.0.0-rc.3 is vulnerable to Directory Traversal. The configuration file handling of the application allows attackers to upload arbitrary YAML files to the config/jdbc-driver-ext.yml path. The application parses this file using SnakeYAML's unsafe load() or loadAs() method without input sanitization. This allows deserialization of attacker-controlled YAML content, leading to arbitrary class instantiation. Under certain conditions, this can be exploited to achieve remote code execution (RCE).
INFO
Published Date :
Sept. 24, 2025, 5:15 p.m.
Last Modified :
Oct. 10, 2025, 9:06 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|---|
CVSS 3.1 | HIGH | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
Solution
- Update Datart to a version that addresses this vulnerability.
- Sanitize all YAML file uploads.
- Avoid using unsafe deserialization methods.
- Review and secure configuration file handling.
Public PoC/Exploit Available at Github
CVE-2025-56816 has a 1 public
PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-56816
.
URL | Resource |
---|---|
https://github.com/running-elephant/datart | Product |
https://github.com/xiaoxiaoranxxx/CVE-2025-56815 | Exploit Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-56816
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-56816
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Datart 1.0.0-rc.3 is vulnerable to Directory Traversal in the POST /viz/image interface, since the server directly uses MultipartFile.transferTo() to save the uploaded file to a path controllable by the user, and lacks strict verification of the filename.
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-56816
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-56816
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Oct. 10, 2025
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:running-elephant:datart:1.0.0:rc3:*:*:*:*:*:* Added Reference Type MITRE: https://github.com/running-elephant/datart Types: Product Added Reference Type MITRE: https://github.com/xiaoxiaoranxxx/CVE-2025-56815 Types: Exploit, Third Party Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Sep. 24, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Added CWE CWE-22 Added CWE CWE-502 -
New CVE Received by [email protected]
Sep. 24, 2025
Action Type Old Value New Value Added Description Datart 1.0.0-rc.3 is vulnerable to Directory Traversal. The configuration file handling of the application allows attackers to upload arbitrary YAML files to the config/jdbc-driver-ext.yml path. The application parses this file using SnakeYAML's unsafe load() or loadAs() method without input sanitization. This allows deserialization of attacker-controlled YAML content, leading to arbitrary class instantiation. Under certain conditions, this can be exploited to achieve remote code execution (RCE). Added Reference https://github.com/running-elephant/datart Added Reference https://github.com/xiaoxiaoranxxx/CVE-2025-56815