CVE-2026-54704

OpenTelemetry Java Instrumentation: JDBC Auto-Instrumentation Logging Clear-Text Passwords

Published Jul 1, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

OpenTelemetry Java Instrumentation versions before 2.28.0 allow JDBC auto‑instrumentation to trace password is double‑quoted in an SQL CONNECT statement. Those credentials are then exported to observability backends, making them available in logs (CWE‑532).

Affected Systems

The affected vendor is OpenTelemetry and the product is OpenTelemetry Java Instrumentation. All releases before 2.28.0 are vulnerable; the issue was addressed in version 2.28.0 and later releases are not impacted.

Risk and Exploitability

The CVSS score of 6.5 indicates moderate severity. The EPSS score of < 1% and it is not listed in the CISA KEV catalog. The likely attack vector the application establish JDBC connections with double‑quoted passwords, causing those credentials to be recorded in span data that may be transmitted to backend collectors. If by an adversary the credentials could be recovered from trace logs, posing a moderate risk, especially in environments where trace data is exposed or retained for long periods.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the OpenTelemetry Java Instrumentation library to version 2.28.0, which addresses the CWE‑532 vulnerability by removing unsanitized password logging from JDBC auto‑instrumentation.
  • Reconfigure the library to disable JDBC auto‑instrumentation or apply a custom filter that evaluates against CWE‑532, masking or excluding password fields from trace attributes.
  • Restrict access to observability backends to mitigate CWE‑532 risks, ensuring trace data containing sensitive passwords is not exposed to unauthorized parties.

Generated by OpenCVE AI on August 1, 2026 at 22:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-rwqx-fvqh-6wm4 OpenTelemetry Java Instrumentation: JDBC Auto-Instrumentation Logging Clear-Text Passwords
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Opentelemetry
Opentelemetry opentelemetry-java-instrumentation
Vendors & Products Opentelemetry
Opentelemetry opentelemetry-java-instrumentation
Type Values Removed Values Added
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.
Title OpenTelemetry Java Instrumentation: JDBC Auto-Instrumentation Logging Clear-Text Passwords
Weaknesses CWE-532
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

Weaknesses
  • CWE-532

    Insertion of Sensitive Information into Log File

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 2, 2026, 12:23 PM
Reserved
Jun 15, 2026, 10:58 PM
Status
Analyzed
Published
Jul 1, 2026, 10:16 PM
Modified
Oct 25, 2026, 4:10 PM