CVE-2026-73504
cassandra- jdbc- wrapper: Authentication Token Exposed in Logs
- Severity
- 5.5MediumLocal attack, low privileges, no user interactionCVSS 3.1, CVE List
- Exploitation
- None reported
- Exploit chance
- 0.24% in 30 daysPercentile16thEPSS, scored
- Listed fix
5.0.2for com.ing. data: cassandra- jdbc- wrapper From GitHub Advisories and OSV1 more listed version, 6 other affected packages
Overview
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.
CVSS 3.1 vector
Exploitability
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
Impact
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NExploit chance over time
Affected
Packages 7
| Package | Affected | Fixed |
|---|---|---|
com.ing.data:cassandra-jdbc-wrapperMaven | 5.0.0 up to 5.0.2, plus listed versions 5.0.1 | 5.0.2 |
| through 4.16.3 | 4.16.4 | |
| before 4.16.4, plus listed versions 4.10.04.10.14.10.24.11.04.11.1 Show 16 more versionsShow less4.12.04.13.04.13.14.14.04.15.04.16.04.16.14.16.24.16.34.4.04.5.04.6.04.7.04.8.04.9.04.9.1 | 4.16.4 | |
giteaAlpine:v3.25 | before 1.27.3-r0 | 1.27.3-r0 |
gitea-devDocker Hardened Images:Alpine:3.24 | 1.26.4-r1 and later, plus listed versions 1.27.0-r11.27.0-r21.27.1-r01.27.1-r11.27.1-r2 Show 36 more versionsShow less1.27.1-r31.27.2-r01.27.2-r11.27.2-r21.27.2-r31.27.2-r41.27.3-r01.27.3-r11.27.3-r101.27.3-r111.27.3-r121.27.3-r131.27.3-r141.27.3-r151.27.3-r161.27.3-r171.27.3-r181.27.3-r191.27.3-r21.27.3-r201.27.3-r211.27.3-r221.27.3-r31.27.3-r41.27.3-r51.27.3-r71.27.3-r81.27.3-r928.3.0-r028.3.0-r128.3.0-r228.3.0-r328.3.0-r428.4.0-r028.4.0-r128.4.0-r2 | None listed |
gitea-fips-devDocker Hardened Images:Alpine:3.24 | 1.26.4-r1 and later, plus listed versions 1.27.0-r11.27.0-r21.27.1-r01.27.1-r11.27.1-r2 Show 36 more versionsShow less1.27.1-r31.27.2-r01.27.2-r11.27.2-r21.27.2-r31.27.2-r41.27.3-r01.27.3-r11.27.3-r101.27.3-r111.27.3-r121.27.3-r131.27.3-r141.27.3-r151.27.3-r161.27.3-r171.27.3-r181.27.3-r191.27.3-r21.27.3-r201.27.3-r211.27.3-r221.27.3-r31.27.3-r41.27.3-r51.27.3-r71.27.3-r81.27.3-r928.3.0-r028.3.0-r128.3.0-r228.3.0-r328.3.0-r428.4.0-r028.4.0-r128.4.0-r2 | None listed |
gitea-fipsDocker Hardened Images:Alpine:3.24 | 1.26.4-r1 and later, plus listed versions 1.27.0-r11.27.0-r21.27.1-r01.27.1-r11.27.1-r2 Show 36 more versionsShow less1.27.1-r31.27.2-r01.27.2-r11.27.2-r21.27.2-r31.27.2-r41.27.3-r01.27.3-r11.27.3-r101.27.3-r111.27.3-r121.27.3-r131.27.3-r141.27.3-r151.27.3-r161.27.3-r171.27.3-r181.27.3-r191.27.3-r21.27.3-r201.27.3-r211.27.3-r221.27.3-r31.27.3-r41.27.3-r51.27.3-r71.27.3-r81.27.3-r928.3.0-r028.3.0-r128.3.0-r228.3.0-r328.3.0-r428.4.0-r028.4.0-r128.4.0-r2 | None listed |
giteaDocker Hardened Images:Alpine:3.24 | 1.26.4-r1 and later, plus listed versions 1.27.0-r11.27.0-r21.27.1-r01.27.1-r11.27.1-r2 Show 36 more versionsShow less1.27.1-r31.27.2-r01.27.2-r11.27.2-r21.27.2-r31.27.2-r41.27.3-r01.27.3-r11.27.3-r101.27.3-r111.27.3-r121.27.3-r131.27.3-r141.27.3-r151.27.3-r161.27.3-r171.27.3-r181.27.3-r191.27.3-r21.27.3-r201.27.3-r211.27.3-r221.27.3-r31.27.3-r41.27.3-r51.27.3-r71.27.3-r81.27.3-r928.3.0-r028.3.0-r128.3.0-r228.3.0-r328.3.0-r428.4.0-r028.4.0-r128.4.0-r2 | None listed |
flyway-11Docker Hardened Images:Debian:13 | 11.20.3-0 and later, plus listed versions 11.20.3-111.20.3-211.20.3-311.20.3-411.20.3-5 Show 4 more versionsShow less11.20.3-611.20.3-711.20.3-811.20.3-9 | None listed |
Products 1
Exploits
Sources link exploit code, tools that only detect the flaw and other work on it, and most don’t say which a link is.
| Link | Source | Date |
|---|---|---|
| googlesky/CVE-2026-73504 | PoC in GitHub | 2026-11-19 |
Sources
CVE List Score usedCVSS 3.15.5
cassandra-jdbc-wrapper: Authentication Token Exposed in Logs
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.
- Record
CVE-2026-73504- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-532
- Updated
- 2026-11-18
EUVDEUVD-2026-129173CVSS 3.15.5
cassandra-jdbc-wrapper: Authentication Token Exposed in Logs
- Record
EUVD-2026-129173- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-19
GitHub AdvisoriesGHSA-jc42-994r-vvwpCVSS 3.15.5
cassandra-jdbc-wrapper: Authentication Token Exposed in Logs
Summary
The fix for AIKIDO-2024-10565 (plaintext password logging) introduced two
redaction helpers — DriverUtil.toStringWithoutSensitiveValues() and
DriverUtil.redactSensitiveValuesInJdbcUrl() — but both helpers only redact
the "password" property/parameter (JdbcUrlUtil.TAG_PASSWORD). The equally
sensitive "token" property (JdbcUrlUtil.TAG_TOKEN), used for DataStax
Astra and other token-based Cassandra authentication, is completely unredacted
by both helpers. Applications using token-based authentication with DEBUG
logging enabled will therefore log the live authentication token in plaintext
via SessionHolder's calls to these same two helpers — the exact same
exposure pattern that the original fix was intended to prevent.
Details
File: src/main/java/com/ing/data/cassandra/jdbc/utils/DriverUtil.java
// toStringWithoutSensitiveValues (lines 341-347) -- only redacts "password"
public static String toStringWithoutSensitiveValues(final Properties properties) {
final Properties withRedactedSensitiveValues = (Properties) properties.clone();
if (withRedactedSensitiveValues.containsKey(TAG_PASSWORD)) {
withRedactedSensitiveValues.setProperty(TAG_PASSWORD, "***");
}
return withRedactedSensitiveValues.toString();
}
// redactSensitiveValuesInJdbcUrl (lines 355-378) -- only redacts "password"
final String redactedQuery = Arrays.stream(...)
.map(param -> {
if (param.startsWith(TAG_PASSWORD + "=")) {
return TAG_PASSWORD + "=***";
}
return param; // <-- "token=..." passes through unmodified
})
...
JdbcUrlUtil.java defines TAG_TOKEN = "token" (line 407) as a separate,
distinct connection property used when connecting with DataStax Astra-style
token-based authentication. Neither redaction helper checks for this key.
File: src/main/java/com/ing/data/cassandra/jdbc/SessionHolder.java
Both helpers are called on connection-level properties at DEBUG log level:
// Line 150 — logs all connection properties including "token" unredacted
log.debug("Final Properties to Connection: {}",
toStringWithoutSensitiveValues(this.properties));
// Lines 173, 190 — logs JDBC URL including "?token=..." unredacted
final String jdbcUrl = redactSensitiveValuesInJdbcUrl(this.cacheKey.get(URL_KEY));
log.debug("Released last reference to {}, closing Session.", jdbcUrl);
log.debug("Acquired reference to {}, new count = {}.", jdbcUrl, ref + 1);
DEBUG logging is commonly enabled in production troubleshooting and staging environments, meaning the token is logged in plain text every time a connection is acquired or released in such environments.
PoC
Environment: JDK 17+, Maven 3.x
pom.xml dependency:
<dependency>
<groupId>com.ing.data</groupId>
<artifactId>cassandra-jdbc-wrapper</artifactId>
<version>5.0.1</version>
</dependency>
Exploit.java:
import com.ing.data.cassandra.jdbc.utils.DriverUtil;
import java.util.Properties;
public class Exploit {
public static void main(String[] args) throws Exception {
String secretToken = "AstraCS:SUPER_SECRET_TOKEN_VALUE_1234567890";
// Test 1: redactSensitiveValuesInJdbcUrl()
String urlWithToken = "jdbc:cassandra://host:9042/ks?token=" + secretToken;
String redacted = DriverUtil.redactSensitiveValuesInJdbcUrl(urlWithToken);
System.out.println("Token in 'redacted' URL: " + redacted.contains(secretToken)); // true
// Test 2: toStringWithoutSensitiveValues()
Properties props = new Properties();
props.setProperty("token", secretToken);
String redactedProps = DriverUtil.toStringWithoutSensitiveValues(props);
System.out.println("Token in 'redacted' props: " + redactedProps.contains(secretToken)); // true
// Control: password IS correctly redacted
Properties propsWithPassword = new…
- Record
GHSA-jc42-994r-vvwp- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-532
- Updated
- 2026-11-19
NVDCVSS 3.15.5
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.
- Record
CVE-2026-73504- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-532
- Updated
- 2026-11-19
OSVALPINE-CVE-2026-73504CVSS 3.15.5
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.
- Record
ALPINE-CVE-2026-73504- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-12-04
OSVCVSS 3.15.5
cassandra-jdbc-wrapper: Authentication Token Exposed in Logs
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.
- Record
CVE-2026-73504- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-532
- Updated
- 2026-11-19
OSVDHI-kvar-wpx6-rwrc-wjfbCVSS 3.15.5
cassandra-jdbc-wrapper provides a JDBC-compliant API over the Java driver for Apache Cassandra. Prior to 4.16.4 and…
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.
- Record
DHI-kvar-wpx6-rwrc-wjfb- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-12-04
OSVGHSA-jc42-994r-vvwpCVSS 3.15.5
cassandra-jdbc-wrapper: Authentication Token Exposed in Logs
Summary
The fix for AIKIDO-2024-10565 (plaintext password logging) introduced two
redaction helpers — DriverUtil.toStringWithoutSensitiveValues() and
DriverUtil.redactSensitiveValuesInJdbcUrl() — but both helpers only redact
the "password" property/parameter (JdbcUrlUtil.TAG_PASSWORD). The equally
sensitive "token" property (JdbcUrlUtil.TAG_TOKEN), used for DataStax
Astra and other token-based Cassandra authentication, is completely unredacted
by both helpers. Applications using token-based authentication with DEBUG
logging enabled will therefore log the live authentication token in plaintext
via SessionHolder's calls to these same two helpers — the exact same
exposure pattern that the original fix was intended to prevent.
Details
File: src/main/java/com/ing/data/cassandra/jdbc/utils/DriverUtil.java
// toStringWithoutSensitiveValues (lines 341-347) -- only redacts "password"
public static String toStringWithoutSensitiveValues(final Properties properties) {
final Properties withRedactedSensitiveValues = (Properties) properties.clone();
if (withRedactedSensitiveValues.containsKey(TAG_PASSWORD)) {
withRedactedSensitiveValues.setProperty(TAG_PASSWORD, "***");
}
return withRedactedSensitiveValues.toString();
}
// redactSensitiveValuesInJdbcUrl (lines 355-378) -- only redacts "password"
final String redactedQuery = Arrays.stream(...)
.map(param -> {
if (param.startsWith(TAG_PASSWORD + "=")) {
return TAG_PASSWORD + "=***";
}
return param; // <-- "token=..." passes through unmodified
})
...
JdbcUrlUtil.java defines TAG_TOKEN = "token" (line 407) as a separate,
distinct connection property used when connecting with DataStax Astra-style
token-based authentication. Neither redaction helper checks for this key.
File: src/main/java/com/ing/data/cassandra/jdbc/SessionHolder.java
Both helpers are called on connection-level properties at DEBUG log level:
// Line 150 — logs all connection properties including "token" unredacted
log.debug("Final Properties to Connection: {}",
toStringWithoutSensitiveValues(this.properties));
// Lines 173, 190 — logs JDBC URL including "?token=..." unredacted
final String jdbcUrl = redactSensitiveValuesInJdbcUrl(this.cacheKey.get(URL_KEY));
log.debug("Released last reference to {}, closing Session.", jdbcUrl);
log.debug("Acquired reference to {}, new count = {}.", jdbcUrl, ref + 1);
DEBUG logging is commonly enabled in production troubleshooting and staging environments, meaning the token is logged in plain text every time a connection is acquired or released in such environments.
PoC
Environment: JDK 17+, Maven 3.x
pom.xml dependency:
<dependency>
<groupId>com.ing.data</groupId>
<artifactId>cassandra-jdbc-wrapper</artifactId>
<version>5.0.1</version>
</dependency>
Exploit.java:
import com.ing.data.cassandra.jdbc.utils.DriverUtil;
import java.util.Properties;
public class Exploit {
public static void main(String[] args) throws Exception {
String secretToken = "AstraCS:SUPER_SECRET_TOKEN_VALUE_1234567890";
// Test 1: redactSensitiveValuesInJdbcUrl()
String urlWithToken = "jdbc:cassandra://host:9042/ks?token=" + secretToken;
String redacted = DriverUtil.redactSensitiveValuesInJdbcUrl(urlWithToken);
System.out.println("Token in 'redacted' URL: " + redacted.contains(secretToken)); // true
// Test 2: toStringWithoutSensitiveValues()
Properties props = new Properties();
props.setProperty("token", secretToken);
String redactedProps = DriverUtil.toStringWithoutSensitiveValues(props);
System.out.println("Token in 'redacted' props: " + redactedProps.contains(secretToken)); // true
// Control: password IS correctly redacted
Properties propsWithPassword = new…
- Record
GHSA-jc42-994r-vvwp- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-532
- Updated
- 2026-11-19
The JSON record also has the rest of 2 source descriptions.
History
Recorded by Every CVE
| Day | Changed | Sources |
|---|---|---|
| Affected packages | OSV | |
| Affected packages, other IDs, references | OSV | |
| Affected packages | OSV | |
| Affected packages | OSV | |
| Affected packages | OSV | |
| Affected packages | OSV | |
| Exploit links, key facts | PoC in GitHub | |
| Affected packages, references | OSV | |
| Affected packages, other IDs, published date, references | EUVD, OSV | |
| Affected packages, key facts, references | GitHub Advisories, NVD | |
| References | CVE List | |
| Other IDs, references | OSV | |
| Other IDs, published date | EUVD | |
| First indexed | CVE List |
Upstream dates may differ.
References
github.com/ing-bank/cassandra-jdbc-wrapper/security/advisories/GHSA-jc42-994r-vvwp
github.com/ing-bank/cassandra-jdbc-wrapper/commit/0b7ea0322e538304119f58f1214e4171312b245b
github.com/ing-bank/cassandra-jdbc-wrapper/commit/ace58f7cf5c981d8dfe302f1a514ae4c6f827f38
github.com/ing-bank/cassandra-jdbc-wrapper/releases/tag/v4.16.4
github.com/ing-bank/cassandra-jdbc-wrapper/releases/tag/v5.0.2
nvd.nist.gov/vuln/detail/CVE-2026-73504
github.com/advisories/GHSA-jc42-994r-vvwp
security.alpinelinux.org/vuln/CVE-2026-73504
github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73504.json
scout.docker.com/v/DHI-kvar-wpx6-rwrc-wjfb
github.com/ing-bank/cassandra-jdbc-wrapper