Security Vulnerability Report
中文
CVE-2026-27314 CVSS 8.8 HIGH

CVE-2026-27314

Published: 2026-04-07 17:16:28
Last Modified: 2026-04-15 15:48:53

Description

Privilege escalation in Apache Cassandra 5.0 on an mTLS environment using MutualTlsAuthenticator allows a user with only CREATE permission to associate their own certificate identity with an arbitrary role, including a superuser role, and authenticate as that role via ADD IDENTITY. Users are recommended to upgrade to version 5.0.7+, which fixes this issue.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:apache:cassandra:*:*:*:*:*:*:*:* - VULNERABLE
Apache Cassandra 5.0 < 5.0.7

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# Exploit Concept for CVE-2026-27314 # Prerequisite: Access to Cassandra with mTLS enabled and a user with 'CREATE' permission. # 1. Connect as the low-privileged user (e.g., 'attacker') # The client presents a valid certificate mapped to 'attacker'. # 2. Execute the privilege escalation command # Using the 'ADD IDENTITY' functionality to link the attacker's certificate # to a target superuser role (e.g., 'admin'). # Syntax may vary based on specific Cassandra implementation, but conceptually: # CQL Query Example: # ALTER ROLE admin WITH IDENTITY = 'attacker_certificate_identity'; # 3. Disconnect and Re-authenticate # Reconnect using the same client certificate. # The server now authenticates the user as 'admin' (superuser) # instead of 'attacker'. # 4. Verify Access # Now running commands with Superuser privileges: # CREATE KEYSPACE exploit_test ...; # DROP KEYSPACE production ...;

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-27314", "sourceIdentifier": "[email protected]", "published": "2026-04-07T17:16:27.693", "lastModified": "2026-04-15T15:48:53.273", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Privilege escalation in Apache Cassandra 5.0 on an mTLS environment using MutualTlsAuthenticator allows a user with only CREATE permission to associate their own certificate identity with an arbitrary role,\nincluding a superuser role, and authenticate as that role via ADD IDENTITY.\n\nUsers are recommended to upgrade to version 5.0.7+, which fixes this issue."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-267"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:apache:cassandra:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.0.0", "versionEndExcluding": "5.0.7", "matchCriteriaId": "31249BDD-7A3E-4B31-A274-4C7237920C6C"}]}]}], "references": [{"url": "https://lists.apache.org/thread/zrng82ddy4rpsmfyk582v6hqxcqrbz7f", "source": "[email protected]", "tags": ["Mailing List", "Vendor Advisory"]}, {"url": "http://www.openwall.com/lists/oss-security/2026/04/07/7", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": ["Mailing List", "Third Party Advisory"]}]}}