CVE-2026-104872
published medium CVSS 3.1 · 5.8Multiple @opentelemetry/instrumentation-* packages expose database username via unconditional db.user span attribute
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| open-telemetry | — | opentelemetry-js-contrib< 27e172a9e0d549559056ccd58f27d13467454156 | Affected | Not stated | GitHub_M |
| @opentelemetry | — | instrumentation-cassandra-driver< 0.66.0 | Affected | Not stated | GitHub_M |
| @opentelemetry | — | instrumentation-knex< 0.65.0 | Affected | Not stated | GitHub_M |
| @opentelemetry | — | instrumentation-mongoose< 0.67.0 | Affected | Not stated | GitHub_M |
| @opentelemetry | — | instrumentation-mysql< 0.67.0 | Affected | Not stated | GitHub_M |
| @opentelemetry | — | instrumentation-mysql2< 0.67.0 | Affected | Not stated | GitHub_M |
| @opentelemetry | — | instrumentation-oracledb< 0.46.0 | Affected | Not stated | GitHub_M |
| @opentelemetry | — | instrumentation-pg< 0.73.0 | Affected | Not stated | GitHub_M |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| @opentelemetry | — | instrumentation-tedious< 0.40.0 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.8 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| open-telemetry | opentelemetry-js-contrib | < 27e172a9e0d549559056ccd58f27d13467454156 (affected) | GitHub_M · cna |
| @opentelemetry | instrumentation-cassandra-driver | < 0.66.0 (affected) | GitHub_M · cna |
| @opentelemetry | instrumentation-knex | < 0.65.0 (affected) | GitHub_M · cna |
| @opentelemetry | instrumentation-mongoose | < 0.67.0 (affected) | GitHub_M · cna |
| @opentelemetry | instrumentation-mysql | < 0.67.0 (affected) | GitHub_M · cna |
| @opentelemetry | instrumentation-mysql2 | < 0.67.0 (affected) | GitHub_M · cna |
| @opentelemetry | instrumentation-oracledb | < 0.46.0 (affected) | GitHub_M · cna |
| @opentelemetry | instrumentation-pg | < 0.73.0 (affected) | GitHub_M · cna |
| @opentelemetry | instrumentation-tedious | < 0.40.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-532 CWE-532: Insertion of Sensitive Information into Log File
References
4- https://github.com/open-telemetry/opentelemetry-js-contrib/commit/27e172a9e0d549559056ccd58f27d13467454156
- https://github.com/open-telemetry/opentelemetry-js-contrib/commit/5b7dd0e102e940d653e04b08b5a1b721a8271037
- https://github.com/open-telemetry/opentelemetry-js-contrib/pull/3585
- https://github.com/open-telemetry/opentelemetry-js-contrib/security/advisories/GHSA-qqmp-wf37-98f9
Provider assertions
2GitHub_M · cna
Multiple @opentelemetry/instrumentation-* packages expose database username via unconditional db.user span attribute
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 66d93e62ca1733e5e73b2cc22c07c3740ca3a548721bf2b7774e2ad10c5e4c3d
- Ingested
- 06 Oct 2026, 18:42:18 UTC
- Source record
- Official CVE record