Vulnerabilities in pkg:maven/org.apache.linkis/linkis

PACKAGE
Advisory Identifier: GHSA-c399-q49h-qwc8
Advisory Summary

CVE-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.

10 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.apache.linkis/linkis

10 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.apache.linkis/linkis. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-c399-q49h-qwc8 CVE-2025-29847 HIGH Apache Linkis: Arbitrary File Read via Double URL Encoding Bypass
GHSA-v352-rg37-5q5m CVE-2024-27181 HIGH Apache Linkis vulnerable to privilege escalation
GHSA-j6vx-r77h-44wc CVE-2024-27182 HIGH Apache Linkis arbitrary file deletion vulnerability
GHSA-m757-p8rv-4q93 CVE-2023-50740 MODERATE Apache Linkis DataSource: DataSource module Oracle SQL Database Password Logged
GHSA-x84r-jrqm-3hj8 CVE-2023-27602 CRITICAL Apache Linkis Unrestricted File Upload vulnerability
GHSA-pj5j-w7mw-w797 CVE-2023-27603 CRITICAL Apache Linkis Zip Slip issue
GHSA-4x5h-xmv4-99wx CVE-2023-27987 CRITICAL Apache Linkis Authentication Bypass vulnerability
GHSA-rx76-xw35-6rh8 CVE-2022-44644 MODERATE Apache Linkis vulnerable to Exposure of Sensitive Information
GHSA-h6w8-52mq-4qxc CVE-2022-44645 HIGH Apache Linkis contains Deserialization of Untrusted Data
GHSA-3f3w-gmqf-4hj3 CVE-2022-39944 HIGH Apache Linkis subject to Remote Code Execution via deserialization

CVE-2025-29847 at a Glance

CVE Identifier CVE-2025-29847
GHSA Identifier GHSA-c399-q49h-qwc8
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-20: Improper Input Validation
Affected Product Apache Linkis
Package Ecosystem Maven
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (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.

org.apache.linkis:linkis fixed: 1.8.0
<dependency>
    <groupId>org.apache.linkis</groupId>
    <artifactId>linkis</artifactId>
    <version>1.8.0</version>
</dependency>
Verify Direct and Transitive Dependencies

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

A vulnerability in Apache Linkis. Problem Description When 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. Scope of Impact This issue affects Apache Linkis: from 1.3.0 through 1.7.0. Severity level moderate Solution Continuously check if the connection information contains the "%" character; if it does, perform URL decoding. Users are recommended to upgrade to version 1.8.0, which fixes the issue. More questions about this vulnerability can be discussed here:  https://lists.apache.org/list?dev@linkis.apache.org:2025-9:cve

CVE-2025-29847 Affected Apache Linkis Versions

1 component(s)
Fixed Versions:
1.8.0
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?
CVE-2025-29847 is a security vulnerability in Apache Linkis involving Arbitrary File Read via Double URL Encoding Bypass under CWE-20: Improper Input Validation.
Which Apache Linkis versions are affected?
Affected versions include releases prior to 1.8.0 across affected packages: org.apache.linkis:linkis.
What version fixes CVE-2025-29847?
Upgrading to 1.8.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is linkis affected?
Yes, org.apache.linkis:linkis is affected in releases prior to 1.8.0. Upgrade your dependency to 1.8.0 or later.
What is the CVSS score of CVE-2025-29847?
CVE-2025-29847 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2025-29847?
CVE-2025-29847 is classified under CWE-20: Improper Input Validation (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.).
How can I check Maven dependencies for CVE-2025-29847?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.linkis'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}