CVE-2025-26467: Apache Cassandra User With MODIFY Permission On Vulnerability

HIGH
Advisory Identifier: GHSA-5c4f-pxmx-xcm4
CVSS 8.8
CWE-267
Published
Advisory Summary

CVE-2025-26467 is a HIGH (CVSS 8.8) user with modify permission on vulnerability (CWE-267: Privilege Defined With Unsafe Actions) affecting Apache Cassandra libraries in the Maven ecosystem. The issue involves user with modify permission on all keyspaces can escalate privileges to superuser via unsafe actions (4.0.16 only). Remediation is available by upgrading affected packages to version 4.0.17.

CVE-2025-26467 at a Glance

CVE Identifier CVE-2025-26467
GHSA Identifier GHSA-5c4f-pxmx-xcm4
Severity HIGH
CVSS v3.1 Base Score 8.8
CWE Classification CWE-267: Privilege Defined With Unsafe Actions
Affected Product Apache Cassandra
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 8.8

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:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2025-26467

To remediate this vulnerability, upgrade all affected Apache Cassandra 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.cassandra:cassandra-all fixed: 4.0.17
<dependency>
    <groupId>org.apache.cassandra</groupId>
    <artifactId>cassandra-all</artifactId>
    <version>4.0.17</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.cassandra

How to Check if You Are Affected

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

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

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

Note: The mvn dependency:tree -Dincludes=org.apache.cassandra 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-267: Privilege Defined With Unsafe Actions, where a particular privilege, role, capability, or right can be used to perform unsafe actions that were not intended, even when it is assigned to the correct entity. In Apache Cassandra, 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

Privilege Defined With Unsafe Actions vulnerability in Apache Cassandra. An user with MODIFY permission ON ALL KEYSPACES can escalate privileges to superuser within a targeted Cassandra cluster via unsafe actions to a system resource. Operators granting data MODIFY permission on all keyspaces on affected versions should review data access rules for potential breaches. This issue affects Apache Cassandra 3.0.30, 3.11.17, 4.0.16, 4.1.7, 5.0.2, but this advisory is only for 4.0.16 because the fix to CVE-2025-23015 was incorrectly applied to 4.0.16, so that version is still affected. Users in the 4.0 series are recommended to upgrade to version 4.0.17 which fixes the issue. Users from 3.0, 3.11, 4.1 and 5.0 series should follow recommendation from CVE-2025-23015.

CVE-2025-26467 Affected Apache Cassandra Versions

1 component(s)
Fixed Versions:
4.0.17
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.cassandra:cassandra-all
Maven
≥ 4.0.16
< 4.0.17
All 1 versions
4.0.16
4.0.17

References

Frequently Asked Questions

What is CVE-2025-26467?
CVE-2025-26467 is a security vulnerability in Apache Cassandra involving User with MODIFY permission on ALL KEYSPACES can escalate privileges to superuser via unsafe actions (4.0.16 only) under CWE-267: Privilege Defined With Unsafe Actions.
Which Apache Cassandra versions are affected?
Affected versions include releases prior to 4.0.17 across affected packages: org.apache.cassandra:cassandra-all.
What version fixes CVE-2025-26467?
Upgrading to 4.0.17 (or the latest patched release for your respective branch) resolves the vulnerability.
Is cassandra-all affected?
Yes, org.apache.cassandra:cassandra-all is affected in releases prior to 4.0.17. Upgrade your dependency to 4.0.17 or later.
What is the CVSS score of CVE-2025-26467?
CVE-2025-26467 has a CVSS v3.1 base score of 8.8 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2025-26467?
CVE-2025-26467 is classified under CWE-267: Privilege Defined With Unsafe Actions (A particular privilege, role, capability, or right can be used to perform unsafe actions that were not intended, even when it is assigned to the correct entity.).
How can I check Maven dependencies for CVE-2025-26467?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.cassandra'. 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-5c4f-pxmx-xcm4",
  "modified" : "2025-08-25T21:48:56Z",
  "published" : "2025-08-25T15:32:00Z",
  "aliases" : [ "CVE-2025-26467" ],
  "summary" : "Apache Cassandra: User with MODIFY permission on ALL KEYSPACES can escalate privileges to superuser via unsafe actions (4.0.16 only)",
  "details" : "Privilege Defined With Unsafe Actions vulnerability in Apache Cassandra. An user with MODIFY permission ON ALL KEYSPACES can escalate privileges to superuser within a targeted Cassandra cluster via unsafe actions to a system resource. Operators granting data MODIFY permission on all keyspaces on affected versions should review data access rules for potential breaches.\n\n\n\nThis issue affects Apache Cassandra 3.0.30, 3.11.17, 4.0.16, 4.1.7, 5.0.2, but this advisory is only for 4.0.16 because the fix to CVE-2025-23015 was incorrectly applied to 4.0.16, so that version is still affected.\n\nUsers in the 4.0 series are recommended to upgrade to version 4.0.17 which fixes the issue. Users from 3.0, 3.11, 4.1 and 5.0 series should follow recommendation from CVE-2025-23015.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.cassandra:cassandra-all"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.16"
      }, {
        "fixed" : "4.0.17"
      } ]
    } ],
    "versions" : [ "4.0.16" ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-26467"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/cassandra"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread/xxj36rr4d6mzyqpld05dn8b9951hfpz7"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-267" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-08-25T21:48:56Z",
    "nvd_published_at" : "2025-08-25T14:15:30Z"
  }
}