CVE-2025-66518: Kyuubi server 2.12 Path Traversal Vulnerability

HIGH
Advisory Identifier: GHSA-f8r6-6222-9pvc
CWE-27 CWE-22
Published
Advisory Summary

CVE-2025-66518 is a HIGH path traversal vulnerability (CWE-27: Path Traversal: 'dir/../../filename') affecting Kyuubi server 2.12 libraries in the Maven ecosystem. The issue involves apache kyuubi server vulnerable to path traversal. Remediation is available by upgrading affected packages to version 1.10.3.

CVE-2025-66518 at a Glance

CVE Identifier CVE-2025-66518
GHSA Identifier GHSA-f8r6-6222-9pvc
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-27: Path Traversal: 'dir/../../filename'
Affected Product Kyuubi server 2.12
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2025-66518

To remediate this vulnerability, upgrade all affected Kyuubi server 2.12 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.kyuubi:kyuubi-server_2.12 fixed: 1.10.3
<dependency>
    <groupId>org.apache.kyuubi</groupId>
    <artifactId>kyuubi-server_2.12</artifactId>
    <version>1.10.3</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.kyuubi

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2025-66518, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.apache.kyuubi

Analyze the terminal output to locate any version of Kyuubi server 2.12 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.10.3), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.apache.kyuubi 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-27: Path Traversal: 'dir/../../filename', where the product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize multiple internal "../" sequences that can resolve to a location that is outside of that directory. In Kyuubi server 2.12, 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

Any client who can access to Apache Kyuubi Server via Kyuubi frontend protocols can bypass server-side config kyuubi.session.local.dir.allow.list and use local files which are not listed in the config. This issue affects Apache Kyuubi: from 1.6.0 through 1.10.2. Users are recommended to upgrade to version 1.10.3 or upper, which fixes the issue.

CVE-2025-66518 Affected Kyuubi server 2.12 Versions

1 component(s)
Fixed Versions:
1.10.3
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.kyuubi:kyuubi-server_2.12
Maven
≥ 1.6.0
< 1.10.3
1.10.3

References

Frequently Asked Questions

What is CVE-2025-66518?
CVE-2025-66518 is a security vulnerability in Kyuubi server 2.12 involving Apache Kyuubi Server vulnerable to Path Traversal under CWE-27: Path Traversal: 'dir/../../filename'.
Which Kyuubi server 2.12 versions are affected?
Affected versions include releases prior to 1.10.3 across affected packages: org.apache.kyuubi:kyuubi-server_2.12.
What version fixes CVE-2025-66518?
Upgrading to 1.10.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is kyuubi-server_2.12 affected?
Yes, org.apache.kyuubi:kyuubi-server_2.12 is affected in releases prior to 1.10.3. Upgrade your dependency to 1.10.3 or later.
What CWE is associated with CVE-2025-66518?
CVE-2025-66518 is classified under CWE-27: Path Traversal: 'dir/../../filename' (The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize multiple internal "../" sequences that can resolve to a location that is outside of that directory.).
How can I check Maven dependencies for CVE-2025-66518?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.kyuubi'. 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-f8r6-6222-9pvc",
  "modified" : "2026-01-05T19:57:06Z",
  "published" : "2026-01-05T09:30:19Z",
  "aliases" : [ "CVE-2025-66518" ],
  "summary" : "Apache Kyuubi Server vulnerable to Path Traversal",
  "details" : "Any client who can access to Apache Kyuubi Server via Kyuubi frontend protocols can bypass server-side config kyuubi.session.local.dir.allow.list and use local files which are not listed in the config.\n\nThis issue affects Apache Kyuubi: from 1.6.0 through 1.10.2.\n\nUsers are recommended to upgrade to version 1.10.3 or upper, which fixes the issue.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.kyuubi:kyuubi-server_2.12"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.6.0"
      }, {
        "fixed" : "1.10.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-66518"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/kyuubi"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread/xp460bwbyzdhho34ljd4nchyt2fmhodl"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2026/01/05/1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-22", "CWE-27" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-01-05T19:57:06Z",
    "nvd_published_at" : "2026-01-05T09:15:54Z"
  }
}