CVE-2026-40899: DataEase has an Arbitrary File Read Vulnerability
DataEase is an open-source data visualization and analytics platform. Versions 2.10.20 and below contain a JDBC parameter blocklist bypass vulnerability in the MySQL datasource configuration. The Mysql class uses Lombok's @Data annotation, which auto-generates a public setter for the illegalParameters field that contains the JDBC security blocklist. When a datasource configuration is submitted as JSON, Jackson deserialization calls setIllegalParameters with an attacker-supplied empty list, replacing the blocklist before getJdbc() validation runs. This allows an authenticated attacker to include dangerous JDBC parameters such as allowLoadLocalInfile=true, and by pointing the datasource at a rogue MySQL server, exploit the LOAD DATA LOCAL INFILE protocol feature to read arbitrary files from the DataEase server filesystem, including sensitive environment variables and database credentials. This issue has been fixed in version 2.10.21.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-40899?
CVE-2026-40899 is considered a medium severity vulnerability due to its potential for arbitrary file read attacks.
How do I fix CVE-2026-40899?
To fix CVE-2026-40899, upgrade DataEase to version 2.10.21 or later.
What versions of DataEase are affected by CVE-2026-40899?
DataEase versions 2.10.20 and below are affected by CVE-2026-40899.
What does CVE-2026-40899 exploit?
CVE-2026-40899 exploits a JDBC parameter blocklist bypass vulnerability in the MySQL datasource configuration.
What can an attacker achieve with CVE-2026-40899?
An attacker can exploit CVE-2026-40899 to read arbitrary files on the server.