CVE-2026-104872Multiple @opentelemetry/instrumentation-* packages expose database username via unconditional db.user span attribute
- 5.8MediumCVSS base score
- 0.24%Exploitation in 30 daysEPSS · top 84% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By GitHub_M
Published
- 4 days later
· 4 days later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium5.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N |
| NVDNVD · Awaiting Analysis | 3.1 | Medium5.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N |
- EPSS (exploitation in 30 days)
- 0.24% · top 84% of all CVEs (17 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.8.
Affected products
open-telemetry · opentelemetry-js-contrib
- affected < 27e172a9e0d549559056ccd58f27d13467454156
@opentelemetry · instrumentation-cassandra-driver
- affected < 0.66.0
@opentelemetry · instrumentation-knex
- affected < 0.65.0
@opentelemetry · instrumentation-mongoose
- affected < 0.67.0
@opentelemetry · instrumentation-mysql
- affected < 0.67.0
@opentelemetry · instrumentation-mysql2
- affected < 0.67.0
@opentelemetry · instrumentation-oracledb
- affected < 0.46.0
@opentelemetry · instrumentation-pg
- affected < 0.73.0
@opentelemetry · instrumentation-tedious
- affected < 0.40.0
Affected packages
Affected packages8
From reviewed advisories of the GitHub Advisory Database.
- npm@opentelemetry/instrumentation-cassandra-driverGHSA-qqmp-wf37-98f9 (opens in a new tab)
- npm@opentelemetry/instrumentation-knexGHSA-qqmp-wf37-98f9 (opens in a new tab)
- npm@opentelemetry/instrumentation-mongooseGHSA-qqmp-wf37-98f9 (opens in a new tab)
- npm@opentelemetry/instrumentation-mysqlGHSA-qqmp-wf37-98f9 (opens in a new tab)
- npm@opentelemetry/instrumentation-mysql2GHSA-qqmp-wf37-98f9 (opens in a new tab)
- npm@opentelemetry/instrumentation-oracledbGHSA-qqmp-wf37-98f9 (opens in a new tab)
- npm@opentelemetry/instrumentation-pgGHSA-qqmp-wf37-98f9 (opens in a new tab)
- npm@opentelemetry/instrumentation-tediousGHSA-qqmp-wf37-98f9 (opens in a new tab)
References
References4
- https://github.com/open-telemetry/opentelemetry-js-contrib/security/advisories/GHSA-qqmp-wf37-98f9 (opens in a new tab)x_refsource_CONFIRM
- https://github.com/open-telemetry/opentelemetry-js-contrib/pull/3585 (opens in a new tab)x_refsource_MISC
- https://github.com/open-telemetry/opentelemetry-js-contrib/commit/27e172a9e0d549559056ccd58f27d13467454156 (opens in a new tab)x_refsource_MISC
- https://github.com/open-telemetry/opentelemetry-js-contrib/commit/5b7dd0e102e940d653e04b08b5a1b721a8271037 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-91788 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-qqmp-wf37-98f9 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-104872)Record last updated .