{"vuln_id":"GHSA-jc42-994r-vvwp","aliases":["CVE-2026-73504"],"description":"cassandra-jdbc-wrapper: Authentication Token Exposed in Logs","published_at":"2026-11-19T00:50:28Z","modified_at":"2026-11-19T01:30:03.510710Z","first_seen_at":"2026-11-21T19:15:19.494656Z","severity":"medium","severity_source":"ghsa","cvss_score":5.5,"cvss_vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","cwe":["CWE-532"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":null,"epss_percentile":null,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://github.com/advisories/GHSA-jc42-994r-vvwp"},"matched_alias":null,"items":[{"id":11000,"source":{"id":"osv","name":"OSV.dev"},"title":"GHSA-jc42-994r-vvwp: cassandra-jdbc-wrapper: Authentication Token Exposed in Logs","summary":"cassandra-jdbc-wrapper: Authentication Token Exposed in Logs\n\n### 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) {\nfinal Properties withRedactedSensitiveValues = (Properties) properties.clone();\nif (withRedactedSensitiveValues.containsKey(TAG_PASSWORD)) {\nwithRedactedSensitiveValues.setProperty(TAG_PASSWORD, \"***\");\n}\nreturn withRedactedSensitiveValues.toString();\n}\n\n// redactSensitiveValuesInJdbcUrl (lines 355-378) -- only redacts \"password\"\nfinal String redactedQuery = Arrays.stream(...)\n.map(param -> {\nif (param.startsWith(TAG_PASSWORD + \"=\")) {\nreturn TAG_PASSWORD + \"=***\";\n}\nreturn 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: {}\",\ntoStringWithoutSensitiveValues(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\ncom.ing.data\n\ncassandra-jdbc-wrapper\n\n5.0.1\n\n```\n\n**Exploit.java:**\n```java\nimport\n\nAffected: Maven:com.ing.data:cassandra-jdbc-wrapper\n\nFixed in: 5.0.2, 4.16.4\n\nReferences:\nhttps://github.com/ing-bank/cassandra-jdbc-wrapper/security/advisories/GHSA-jc42-994r-vvwp\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-73504\nhttps://github.com/ing-bank/cassandra-jdbc-wrapper/commit/0b7ea0322e538304119f58f1214e4171312b245b\nhttps://github.com/ing-bank/cassandra-jdbc-wrapper/commit/ace58f7cf5c981d8dfe302f1a514ae4c6f827f38\nhttps://github.com/ing-bank/cassandra-jdbc-wrapper\nhttps://github.com/ing-bank/cassandra-jdbc-wrapper/releases/tag/v4.16.4\nhttps://github.com/ing-bank/cassandra-jdbc-wrapper/releases/tag/v5.0.2","url":"https://osv.dev/vulnerability/GHSA-jc42-994r-vvwp","published_at":"2026-11-19T00:50:28Z","updated_at":"2026-11-19T01:30:03.510710Z","fetched_at":"2026-11-21T19:15:55.946360Z","severity":"medium","cvss_score":5.5,"epss":0.0024,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"com.ing.data:cassandra-jdbc-wrapper","vuln_id":"CVE-2026-73504","vuln_ids":["CVE-2026-73504","GHSA-JC42-994R-VVWP"],"tags":["osv","maven","fix-available"],"cluster_id":2272,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/11000","html":"https://vulnwatch.ve1ve2.com/item/11000"}},{"id":2420,"source":{"id":"ghsa","name":"GitHub Security Advisories"},"title":"GHSA-jc42-994r-vvwp / CVE-2026-73504: cassandra-jdbc-wrapper: Authentication Token Exposed in Logs","summary":"cassandra-jdbc-wrapper: Authentication Token Exposed in Logs\n\n### 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) {\nfinal Properties withRedactedSensitiveValues = (Properties) properties.clone();\nif (withRedactedSensitiveValues.containsKey(TAG_PASSWORD)) {\nwithRedactedSensitiveValues.setProperty(TAG_PASSWORD, \"***\");\n}\nreturn withRedactedSensitiveValues.toString();\n}\n\n// redactSensitiveValuesInJdbcUrl (lines 355-378) -- only redacts \"password\"\nfinal String redactedQuery = Arrays.stream(...)\n.map(param -> {\nif (param.startsWith(TAG_PASSWORD + \"=\")) {\nreturn TAG_PASSWORD + \"=***\";\n}\nreturn 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: {}\",\ntoStringWithoutSensitiveValues(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\ncom.ing.data\n\ncassandra-jdbc-wrapper\n\n5.0.1\n\n```\n\n**Exploit.java:**\n```java\nimport\n\nAffected packages: maven:com.ing.data:cassandra-jdbc-wrapper\nPatched: com.ing.data:cassandra-jdbc-wrapper 5.0.2, com.ing.data:cassandra-jdbc-wrapper 4.16.4","url":"https://github.com/advisories/GHSA-jc42-994r-vvwp","published_at":"2026-11-19T00:50:28Z","updated_at":"2026-11-19T00:50:29Z","fetched_at":"2026-11-21T19:15:18.416822Z","severity":"medium","cvss_score":5.5,"epss":0.0024,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"com.ing.data:cassandra-jdbc-wrapper","vuln_id":"CVE-2026-73504","vuln_ids":["CVE-2026-73504","GHSA-JC42-994R-VVWP"],"tags":["ghsa","maven","CWE-532"],"cluster_id":2272,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/2420","html":"https://vulnwatch.ve1ve2.com/item/2420"}},{"id":8178,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-73504: 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.toStringWithoutSensitiveV…","summary":"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.\n\nReferences:\nhttps://github.com/ing-bank/cassandra-jdbc-wrapper/commit/0b7ea0322e538304119f58f1214e4171312b245b\nhttps://github.com/ing-bank/cassandra-jdbc-wrapper/commit/ace58f7cf5c981d8dfe302f1a514ae4c6f827f38\nhttps://github.com/ing-bank/cassandra-jdbc-wrapper/releases/tag/v4.16.4\nhttps://github.com/ing-bank/cassandra-jdbc-wrapper/releases/tag/v5.0.2\nhttps://github.com/ing-bank/cassandra-jdbc-wrapper/security/advisories/GHSA-jc42-994r-vvwp\nhttps://github.com/ing-bank/cassandra-jdbc-wrapper/security/advisories/GHSA-jc42-994r-vvwp","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73504","published_at":"2026-11-18T20:19:12.780000Z","updated_at":"2026-11-18T21:18:01.700000Z","fetched_at":"2026-11-21T19:15:31.483976Z","severity":"medium","cvss_score":5.5,"epss":0.0024,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"apache","product":null,"vuln_id":"CVE-2026-73504","vuln_ids":["CVE-2026-73504","GHSA-JC42-994R-VVWP"],"tags":["CWE-532"],"cluster_id":2273,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/8178","html":"https://vulnwatch.ve1ve2.com/item/8178"}}]}