OpenTelemetry Java Instrumentation: JDBC Auto-Instrumentation Logging Clear-Text PasswordsGHSA-rwqx-fvqh-6wm4
MEDIUMFix: open-telemetry/opentelemetry-java-instrumentation#18754GHSA-rwqx-fvqh-6wm4 is a medium-severity (CVSS 6.5) CWE-532 vulnerability in io.opentelemetry.javaagent:opentelemetry-javaagent. A fix is available for io.opentelemetry.javaagent:opentelemetry-javaagent — see the affected versions and patch details below.
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-rwqx-fvqh-6wm4.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
io.opentelemetry.javaagent:opentelemetry-javaagentReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | io.opentelemetry.javaagent:opentelemetry-javaagent | all versions | 2.28.0-alphaio.opentelemetry.javaagent:opentelemetry-javaagent:2.28.0-alpha |
Affected Products
opentelemetry instrumentation for javalinuxfoundationDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for io.opentelemetry.javaagent:opentelemetry-javaagent, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update io.opentelemetry.javaagent:opentelemetry-javaagent to 2.28.0-alpha or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-rwqx-fvqh-6wm4 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-rwqx-fvqh-6wm4 in your dependencies?
Find it across Maven, including transitive dependencies.