Every CVESearch/Get API key

CVE-2026-73504

cassandra-jdbc-wrapper: Authentication Token Exposed in Logs

Explain with AI
ChatGPTClaudeGoogle AI
Severity
5.5Medium
Local attack, low privileges, no user interactionCVSS 3.1, CVE List
Exploitation
None reported
1 exploit-related link
Exploit chance
0.24% in 30 days
Percentile16th
EPSS, scored
Listed fix
5.0.2 for 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:N

Exploit chance over time

Unchanged since Nov 19, 2026
EPSS score, scored every day from Nov 19, 2026 to Dec 4, 2026: lowest 0.18% on Nov 25, 2026, highest 0.24% on Nov 19, 2026, 0.24% on the last day.

Affected

Packages 7

Affected packages
PackageAffectedFixed
com.ing.data:cassandra-jdbc-wrapper
Maven
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 less
4.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
gitea
Alpine:v3.25
before 1.27.3-r0
1.27.3-r0
gitea-dev
Docker 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 less
1.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-dev
Docker 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 less
1.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
Docker 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 less
1.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
Docker 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 less
1.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-11
Docker 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 less
11.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.

Exploit-related links
LinkSourceDate
googlesky/CVE-2026-73504PoC in GitHub2026-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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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

Changes recorded by Every CVE
DayChangedSources
Affected packagesOSV
Affected packages, other IDs, referencesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Exploit links, key factsPoC in GitHub
Affected packages, referencesOSV
Affected packages, other IDs, published date, referencesEUVD, OSV
Affected packages, key facts, referencesGitHub Advisories, NVD
ReferencesCVE List
Other IDs, referencesOSV
Other IDs, published dateEUVD
First indexedCVE List

Upstream dates may differ.

References

MoveEnter Open