CVE-2026-73504: cassandra-jdbc-wrapper Authentication Token Exposed Vulnerability

MODERATE
Advisory Identifier: GHSA-jc42-994r-vvwp
CVSS 5.5
CWE-532
Published
Advisory Summary

CVE-2026-73504 is a MODERATE (CVSS 5.5) authentication token exposed vulnerability (CWE-532: Insertion of Sensitive Information into Log File) affecting cassandra-jdbc-wrapper libraries in the Maven ecosystem. The issue involves authentication token exposed in logs. Remediation is available by upgrading affected packages to version 5.0.2, 4.16.4.

CVE-2026-73504 at a Glance

CVE Identifier CVE-2026-73504
GHSA Identifier GHSA-jc42-994r-vvwp
Severity MODERATE
CVSS v3.1 Base Score 5.5
CWE Classification CWE-532: Insertion of Sensitive Information into Log File
Affected Product cassandra-jdbc-wrapper
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 5.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2026-73504

To remediate this vulnerability, upgrade all affected cassandra-jdbc-wrapper dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

com.ing.data:cassandra-jdbc-wrapper fixed: 5.0.2
<dependency>
    <groupId>com.ing.data</groupId>
    <artifactId>cassandra-jdbc-wrapper</artifactId>
    <version>5.0.2</version>
</dependency>
com.ing.data:cassandra-jdbc-wrapper fixed: 4.16.4
<dependency>
    <groupId>com.ing.data</groupId>
    <artifactId>cassandra-jdbc-wrapper</artifactId>
    <version>4.16.4</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=com.ing.data

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2026-73504, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=com.ing.data

Analyze the terminal output to locate any version of cassandra-jdbc-wrapper in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.0.2), your application is affected.

