Deserialization attack in Apache InLong prior to version 1.3.0 allows RCE via JDBC
Description
In versions of Apache InLong prior to 1.3.0, an attacker with sufficient privileges to specify MySQL JDBC connection URL parameters and to write arbitrary data to the MySQL database, could cause this data to be deserialized by Apache InLong, potentially leading to Remote Code Execution on the Apache InLong server. Users are advised to upgrade to Apache InLong 1.3.0 or newer.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Apache InLong before 1.3.0 allows RCE via deserialization of attacker-controlled MySQL JDBC data.
CVE-2022-40955 is a deserialization vulnerability in Apache InLong prior to version 1.3.0 [1][3]. The root cause lies in the insufficient validation of MySQL JDBC connection URL parameters. An attacker with privileges to specify these parameters and write arbitrary data to the MySQL database can cause InLong to deserialize that data, leading to remote code execution (RCE) on the InLong server. The issue was discovered by 4ra1n of Chaitin Tech [3].
Exploitation
To exploit this vulnerability, an attacker must have sufficient privileges to control the MySQL JDBC connection URL used by InLong and also be able to write crafted data to a MySQL database that InLong connects to [1][3]. The malicious data, when deserialized by InLong, triggers the execution of arbitrary code. This attack vector requires prior access or authorization to manipulate the database configuration, but does not require direct network access to the InLong server beyond normal administrative interfaces.
Impact
Successful exploitation allows an attacker to execute arbitrary code on the Apache InLong server with the privileges of the InLong process [1][3]. This can lead to full compromise of the server, enabling data exfiltration, lateral movement, or further attacks against connected systems. The vulnerability is rated as 'important' severity [3].
Mitigation
The vulnerability affects all Apache InLong versions before 1.3.0. Users are advised to upgrade to Apache InLong version 1.3.0 or newer, which contains the fix [1][3]. No workarounds are mentioned in the advisories. The CVE is disclosed and published, so immediate patching is recommended.
AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.apache.inlong:inlong-commonMaven | < 1.3.0 | 1.3.0 |
Affected products
3- Range: Apache InLong
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
4- github.com/advisories/GHSA-26m4-qjp9-xmc6ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-40955ghsaADVISORY
- www.openwall.com/lists/oss-security/2022/09/22/5ghsamailing-listx_refsource_MLISTWEB
- lists.apache.org/thread/r1r34y7bchrpmp9jhfdoohzdmk7pj1q1ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.