CVE-2026-54704: OpenTelemetry Java Instrumentation: JDBC Auto-Instrumentation Logging Clear-Text Passwords
OpenTelemetry Java Instrumentation JDBC auto-instrumentation may fail to sanitize passwords in SQL CONNECT statements when the password is double-quoted. As a result, clear-text database passwords can be added to trace span attributes and exported to observability backends.
Published Jul 29, 2026
Affected packages
io.opentelemetry.javaagent:opentelemetry-javaagent
- Ecosystem
- Maven
- Affected
- < 2.28.0-alpha
- Fixed in
- 2.28.0-alpha
- Check
mvn dependency:tree -Dincludes=io.opentelemetry.javaagent:opentelemetry-javaagent
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
OpenTelemetry Java Instrumentation JDBC auto-instrumentation may fail to sanitize passwords in SQL CONNECT statements when the password is double-quoted. As a result, clear-text database passwords can be added to trace span attributes and exported to observability backends.
Credited to FWinkler79.
References
- https://github.com/open-telemetry/opentelemetry-java-instrumentation/security/advisories/GHSA-rwqx-fvqh-6wm4
- https://nvd.nist.gov/vuln/detail/CVE-2026-54704
- https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/18754
- https://github.com/open-telemetry/opentelemetry-java-instrumentation/commit/7ac7fa6fda6c2e3b65bc5d3c6eba050311a49511
- https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/tag/v2.28.0
- https://github.com/advisories/GHSA-rwqx-fvqh-6wm4
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
