CVE-2026-104872open-telemetry opentelemetry-js-contrib
Medium 5.8 No auth needed
Follow: this CVE · open-telemetry · open-telemetry opentelemetry-js-contrib We alert you by email or Slack (account required).
- Priority
- 50
- CVSS 3.1
- 5.8
- EPSS
- —
- Auth required
- No
- Published
- Oct 2, 2026
- Updated
- Oct 6, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-532
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for opentelemetry-js-contrib.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @opentelemetry/instrumentation-cassandra-driver |
< 0.66.0 |
0.66.0 |
npm install @opentelemetry/instrumentation-cassandra-driver@0.66.0 |
| npm | @opentelemetry/instrumentation-knex |
< 0.65.0 |
0.65.0 |
npm install @opentelemetry/instrumentation-knex@0.65.0 |
| npm | @opentelemetry/instrumentation-mongoose |
< 0.67.0 |
0.67.0 |
npm install @opentelemetry/instrumentation-mongoose@0.67.0 |
| npm | @opentelemetry/instrumentation-mysql |
< 0.67.0 |
0.67.0 |
npm install @opentelemetry/instrumentation-mysql@0.67.0 |
| npm | @opentelemetry/instrumentation-mysql2 |
< 0.67.0 |
0.67.0 |
npm install @opentelemetry/instrumentation-mysql2@0.67.0 |
| npm | @opentelemetry/instrumentation-oracledb |
< 0.46.0 |
0.46.0 |
npm install @opentelemetry/instrumentation-oracledb@0.46.0 |
| npm | @opentelemetry/instrumentation-pg |
< 0.73.0 |
0.73.0 |
npm install @opentelemetry/instrumentation-pg@0.73.0 |
| npm | @opentelemetry/instrumentation-tedious |
< 0.40.0 |
0.40.0 |
npm install @opentelemetry/instrumentation-tedious@0.40.0 |
Per OSV / GitHub Advisories (GHSA-qqmp-wf37-98f9). Check the version in your lockfile before upgrading.
Affected products
- open-telemetry · opentelemetry-js-contrib
- @opentelemetry · instrumentation-cassandra-driver
- @opentelemetry · instrumentation-knex
- @opentelemetry · instrumentation-mongoose
- @opentelemetry · instrumentation-mysql
- @opentelemetry · instrumentation-mysql2
- @opentelemetry · instrumentation-oracledb
- @opentelemetry · instrumentation-pg
- @opentelemetry · instrumentation-tedious
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.