Critical Vulnerability CVE-2026-73504 Exposes Cleartext Authentication Tokens in Cassandra JDBC Wrapper Logs

CVE-2026-73504 · ING Bank: Critical Vulnerability Exposes Tokens in Cassandra Wrapper Logs

A newly disclosed security flaw tracked as CVE-2026-73504 (also designated as GHSA-jc42-994r-vvwp) affects ING Bank's cassandra-jdbc-wrapper library, specifically within the com.ing.data:cassandra-jdbc-wrapper package. According to reports from both sources, the vulnerability carries a CVSS v3.1 base score of 5.5, classifying it as a medium-severity issue. The flaw stems from an incomplete log sanitization routine that inadvertently writes plaintext authentication tokens, such as DataStax Astra DB bearer tokens, directly into application logs whenever DEBUG-level logging is enabled for the driver namespace.

Technical Root Cause and Remediation

The vulnerability represents an incomplete remediation of a prior credential exposure issue tracked as AIKIDO-2024-10565. While the earlier patch successfully introduced utility methods within DriverUtil.java—namely toStringWithoutSensitiveValues and redactSensitiveValuesInJdbcUrl—to redact the password property, it omitted the token property managed by JdbcUrlUtil.TAG_TOKEN. Consequently, when applications initialize database connections or execute queries with verbose logging turned on, connection properties and JDBC URLs containing sensitive cloud credentials remain unmasked.

To address this shortcoming, maintainers have released patched versions across the library's active development branches. Developers using the 4.x branch must upgrade to version 4.16.4 or later, while those utilizing the 5.0.x branch are required to update to version 5.0.2 or higher. The official commits introduce explicit conditional checks for the token property alongside the existing password checks, ensuring that sensitive strings are replaced with standard placeholder asterisks before logs are emitted to disk or centralized monitoring backends.

Patched versions require upgrading to version 4.16.4 or version 5.0.2 or higher.

Impacted Systems and Attack Vectors

The security defect impacts Java applications built using Maven packages where cassandra-jdbc-wrapper versions fall below 4.16.4 or reside between 5.0.0 and 5.0.1. The attack vector is localized, requiring local filesystem access, container log viewing permissions, or read access to centralized log aggregation platforms like Elasticsearch, Splunk, or AWS CloudWatch. Although the CVSS vector designates the attack complexity as low and user interaction as unnecessary, an attacker must already possess a foothold or authorization to inspect application log streams.

Once an adversary extracts a leaked AstraCS token from unredacted logs, they can potentially authenticate directly against target Cassandra databases or cloud endpoints, depending on network accessibility and access control lists. While neither source reports any known public exploits or listing within the CISA Known Exploited Vulnerabilities catalog at the time of publication, the exposure introduces severe confidentiality risks if logs are improperly secured.

Analysis: Architectural Limitations and Mitigation Strategies

A deeper technical examination provided in the extended source reporting highlights that the patch, while necessary, relies on a static and strict denylist approach that leaves room for potential edge-case bypasses. Specifically, the url splitting logic relies on the ampersand character, meaning that if a sensitive token or password parameter is positioned immediately as the first query parameter right after the question mark delimiter, the splitting array might fail to match the expected prefix and leave the credential unredacted. Furthermore, exact case-matching rules mean that case variations or URL-encoded parameter names could theoretically evade detection. These architectural constraints emphasize that relying solely on log-sanitization string filters is inherently fragile for high-security environments.

To mitigate these risks comprehensively, engineering teams must take proactive steps beyond simply upgrading their Maven dependencies. Organizations should immediately audit their logging configurations—such as logback.xml or log4j2.xml—to ensure that the com.ing.data.cassandra.jdbc logger hierarchy is strictly restricted to INFO or WARN levels in production and staging environments. Additionally, teams should consider passing sensitive parameters via java.util.Properties objects rather than raw JDBC URL query strings where feasible. Finally, because past logging sessions may have already captured cleartext credentials, security personnel must rotate all DataStax Astra DB tokens and database credentials that could have been exposed during troubleshooting, alongside implementing regex-based log scrubbing in downstream log ingestion pipelines.

Editorial graphic and headline text by Signal Titans.

Source: CVE-2026-73504: CVE-2026-73504: Plaintext Authentication Token Exposure in cassandra-jdbc-wrapper Debug Logs · CVE-2026-73504: CVE-2026-73504: Plaintext Authentication Token Exposure in cassandra-jdbc-wrapper Debug Logs | CVEReports

Share this article
FacebookThreadsLinkedInX

Leave a Reply

Your email address will not be published. Required fields are marked *