Home / open-telemetry / opentelemetry-js-contrib / CVE-2026-104872
CVE-2026-104872: is it exploited, and which versions of open-telemetry opentelemetry-js-contrib are affected and fixed?
CVE-2026-104872 is a sensitive information written to log files vulnerability in open-telemetry opentelemetry-js-contrib. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: @opentelemetry/instrumentation-cassandra-driver before 0.66.0, @opentelemetry/instrumentation-tedious before 0.40.0, @opentelemetry/instrumentation-oracledb before 0.46.0 and 5 more (GitHub advisory GHSA-qqmp-wf37-98f9). Fixed in 0.66.0, 0.40.0, 0.46.0, 0.67.0 and 2 more (GitHub advisory GHSA-qqmp-wf37-98f9). Severity: Medium (5.8, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:05 UTC and NVD November 19, 2026, 07:06 UTC.
What is CVE-2026-104872?
Multiple @opentelemetry/instrumentation-* packages expose database username via unconditional db.user span attribute
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.
From the CVE record by GitHub_M, last updated October 6, 2026, 16:40 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| open-telemetry | opentelemetry-js-contrib | < 27e172a9e0d549559056ccd58f27d13467454156 | |
| @opentelemetry | instrumentation-cassandra-driver | < 0.66.0 | |
| @opentelemetry | instrumentation-knex | < 0.65.0 | |
| @opentelemetry | instrumentation-mongoose | < 0.67.0 | |
| @opentelemetry | instrumentation-mysql | < 0.67.0 | |
| @opentelemetry | instrumentation-mysql2 | < 0.67.0 | |
| @opentelemetry | instrumentation-oracledb | < 0.46.0 | |
| @opentelemetry | instrumentation-pg | < 0.73.0 | |
| @opentelemetry | instrumentation-tedious | < 0.40.0 |
As the CVE record by GitHub_M states it, last updated October 6, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | @opentelemetry/instrumentation-cassandra-driver | < 0.66.0 | 0.66.0 | GHSA-qqmp-wf37-98f9 |
| npm | @opentelemetry/instrumentation-tedious | < 0.40.0 | 0.40.0 | GHSA-qqmp-wf37-98f9 |
| npm | @opentelemetry/instrumentation-oracledb | < 0.46.0 | 0.46.0 | GHSA-qqmp-wf37-98f9 |
| npm | @opentelemetry/instrumentation-mongoose | < 0.67.0 | 0.67.0 | GHSA-qqmp-wf37-98f9 |
| npm | @opentelemetry/instrumentation-mysql | < 0.67.0 | 0.67.0 | GHSA-qqmp-wf37-98f9 |
| npm | @opentelemetry/instrumentation-knex | < 0.65.0 | 0.65.0 | GHSA-qqmp-wf37-98f9 |
| npm | @opentelemetry/instrumentation-mysql2 | < 0.67.0 | 0.67.0 | GHSA-qqmp-wf37-98f9 |
| npm | @opentelemetry/instrumentation-pg | < 0.73.0 | 0.73.0 | GHSA-qqmp-wf37-98f9 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 5, 2026. Summary: Multiple @opentelemetry/instrumentation-* packages expose database username via unconditional db.user span attribute.
How severe is CVE-2026-104872?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-104872 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, October 6, 2026)
- EPSS
- 0.24% probability of exploitation activity in the next 30 days, percentile 16.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-532 Insertion of Sensitive Information into Log File
Where are the vendor advisories and references?
- https://github.com/open-telemetry/opentelemetry-js-contrib/security/advisories/GHSA-qqmp-wf37-98f9 x_refsource_CONFIRM
- https://github.com/open-telemetry/opentelemetry-js-contrib/pull/3585 x_refsource_MISC
- https://github.com/open-telemetry/opentelemetry-js-contrib/commit/27e172a9e0d549559056ccd58f27d13467454156 x_refsource_MISC
- https://github.com/open-telemetry/opentelemetry-js-contrib/commit/5b7dd0e102e940d653e04b08b5a1b721a8271037 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- October 2, 2026
- Published
- October 2, 2026, 19:50 UTC
- CVE record updated
- October 6, 2026, 16:40 UTC by GitHub_M
- NVD
- Awaiting Analysis, last modified October 6, 2026, 17:17 UTC
- Last checked
- CVE list November 19, 2026, 07:05 UTC; NVD November 19, 2026, 07:06 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2026-104872
Is CVE-2026-104872 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.24% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of open-telemetry opentelemetry-js-contrib are affected by CVE-2026-104872?
@opentelemetry/instrumentation-cassandra-driver before 0.66.0, @opentelemetry/instrumentation-tedious before 0.40.0, @opentelemetry/instrumentation-oracledb before 0.46.0, @opentelemetry/instrumentation-mongoose before 0.67.0, @opentelemetry/instrumentation-mysql before 0.67.0, @opentelemetry/instrumentation-knex before 0.65.0 and 2 more, per the GitHub advisory GHSA-qqmp-wf37-98f9. The tables above give every range the sources list.
Which version fixes CVE-2026-104872?
0.66.0, 0.40.0, 0.46.0, 0.67.0, 0.65.0 and 0.73.0, per the GitHub advisory GHSA-qqmp-wf37-98f9. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-104872?
Medium (5.8, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-104872?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.