CVE-2025-59355: Apache Linkis Password Exposure Vulnerability
MODERATECVE-2025-59355 is a MODERATE (CVSS 6.5) password exposure vulnerability (CWE-532: Insertion of Sensitive Information into Log File) affecting Apache Linkis libraries in the Maven ecosystem. The issue involves password exposure. Remediation is available by upgrading affected packages to version 1.8.0.
CVE-2025-59355 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2025-59355
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-metadata</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-59355, 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-532: Insertion of Sensitive Information into Log File, where the product writes sensitive information to a log file. 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-59355 Affected Apache Linkis Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.linkis:linkis-metadata
|
Maven |
≥ 1.0.0
< 1.8.0
|
1.8.0
|
References
Frequently Asked Questions
What is CVE-2025-59355?
Which Apache Linkis versions are affected?
What version fixes CVE-2025-59355?
Is linkis-metadata affected?
What is the CVSS score of CVE-2025-59355?
What CWE is associated with CVE-2025-59355?
How can I check Maven dependencies for CVE-2025-59355?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6vfr-p2hx-6v32",
"modified" : "2026-01-21T01:03:28Z",
"published" : "2026-01-19T09:30:28Z",
"aliases" : [ "CVE-2025-59355" ],
"summary" : "Apache Linkis: Password Exposure",
"details" : "When org.apache.linkis.metadata.util.HiveUtils.decode() fails to perform Base64 decoding, it records the complete input parameter string in the log via logger.error(str + \"decode failed\", e). If the input parameter contains sensitive information such as Hive Metastore keys, plaintext passwords will be left in the log files when decoding fails, resulting in information leakage.\n\n\nAffected Scope\nComponent: Sensitive fields in hive-site.xml (e.g., javax.jdo.option.ConnectionPassword) or other fields encoded in Base64.\nVersion: Apache Linkis 1.0.0 – 1.7.0\n\n\nTrigger Conditions\nThe value of the configuration item is an invalid Base64 string.\nLog files are readable by users other than hive-site.xml administrators.\n\n\nSeverity: Low\nThe probability of Base64 decoding failure is low.\nThe leakage is only triggered when logs at the Error level are exposed.\n\nRemediation\nApache Linkis 1.8.0 and later versions have replaced the log with desensitized content.\nlogger.error(\"URL decode failed: {}\", e.getMessage()); // 不再输出 str\n\n\nUsers are recommended to upgrade to version 1.8.0, which fixes the issue.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.linkis:linkis-metadata"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0.0"
}, {
"fixed" : "1.8.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-59355"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/linkis"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/4dcgmqdkk2p5y4k43ok5rgd4ylx8698h"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/75z7vhftw6w1mllndgpkfmcj0fzo4lbj"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2025/09/19/1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-532" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-01-21T01:03:28Z",
"nvd_published_at" : "2026-01-19T09:16:02Z"
}
}