CVE-2026-73504

cassandra-jdbc-wrapper: Authentication Token Exposed in Logs

Medium published · updated · also known as GHSA-JC42-994R-VVWP

5.5
CVSS score out of 10 · NVD (github.com)

Description

cassandra-jdbc-wrapper provides a JDBC-compliant API over the Java driver for Apache Cassandra. Prior to 4.16.4 and 5.0.2, DriverUtil.toStringWithoutSensitiveValues() and DriverUtil.redactSensitiveValuesInJdbcUrl() redact the password property but not the equally sensitive token property used for DataStax Astra and other token-based authentication. When DEBUG logging is enabled, SessionHolder passes connection properties and JDBC URLs containing token through these helpers, causing the live token to be written in plaintext when connections are acquired or released. An attacker who can read those logs can use the token to access Cassandra data and operations authorized to that credential. This issue is fixed in versions 4.16.4 and 5.0.2.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
com.ing.data:cassandra-jdbc-wrapper maven >= 5.0.0, < 5.0.25.0.2 GitHub
com.ing.data:cassandra-jdbc-wrapper maven <= 4.16.34.16.4 GitHub

References