CVE-2025-29847: Apache Linkis Arbitrary File Read Vulnerability
HIGHCVE-2025-29847 is a HIGH (CVSS 7.5) arbitrary file read vulnerability (CWE-20: Improper Input Validation) affecting Apache Linkis libraries in the Maven ecosystem. The issue involves arbitrary file read via double url encoding bypass. Remediation is available by upgrading affected packages to version 1.8.0.
CVE-2025-29847 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2025-29847
To remediate this vulnerability, upgrade all affected Apache Linkis dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.apache.linkis</groupId>
<artifactId>linkis</artifactId>
<version>1.8.0</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apache.linkis
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-29847, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.linkis
Analyze the terminal output to locate any version of Apache Linkis in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.8.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.linkis command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Apache Linkis, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-29847 Affected Apache Linkis Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.linkis:linkis
|
Maven |
≥ 1.3.0
< 1.8.0
|
1.8.0
|
References
Frequently Asked Questions
What is CVE-2025-29847?
Which Apache Linkis versions are affected?
What version fixes CVE-2025-29847?
Is linkis affected?
What is the CVSS score of CVE-2025-29847?
What CWE is associated with CVE-2025-29847?
How can I check Maven dependencies for CVE-2025-29847?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-c399-q49h-qwc8",
"modified" : "2026-01-21T01:03:19Z",
"published" : "2026-01-19T09:30:27Z",
"aliases" : [ "CVE-2025-29847" ],
"summary" : "Apache Linkis: Arbitrary File Read via Double URL Encoding Bypass",
"details" : "A vulnerability in Apache Linkis.\n\nProblem Description\n\nWhen using the JDBC engine and data source functionality, if the URL parameter configured on the frontend has undergone multiple rounds of URL encoding, it may bypass the system's checks. This bypass can trigger a vulnerability that allows unauthorized access to system files via JDBC parameters.\n\nScope of Impact\n\n\nThis issue affects Apache Linkis: from 1.3.0 through 1.7.0.\n\nSeverity level\n\n\nmoderate\nSolution\nContinuously check if the connection information contains the \"%\" character; if it does, perform URL decoding.\n\nUsers are recommended to upgrade to version 1.8.0, which fixes the issue.\n\n\n\n\nMore questions about this vulnerability can be discussed here: https://lists.apache.org/list?dev@linkis.apache.org:2025-9:cve",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.linkis:linkis"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.3.0"
}, {
"fixed" : "1.8.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-29847"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/linkis"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/list?dev@linkis.apache.org:2025-9:cve"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/03l5rfkgdt022o75jp8x4tzpqxz8g057"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2025/09/19/2"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-177", "CWE-20" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-01-21T01:03:19Z",
"nvd_published_at" : "2026-01-19T09:16:01Z"
}
}