CVE-2026-104872Open Telemetry Opentelemetry-js-contrib sensitive information in log files
CVSS score
5.8
Medium
CVSS 3.1 from github.com
Exploit probability (EPSS)
0.24%
0.24% chance of exploitation in the next 30 days, higher than 15.8% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
OpenTelemetry JavaScript Contrib provides instrumentation libraries for collecting telemetry from JavaScript applications. Prior to versions 0.66.0 of @opentelemetry/instrumentation-cassandra-driver, 0.65.0 of @opentelemetry/instrumentation-knex, 0.67.0 of @opentelemetry/instrumentation-mongoose, @opentelemetry/instrumentation-mysql, and @opentelemetry/instrumentation-mysql2, 0.46.0 of @opentelemetry/instrumentation-oracledb, 0.73.0 of @opentelemetry/instrumentation-pg, and 0.40.0 of @opentelemetry/instrumentation-tedious, the packages add the database connection username to every instrumented database operation as the db.user span attribute. The attribute is emitted by default and is not controlled by enhancedDatabaseReporting or another opt-in setting. Configured observability backends therefore receive database account names that may expose service topology, role or environment information, and account naming patterns. This issue is fixed in versions 0.66.0, 0.65.0, 0.67.0, 0.46.0, 0.73.0, and 0.40.0 of the respective packages.
Source: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Check whether you're affected
Find every system running open-telemetry Opentelemetry-js-contrib, open-telemetry Instrumentation-cassandra-driver, open-telemetry Instrumentation-knex, open-telemetry Instrumentation-mongoose, open-telemetry Instrumentation-mysql2 and compare its version with the affected versions.
Update to a fixed version
- Update Instrumentation-cassandra-driver to 0.66.0 or later.
- Update Instrumentation-knex to 0.65.0 or later.
- Update Instrumentation-mongoose, Instrumentation-mysql2 to 0.67.0 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
Affected products
| Affected products | Versions |
|---|---|
| open-telemetry Opentelemetry-js-contrib | < 27e172a9e0d549559056ccd58f27d13467454156 |
| open-telemetry Instrumentation-cassandra-driver | < 0.66.0 |
| open-telemetry Instrumentation-knex | < 0.65.0 |
| open-telemetry Instrumentation-mongoose | < 0.67.0 |
| open-telemetry Instrumentation-mysql | < 0.67.0 |
| open-telemetry Instrumentation-mysql2 | < 0.67.0 |
| open-telemetry Instrumentation-oracledb | < 0.46.0 |
| open-telemetry Instrumentation-pg | < 0.73.0 |
| open-telemetry Instrumentation-tedious | < 0.40.0 |
Weakness
- CWE-532 sensitive information in log files
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-104872 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.2% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-104872?
CVE-2026-104872 has a CVSS 3.1 base score of 5.8 (medium).
Which versions are affected?
Open Telemetry Opentelemetry-js-contrib (< 27e172a9e0d549559056ccd58f27d13467454156), Open Telemetry Instrumentation-cassandra-driver (< 0.66.0), Open Telemetry Instrumentation-knex (< 0.65.0), Open Telemetry Instrumentation-mongoose (< 0.67.0), Open Telemetry Instrumentation-mysql (< 0.67.0), Open Telemetry Instrumentation-mysql2 (< 0.67.0)
Is there a patch for CVE-2026-104872?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/open-telemetry/opentelemetry-js-contrib/commit/27e172a9e0d549559056ccd58f27d13467454156
- github.com/open-telemetry/opentelemetry-js-contrib/commit/5b7dd0e102e940d653e04b08b5a1b721a8271037
- github.com/open-telemetry/opentelemetry-js-contrib/pull/3585
- github.com/open-telemetry/opentelemetry-js-contrib/security/advisories/GHSA-qqmp-wf37-98f9
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.