Disclosure summary
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-reported weakness categories
CWE-532
Source-specific records & product guidance
Sources retain their own attribution and scoring. Follow the original record to confirm affected versions, fixed releases, and configuration conditions.
GitHub Reviewed Security Advisories · GHSA-qqmp-wf37-98f9
Open original source · Updated Oct 05, 2026
Multiple @opentelemetry/instrumentation-* packages expose database username via unconditional db.user span attribute
Source severity: MEDIUM / 0
| Ecosystem | Package | Affected range | First patched |
|---|---|---|---|
| npm | @opentelemetry/instrumentation-cassandra-driver | < 0.66.0 | 0.66.0 |
| npm | @opentelemetry/instrumentation-tedious | < 0.40.0 | 0.40.0 |
| npm | @opentelemetry/instrumentation-oracledb | < 0.46.0 | 0.46.0 |
| npm | @opentelemetry/instrumentation-mongoose | < 0.67.0 | 0.67.0 |
| npm | @opentelemetry/instrumentation-mysql | < 0.67.0 | 0.67.0 |
| npm | @opentelemetry/instrumentation-knex | < 0.65.0 | 0.65.0 |
| npm | @opentelemetry/instrumentation-mysql2 | < 0.67.0 | 0.67.0 |
| npm | @opentelemetry/instrumentation-pg | < 0.73.0 | 0.73.0 |
NIST National Vulnerability Database · NVD-CVE-2026-104872
Open original source · Updated Oct 02, 2026
Only CPE matches marked vulnerable=true are indexed. AND/OR platform conditions must be checked in the original NVD record.
Original records & references
PUBLISHED 2026-10-02T16:17:01-04:00
MODIFIED 2026-10-02T16:17:01-04:00
INGESTED 2026-10-06T11:45:30-04:00