CVE-2026-73504: cassandra-jdbc-wrapper Authentication Token Exposed Vulnerability
MODERATECVE-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
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).
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.
<dependency>
<groupId>com.ing.data</groupId>
<artifactId>cassandra-jdbc-wrapper</artifactId>
<version>5.0.2</version>
</dependency>
<dependency>
<groupId>com.ing.data</groupId>
<artifactId>cassandra-jdbc-wrapper</artifactId>
<version>4.16.4</version>
</dependency>
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
CVE-2026-73504 Affected cassandra-jdbc-wrapper Versions
2 component(s)| 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?
Which cassandra-jdbc-wrapper versions are affected?
What version fixes CVE-2026-73504?
Is cassandra-jdbc-wrapper affected?
What is the CVSS score of CVE-2026-73504?
What CWE is associated with CVE-2026-73504?
How can I check Maven dependencies for CVE-2026-73504?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}