CVE-2026-54704: OpenTelemetry Java Instrumentation JDBC Auto-Instrumentation Logging Clear-Text Passwords Vulnerability
MODERATECVE-2026-54704 is a MODERATE (CVSS 6.5) jdbc auto-instrumentation logging clear-text passwords vulnerability (CWE-532: Insertion of Sensitive Information into Log File) affecting OpenTelemetry Java Instrumentation libraries in the Maven ecosystem. The issue involves jdbc auto-instrumentation logging clear-text passwords. Remediation is available by upgrading affected packages to version 2.28.0-alpha.
CVE-2026-54704 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2026-54704
To remediate this vulnerability, upgrade all affected OpenTelemetry Java Instrumentation 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>io.opentelemetry.javaagent</groupId>
<artifactId>opentelemetry-javaagent</artifactId>
<version>2.28.0-alpha</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=io.opentelemetry.javaagent
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2026-54704, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=io.opentelemetry.javaagent
Analyze the terminal output to locate any version of OpenTelemetry Java Instrumentation in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.28.0-alpha), your application is affected.
Note: The mvn dependency:tree -Dincludes=io.opentelemetry.javaagent 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 OpenTelemetry Java Instrumentation, 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-54704 Affected OpenTelemetry Java Instrumentation Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
io.opentelemetry.javaagent:opentelemetry-javaagent
|
Maven |
< 2.28.0-alpha
|
2.28.0-alpha
|
References
Frequently Asked Questions
What is CVE-2026-54704?
Which OpenTelemetry Java Instrumentation versions are affected?
What version fixes CVE-2026-54704?
Is opentelemetry-javaagent affected?
What is the CVSS score of CVE-2026-54704?
What CWE is associated with CVE-2026-54704?
How can I check Maven dependencies for CVE-2026-54704?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-rwqx-fvqh-6wm4",
"modified" : "2026-07-29T17:18:34Z",
"published" : "2026-07-29T17:18:34Z",
"aliases" : [ "CVE-2026-54704" ],
"summary" : "OpenTelemetry Java Instrumentation: JDBC Auto-Instrumentation Logging Clear-Text Passwords",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "io.opentelemetry.javaagent:opentelemetry-javaagent"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.28.0-alpha"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/open-telemetry/opentelemetry-java-instrumentation/security/advisories/GHSA-rwqx-fvqh-6wm4"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-54704"
}, {
"type" : "WEB",
"url" : "https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/18754"
}, {
"type" : "WEB",
"url" : "https://github.com/open-telemetry/opentelemetry-java-instrumentation/commit/7ac7fa6fda6c2e3b65bc5d3c6eba050311a49511"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/open-telemetry/opentelemetry-java-instrumentation"
}, {
"type" : "WEB",
"url" : "https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/tag/v2.28.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-532" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-07-29T17:18:34Z",
"nvd_published_at" : "2026-07-01T22:16:50Z"
}
}