Skip to main content

OpenTelemetry Java Instrumentation CVE-2026-54704

| EUVDEUVD-2026-41151 MEDIUM
Insertion of Sensitive Information into Log File (CWE-532)
2026-07-01 GitHub_M GHSA-rwqx-fvqh-6wm4
6.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain read access to observability backend
  2. Delivery
    Query JDBC span attributes from stored traces
  3. Exploit
    Identify SQL CONNECT spans with double-quoted password values
  4. Execution
    Extract clear-text database credential
  5. Persist
    Authenticate directly to target database
  6. Impact
    Access or exfiltrate database contents

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A09:2025 - Security Logging & Alerting Failures
ASVS 5.0
V16 - Security Logging and Error Handling Log data sanitization
Exploitation Conditions

Three conditions must align for exploitation: (1) the application runs OpenTelemetry Java Instrumentation prior to 2.28.0 with JDBC auto-instrumentation active (enabled by default when a JDBC driver is on the classpath); (2) the database connection's password value appears as a double-quoted string in the SQL CONNECT statement - passwords using single-quoted, unquoted, or parameterized formats are presumably sanitized correctly and are not affected; (3) the attacker possesses read access to the observability backend receiving the exported spans. Exploitation is passive - the credential leaks automatically during normal application operation; no active interaction with the Java application or database is required from the attacker's side. Limiting factors: non-default double-quote password encoding, and the requirement for observability backend access, which is typically restricted to operations or engineering staff rather than arbitrary network actors.

Impact

The CVSS 3.1 vector AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N scores 6.5 (Medium), correctly reflecting a network-reachable, low-complexity flaw with High confidentiality impact but no integrity or availability consequence. PR:L captures that an attacker requires read access to the observability backend rather than to the Java application itself. No EPSS data was provided in the intelligence, precluding probability-based prioritization. Neither a CISA KEV listing nor a public POC exists at time of analysis, indicating no public weaponization. Real-world risk is substantially elevated in organizations where telemetry data is broadly shared - federated dashboards, multi-tenant observability SaaS, or pipelines forwarding traces to SIEM systems - because any party with span read access gains database credentials. Organizations with tightly access-controlled, internal-only observability backends face meaningfully lower practical risk despite the same CVSS score. The double-quote triggering condition narrows the affected population to applications whose JDBC URLs or connection properties express passwords in double-quoted form, which is a less common but valid quoting convention.

Exploit ScenarioDerived

An attacker with read access to a shared Jaeger or Zipkin instance - for example, a developer with dashboard access in a multi-team environment - queries historical JDBC spans and identifies CONNECT statement attributes containing double-quoted database passwords in plaintext. The attacker extracts the credential, authenticates directly to the target database bypassing application-layer controls, and begins enumerating or exfiltrating sensitive data. No public POC exists, but exploitation requires only standard observability UI or API query access, not specialized tooling.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 01, 2026

OpenTelemetry Java Instrumentation prior to 2.28.0 leaks clear-text database passwords into distributed trace span attributes when JDBC auto-instrumentation encounters double-quoted passwords in SQL CONNECT statements, bypassing the sanitization logic. These poisoned spans are then exported to any configured observability backend - Jaeger, Zipkin, OTLP collectors, or third-party SaaS monitoring - making database credentials visible to all parties with telemetry read access. No public exploit or confirmed active exploitation exists at time of analysis, but the impact of credential exposure is high given downstream database access risk.

RemediationAI

Upgrade to OpenTelemetry Java Instrumentation version 2.28.0 or later; this is the vendor-confirmed fixed release per GHSA-rwqx-fvqh-6wm4 (https://github.com/open-telemetry/opentelemetry-java-instrumentation/security/advisories/GHSA-rwqx-fvqh-6wm4). If immediate upgrade is not feasible, disable JDBC auto-instrumentation by setting the agent property otel.instrumentation.jdbc.enabled=false at startup - this eliminates the credential leakage path but also removes all JDBC-related span data, degrading database observability. As a secondary compensating control, restrict read access to all observability backends (Jaeger, Zipkin, OTLP collectors, monitoring SaaS) to the minimum required personnel, reducing the window for credential harvesting even if leakage continues. After patching or mitigating, audit stored trace data in all observability backends for spans containing SQL CONNECT attributes with password values, and rotate any database credentials that may have been captured during the exposure window.

Affected VersionsENISA

opentelemetry-java-instrumentation < 2.28.0

Affected Packages

maven io.opentelemetry.javaagent:opentelemetry-javaagent fix: 2.28.0-alpha
euvd opentelemetry_java_instrumentation fix: 2.28.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

OpenTelemetry Java Instrumentation is an agent-based library (CPE cpe:2.3:a:open-telemetry:opentelemetry-java-instrumentation:*:*:*:*:*:*:*:*) that intercepts Java application internals - including JDBC database drivers - via bytecode manipulation to auto-generate distributed trace spans. When recording JDBC connection events, the agent captures SQL CONNECT statement metadata as span attributes. CWE-532 (Insertion of Sensitive Information into Log File) describes the root cause class: the sanitization routine that should redact credential values before recording them fails when the password token uses double-quote delimiters, likely because the parser only handles single-quoted or unquoted string literals. The resulting span attributes containing plaintext passwords are forwarded to any configured OpenTelemetry exporter endpoint over the network, following the OTLP protocol or vendor-specific exporter integrations.

Know when Opentelemetry Java Instrumentation gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 6.5 MEDIUM

Leaked credentials export to network-accessible telemetry backend (AV:N); observability backend read access required (PR:L); no integrity or availability impact from credential disclosure alone.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

1
Patch available
Jul 01, 2026 - 23:02 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Medium
widely adopted Java observability agent, not universally deployed
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

52
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy