HIGH 8.8

CVE-2025-23015

Apache Cassandra: User with MODIFY permission on ALL KEYSPACES can escalate privileges to superuser via unsafe actions

Description

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 through 3.0.30, 3.11.17, 4.0.15, 4.1.7, 5.0.2.

Users are recommended to upgrade to versions 3.0.31, 3.11.18, 4.0.16, 4.1.8, 5.0.3, which fixes the issue.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.cassandra » cassandra-all
< 3.0.31>= 3.1, < 3.11.18>= 4.0-alpha1, < 4.0.16>= 4.1-alpha1, < 4.1.8>= 5.0-alpha1, < 5.0.3
3.0.31, 3.11.18, 4.0.16, 4.1.8, 5.0.3

Blast radius

1affected artifacts
283affected versions
1,004dependent artifacts (est.)
27,777dependent versions

61% of the dependent artifacts (621) still pull an affected version in their latest release.

DepthDependent versions
Direct
7,103
2 hops
10,573
3 hops
5,847
4 hops
3,276
5 hops
767
6 hops
211

Most used dependents

Computed from the dependency graph of build 20261125.0317 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.