CVE-2026-54704 OpenTelemetry Java Instrumentation: JDBC Auto-Instrumentation Logging Clear-Text Passwords

Medium 6.5 Published Updated

Attackers with access to observability backends can read clear-text database passwords leaked via unsanitized JDBC trace attributes.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-54704?

CVE-2026-54704 is a medium-severity vulnerability in open-telemetry opentelemetry-java-instrumentation, published on 1 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

OpenTelemetry Java Instrumentation provides OpenTelemetry auto-instrumentation and instrumentation libraries for Java. In versions prior to 2.28.0, the 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. This issue has been fixed in version 2.28.0.

Weakness: CWE-532

Which versions are affected by CVE-2026-54704?

2 open source packages ship an affected version, including io.opentelemetry.javaagent:opentelemetry-javaagent. It affects 1 product.

PackageAffectedFixed in
io.opentelemetry.javaagent:opentelemetry-javaagent MavenAll versions2.28.0-alpha
io.opentelemetry.javaagent:opentelemetry-javaagent MavenAll versions2.28.0-alpha

Products include Linuxfoundation Opentelemetry Instrumentation for Java.

How do I fix CVE-2026-54704?

Upgrade io.opentelemetry.javaagent:opentelemetry-javaagent to 2.28.0-alpha or later.

Is CVE-2026-54704 being exploited?

There is no known exploitation of CVE-2026-54704 in the wild and no public exploit code.

Sources

Also known as GHSA-rwqx-fvqh-6wm4.

Is CVE-2026-54704 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free