CVE-2026-73504: 
Java vulnerability analysis and mitigation

Overview

CVE-2026-73504 is an authentication token exposure vulnerability in the cassandra-jdbc-wrapper library (Maven: com.ing.data:cassandra-jdbc-wrapper) that causes live DataStax Astra-style authentication tokens to be written in plaintext to application log files. The flaw is an incomplete fix for a prior vulnerability (AIKIDO-2024-10565): the redaction helpers DriverUtil.toStringWithoutSensitiveValues() and DriverUtil.redactSensitiveValuesInJdbcUrl() were updated to mask the password property but omitted the equally sensitive token property. Affected versions are all releases prior to 4.16.4 (4.x branch) and 5.0.0–5.0.1 (5.x branch); fixed versions are 4.16.4 and 5.0.2. The vulnerability was published on July 9, 2026, and carries a CVSS v3.1 base score of 5.5 (Medium) (GitHub Advisory).

Technical details

The root cause is classified as CWE-532 (Insertion of Sensitive Information into Log File). In DriverUtil.java, both toStringWithoutSensitiveValues() and redactSensitiveValuesInJdbcUrl() only check for and replace the TAG_PASSWORD key/parameter; the TAG_TOKEN key ("token", defined in JdbcUrlUtil.java line 407) passes through both helpers completely unmodified. SessionHolder calls these helpers at DEBUG log level on every connection acquisition and release (lines 150, 173, and 190), meaning any application using token-based authentication with DEBUG logging enabled will write the live token in plaintext to logs. The attack vector is local (an attacker must be able to read the application's log files), requires low privileges, and no user interaction (GitHub Advisory, Patch Commit).

Impact

An attacker who can read application log files — through log aggregation system access, misconfigured log storage, or a secondary log-reading vulnerability — can extract a live Cassandra authentication token. Because the token grants the same level of access as a password, the attacker can authenticate directly to the Cassandra cluster and access or modify all data and operations authorized to that credential. The confidentiality impact is high; integrity and availability are not directly affected by this vulnerability alone, though the stolen token could be used in follow-on attacks to manipulate data (GitHub Advisory).

Exploitability

A proof-of-concept Exploit.java is included in the official GitHub Security Advisory, demonstrating that both redaction helpers fail to mask the token value (confirmed across 3 reproductions on version 5.0.1). A second community PoC repository (googlesky/CVE-2026-73504) provides Python-based lab tooling that probes a test endpoint for the token-leak behavior. There is no evidence of in-the-wild exploitation at this time. The EPSS score is approximately 0.0024 (low probability of exploitation), and the vulnerability is not listed in the CISA KEV catalog. Exploitation is not automatable per NVD SSVC assessment, as it requires local log-read access (GitHub Advisory, PoC Repo).

Exploitation steps

  1. Identify target application: Locate a Java application using cassandra-jdbc-wrapper versions ≤ 4.16.3 or 5.0.0–5.0.1 with token-based authentication (e.g., DataStax Astra) and DEBUG logging enabled.
  2. Gain log file access: Obtain read access to the application's log files via log aggregation system credentials, misconfigured cloud storage (e.g., public S3 bucket), insider access, or a secondary vulnerability enabling file read.
  3. Search logs for token strings: Grep or search log output for patterns matching token=AstraCS: or {token=AstraCS: in DEBUG-level log entries emitted by SessionHolder during connection acquisition or release.
  4. Extract the plaintext token: The token appears unredacted in log lines such as Final Properties to Connection: {token=AstraCS:SUPER_SECRET_TOKEN_VALUE_1234567890, ...} or in JDBC URL log entries like Acquired reference to jdbc:cassandra://host:9042/ks?token=AstraCS:....
  5. Authenticate to Cassandra: Use the extracted token as the authentication credential to connect directly to the Cassandra cluster (e.g., DataStax Astra), gaining all data access and operational privileges authorized to that token (GitHub Advisory).

Indicators of compromise

  • Logs: DEBUG-level log entries from SessionHolder containing token=AstraCS: in plaintext within Final Properties to Connection: messages or JDBC URL strings (e.g., Acquired reference to jdbc:cassandra://...?token=AstraCS:...).
  • Log Access: Unexpected access to log files or log aggregation systems by accounts not normally associated with log management; unusual queries or exports from centralized logging platforms (e.g., Splunk, ELK, CloudWatch).
  • Network: Unexpected authentication attempts to Cassandra clusters (especially DataStax Astra endpoints) from IP addresses not associated with the application's normal operation, using token-based credentials.
  • Application Behavior: Cassandra audit logs showing data access or schema operations performed by the application's token from an unexpected source IP or at unusual times (GitHub Advisory).

Mitigation and workarounds

Upgrade cassandra-jdbc-wrapper to version 4.16.4 (4.x branch) or 5.0.2 (5.x branch), which add TAG_TOKEN redaction to both toStringWithoutSensitiveValues() and redactSensitiveValuesInJdbcUrl(). If immediate patching is not possible, disable DEBUG-level logging in production and staging environments to prevent token exposure via SessionHolder log calls. Additionally, restrict log file and log aggregation system access to authorized personnel only, and consider rotating any Cassandra authentication tokens that may have been exposed in logs while running a vulnerable version (GitHub Advisory, v4.16.4 Release, v5.0.2 Release).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Alpine

Fixed

edge

gitea: 1.27.3-r0

Fixed

Source: This report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-59414CRITICAL9.1
  • Java logoJava
  • org.springframework.boot:spring-boot-autoconfigure
NoYesDec 02, 2026
CVE-2026-134848HIGH7.4
  • Java logoJava
  • flyway-fips
NoYesNov 23, 2026
CVE-2026-134845HIGH7.4
  • Java logoJava
  • keycloak-26.8
NoYesNov 23, 2026
CVE-2026-134847MEDIUM6.5
  • Java logoJava
  • flyway-fips
NoYesNov 23, 2026
CVE-2026-134846MEDIUM6.5
  • Java logoJava
  • postgresql-jdbc
NoYesNov 23, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management