Note: The mvn dependency:tree -Dincludes=com.ing.data command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-532: Insertion of Sensitive Information into Log File, where the product writes sensitive information to a log file. In cassandra-jdbc-wrapper, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Summary The fix for [AIKIDO-2024-10565](https://intel.aikido.dev/cve/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` ```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: ```java // 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:** ```xml <dependency> <groupId>com.ing.data</groupId> <artifactId>cassandra-jdbc-wrapper</artifactId> <version>5.0.1</version> </dependency> ``` **Exploit.java:** ```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 Properties(); propsWithPassword.setProperty("password", "secret"); System.out.println("Password redacted: " + !DriverUtil.toStringWithoutSensitiveValues(propsWithPassword).contains("secret")); // true } } ``` **Result (confirmed, 3/3 reproductions on cassandra-jdbc-wrapper 5.0.1, the latest release):** ``` Token in 'redacted' URL: true <- token leaks through the URL redactor Token in 'redacted' props: true <- token leaks through the property redactor Password redacted: true <- password IS correctly masked (control) ``` The "redacted" output for a token-based connection string is byte-for-byte identical to the unredacted original — the helpers have no effect on `token`. ### Impact **Vulnerability type:** Insertion of Sensitive Information into Log File (CWE-532). An authentication token (functionally equivalent in sensitivity to a password — it grants full access to the Cassandra cluster) is written in plaintext to application log files whenever: - The application uses token-based authentication (e.g., DataStax Astra), AND - DEBUG logging is enabled (common in staging environments and during production troubleshooting sessions). An attacker who can read log files — via log aggregation system access, misconfigured log storage, or a separate log-reading vulnerability — can extract a live authentication token and use it to authenticate directly to the Cassandra cluster, accessing all data the token is authorized to read or write. This is exactly the same impact class as the original AIKIDO-2024-10565 fix was intended to prevent — the fix simply missed a second sensitive credential type that was already present in the codebase.

CVE-2026-73504 Affected cassandra-jdbc-wrapper Versions

2 component(s)
Fixed Versions:
5.0.24.16.4
Product / Package Ecosystem Affected Versions Fixed Version
com.ing.data:cassandra-jdbc-wrapper
Maven
≥ 5.0.0
< 5.0.2
5.0.2
com.ing.data:cassandra-jdbc-wrapper
Maven
< 4.16.4
4.16.4

References

Frequently Asked Questions

What is CVE-2026-73504?
CVE-2026-73504 is a security vulnerability in cassandra-jdbc-wrapper involving Authentication Token Exposed in Logs under CWE-532: Insertion of Sensitive Information into Log File.
Which cassandra-jdbc-wrapper versions are affected?
Affected versions include releases prior to 5.0.2, 4.16.4 across affected packages: com.ing.data:cassandra-jdbc-wrapper.
What version fixes CVE-2026-73504?
Upgrading to 5.0.2, 4.16.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is cassandra-jdbc-wrapper affected?
Yes, com.ing.data:cassandra-jdbc-wrapper is affected in releases prior to 5.0.2, 4.16.4. Upgrade your dependency to 5.0.2, 4.16.4 or later.
What is the CVSS score of CVE-2026-73504?
CVE-2026-73504 has a CVSS v3.1 base score of 5.5 (MODERATE) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2026-73504?
CVE-2026-73504 is classified under CWE-532: Insertion of Sensitive Information into Log File (The product writes sensitive information to a log file.).
How can I check Maven dependencies for CVE-2026-73504?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=com.ing.data'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-jc42-994r-vvwp",
  "modified" : "2026-11-19T00:50:28Z",
  "published" : "2026-11-19T00:50:28Z",
  "aliases" : [ "CVE-2026-73504" ],
  "summary" : "cassandra-jdbc-wrapper: Authentication Token Exposed in Logs",
  "details" : "### Summary\nThe fix for [AIKIDO-2024-10565](https://intel.aikido.dev/cve/AIKIDO-2024-10565) (plaintext password logging) introduced two\nredaction helpers — `DriverUtil.toStringWithoutSensitiveValues()` and\n`DriverUtil.redactSensitiveValuesInJdbcUrl()` — but both helpers only redact\nthe `\"password\"` property/parameter (`JdbcUrlUtil.TAG_PASSWORD`). The equally\nsensitive `\"token\"` property (`JdbcUrlUtil.TAG_TOKEN`), used for DataStax\nAstra and other token-based Cassandra authentication, is completely unredacted\nby both helpers. Applications using token-based authentication with DEBUG\nlogging enabled will therefore log the live authentication token in plaintext\nvia `SessionHolder`'s calls to these same two helpers — the exact same\nexposure pattern that the original fix was intended to prevent.\n\n### Details\n**File:** `src/main/java/com/ing/data/cassandra/jdbc/utils/DriverUtil.java`\n\n```java\n// toStringWithoutSensitiveValues (lines 341-347) -- only redacts \"password\"\npublic static String toStringWithoutSensitiveValues(final Properties properties) {\n    final Properties withRedactedSensitiveValues = (Properties) properties.clone();\n    if (withRedactedSensitiveValues.containsKey(TAG_PASSWORD)) {\n        withRedactedSensitiveValues.setProperty(TAG_PASSWORD, \"***\");\n    }\n    return withRedactedSensitiveValues.toString();\n}\n\n// redactSensitiveValuesInJdbcUrl (lines 355-378) -- only redacts \"password\"\nfinal String redactedQuery = Arrays.stream(...)\n    .map(param -> {\n        if (param.startsWith(TAG_PASSWORD + \"=\")) {\n            return TAG_PASSWORD + \"=***\";\n        }\n        return param;     // <-- \"token=...\" passes through unmodified\n    })\n    ...\n```\n\n`JdbcUrlUtil.java` defines `TAG_TOKEN = \"token\"` (line 407) as a separate,\ndistinct connection property used when connecting with DataStax Astra-style\ntoken-based authentication. Neither redaction helper checks for this key.\n\n**File:** `src/main/java/com/ing/data/cassandra/jdbc/SessionHolder.java`\n\nBoth helpers are called on connection-level properties at DEBUG log level:\n\n```java\n// Line 150 — logs all connection properties including \"token\" unredacted\nlog.debug(\"Final Properties to Connection: {}\",\n    toStringWithoutSensitiveValues(this.properties));\n\n// Lines 173, 190 — logs JDBC URL including \"?token=...\" unredacted\nfinal String jdbcUrl = redactSensitiveValuesInJdbcUrl(this.cacheKey.get(URL_KEY));\nlog.debug(\"Released last reference to {}, closing Session.\", jdbcUrl);\nlog.debug(\"Acquired reference to {}, new count = {}.\", jdbcUrl, ref + 1);\n```\n\nDEBUG logging is commonly enabled in production troubleshooting and staging\nenvironments, meaning the token is logged in plain text every time a\nconnection is acquired or released in such environments.\n\n### PoC\n**Environment:** JDK 17+, Maven 3.x\n\n**pom.xml dependency:**\n```xml\n<dependency>\n    <groupId>com.ing.data</groupId>\n    <artifactId>cassandra-jdbc-wrapper</artifactId>\n    <version>5.0.1</version>\n</dependency>\n```\n\n**Exploit.java:**\n```java\nimport com.ing.data.cassandra.jdbc.utils.DriverUtil;\nimport java.util.Properties;\n\npublic class Exploit {\n    public static void main(String[] args) throws Exception {\n        String secretToken = \"AstraCS:SUPER_SECRET_TOKEN_VALUE_1234567890\";\n\n        // Test 1: redactSensitiveValuesInJdbcUrl()\n        String urlWithToken = \"jdbc:cassandra://host:9042/ks?token=\" + secretToken;\n        String redacted = DriverUtil.redactSensitiveValuesInJdbcUrl(urlWithToken);\n        System.out.println(\"Token in 'redacted' URL: \" + redacted.contains(secretToken)); // true\n\n        // Test 2: toStringWithoutSensitiveValues()\n        Properties props = new Properties();\n        props.setProperty(\"token\", secretToken);\n        String redactedProps = DriverUtil.toStringWithoutSensitiveValues(props);\n        System.out.println(\"Token in 'redacted' props: \" + redactedProps.contains(secretToken)); // true\n\n        // Control: password IS correctly redacted\n        Properties propsWithPassword = new Properties();\n        propsWithPassword.setProperty(\"password\", \"secret\");\n        System.out.println(\"Password redacted: \" +\n            !DriverUtil.toStringWithoutSensitiveValues(propsWithPassword).contains(\"secret\")); // true\n    }\n}\n```\n\n**Result (confirmed, 3/3 reproductions on cassandra-jdbc-wrapper 5.0.1, the latest release):**\n\n```\nToken in 'redacted' URL:   true   <- token leaks through the URL redactor\nToken in 'redacted' props: true   <- token leaks through the property redactor\nPassword redacted:         true   <- password IS correctly masked (control)\n```\n\nThe \"redacted\" output for a token-based connection string is byte-for-byte\nidentical to the unredacted original — the helpers have no effect on `token`.\n\n### Impact\n**Vulnerability type:** Insertion of Sensitive Information into Log File (CWE-532).\n\nAn authentication token (functionally equivalent in sensitivity to a password\n— it grants full access to the Cassandra cluster) is written in plaintext to\napplication log files whenever:\n- The application uses token-based authentication (e.g., DataStax Astra), AND\n- DEBUG logging is enabled (common in staging environments and during\n  production troubleshooting sessions).\n\nAn attacker who can read log files — via log aggregation system access,\nmisconfigured log storage, or a separate log-reading vulnerability — can\nextract a live authentication token and use it to authenticate directly to\nthe Cassandra cluster, accessing all data the token is authorized to read or\nwrite.\n\nThis is exactly the same impact class as the original AIKIDO-2024-10565 fix\nwas intended to prevent — the fix simply missed a second sensitive credential\ntype that was already present in the codebase.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.ing.data:cassandra-jdbc-wrapper"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.0.0"
      }, {
        "fixed" : "5.0.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.ing.data:cassandra-jdbc-wrapper"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.16.4"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 4.16.3"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/ing-bank/cassandra-jdbc-wrapper/security/advisories/GHSA-jc42-994r-vvwp"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-73504"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ing-bank/cassandra-jdbc-wrapper/commit/0b7ea0322e538304119f58f1214e4171312b245b"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ing-bank/cassandra-jdbc-wrapper/commit/ace58f7cf5c981d8dfe302f1a514ae4c6f827f38"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ing-bank/cassandra-jdbc-wrapper"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ing-bank/cassandra-jdbc-wrapper/releases/tag/v4.16.4"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ing-bank/cassandra-jdbc-wrapper/releases/tag/v5.0.2"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-532" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-11-19T00:50:28Z",
    "nvd_published_at" : "2026-11-18T20:19:12Z"
  }
}