Vulnerabilities in pkg:maven/io.opentelemetry.javaagent/opentelemetry-javaagent

PACKAGE
Advisory Identifier: GHSA-rwqx-fvqh-6wm4
Advisory Summary

CVE-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.

3 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/io.opentelemetry.javaagent/opentelemetry-javaagent

3 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/io.opentelemetry.javaagent/opentelemetry-javaagent. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-rwqx-fvqh-6wm4 CVE-2026-54704 MODERATE OpenTelemetry Java Instrumentation: JDBC Auto-Instrumentation Logging Clear-Text Passwords
GHSA-fq3f-m5qm-99f5 CVE-2026-54712 MODERATE OpenTelemetry Javaagent RMI context propagation allows resource exhaustion
GHSA-xw7x-h9fj-p2c7 CVE-2026-33701 CRITICAL OpenTelemetry: Unsafe Deserialization in RMI Instrumentation may Lead to Remote Code Execution

CVE-2026-54704 at a Glance

CVE Identifier CVE-2026-54704
GHSA Identifier GHSA-rwqx-fvqh-6wm4
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-532: Insertion of Sensitive Information into Log File
Affected Product OpenTelemetry Java Instrumentation
Package Ecosystem Maven
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (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.

io.opentelemetry.javaagent:opentelemetry-javaagent fixed: 2.28.0-alpha
<dependency>
    <groupId>io.opentelemetry.javaagent</groupId>
    <artifactId>opentelemetry-javaagent</artifactId>
    <version>2.28.0-alpha</version>
</dependency>
Verify Direct and Transitive Dependencies

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

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.

CVE-2026-54704 Affected OpenTelemetry Java Instrumentation Versions

1 component(s)
Fixed Versions:
2.28.0-alpha
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?
CVE-2026-54704 is a security vulnerability in OpenTelemetry Java Instrumentation involving JDBC Auto-Instrumentation Logging Clear-Text Passwords under CWE-532: Insertion of Sensitive Information into Log File.
Which OpenTelemetry Java Instrumentation versions are affected?
Affected versions include releases prior to 2.28.0-alpha across affected packages: io.opentelemetry.javaagent:opentelemetry-javaagent.
What version fixes CVE-2026-54704?
Upgrading to 2.28.0-alpha (or the latest patched release for your respective branch) resolves the vulnerability.
Is opentelemetry-javaagent affected?
Yes, io.opentelemetry.javaagent:opentelemetry-javaagent is affected in releases prior to 2.28.0-alpha. Upgrade your dependency to 2.28.0-alpha or later.
What is the CVSS score of CVE-2026-54704?
CVE-2026-54704 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2026-54704?
CVE-2026-54704 is classified under CWE-532: Insertion of Sensitive Information into Log File (The product writes sensitive information to a log file.).
How can I check Maven dependencies for CVE-2026-54704?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=io.opentelemetry.javaagent'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}