Read the docs

Multiple @opentelemetry/instrumentation-* packages expose database username via unconditional db.user span attribute

Priority LOW 32CWE-532Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
Low · None · None
Fix status
Partial Red Hat: 2 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-532.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00244 15th percentileScored 2026-11-07
Fix Partial opentelemetry-js-contrib (open-telemetry): 27e172a9e0d549559056ccd58f27d13467454156instrumentation-cassandra-driver (@opentelemetry): 0.66.0+15 more productsRed Hat: 2 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
open-telemetryopentelemetry-js-contribbefore 27e172a9e0d549559056ccd58f27d1346745415627e172a9e0d549559056ccd58f27d13467454156Patch availableCNA
open-telemetryinstrumentation-cassandra-driverbefore 0.66.00.66.0Patch availableCNA
open-telemetryinstrumentation-knexbefore 0.65.00.65.0Patch availableCNA
open-telemetryinstrumentation-mongoosebefore 0.67.00.67.0Patch availableCNA
open-telemetryinstrumentation-mysqlbefore 0.67.00.67.0Patch availableCNA
open-telemetryinstrumentation-mysql2before 0.67.00.67.0Patch availableCNA
open-telemetryinstrumentation-oracledbbefore 0.46.00.46.0Patch availableCNA
open-telemetryinstrumentation-pgbefore 0.73.00.73.0Patch availableCNA
open-telemetryinstrumentation-tediousbefore 0.40.00.40.0Patch availableCNA
—@opentelemetry/instrumentation-cassandra-driver (npm)before 0.66.00.66.0Patch availableGHSA-qqmp-wf37-98f9
—@opentelemetry/instrumentation-tedious (npm)before 0.40.00.40.0Patch availableGHSA-qqmp-wf37-98f9
—@opentelemetry/instrumentation-oracledb (npm)before 0.46.00.46.0Patch availableGHSA-qqmp-wf37-98f9
—@opentelemetry/instrumentation-mongoose (npm)before 0.67.00.67.0Patch availableGHSA-qqmp-wf37-98f9
—@opentelemetry/instrumentation-mysql (npm)before 0.67.00.67.0Patch availableGHSA-qqmp-wf37-98f9
—@opentelemetry/instrumentation-knex (npm)before 0.65.00.65.0Patch availableGHSA-qqmp-wf37-98f9
—@opentelemetry/instrumentation-mysql2 (npm)before 0.67.00.67.0Patch availableGHSA-qqmp-wf37-98f9
—@opentelemetry/instrumentation-pg (npm)before 0.73.00.73.0Patch availableGHSA-qqmp-wf37-98f9
  • opentelemetry-js-contrib Vendoropen-telemetry Affected before 27e172a9e0d549559056ccd58f27d13467454156 Fixed in 27e172a9e0d549559056ccd58f27d13467454156 Patch available CNA
  • instrumentation-cassandra-driver Vendoropen-telemetry Affected before 0.66.0 Fixed in 0.66.0 Patch available CNA
  • instrumentation-knex Vendoropen-telemetry Affected before 0.65.0 Fixed in 0.65.0 Patch available CNA
  • instrumentation-mongoose Vendoropen-telemetry Affected before 0.67.0 Fixed in 0.67.0 Patch available CNA
  • instrumentation-mysql Vendoropen-telemetry Affected before 0.67.0 Fixed in 0.67.0 Patch available CNA
  • instrumentation-mysql2 Vendoropen-telemetry Affected before 0.67.0 Fixed in 0.67.0 Patch available CNA
  • instrumentation-oracledb Vendoropen-telemetry Affected before 0.46.0 Fixed in 0.46.0 Patch available CNA
  • instrumentation-pg Vendoropen-telemetry Affected before 0.73.0 Fixed in 0.73.0 Patch available CNA
  • instrumentation-tedious Vendoropen-telemetry Affected before 0.40.0 Fixed in 0.40.0 Patch available CNA
  • @opentelemetry/instrumentation-cassandra-driver (npm) Vendor— Affected before 0.66.0 Fixed in 0.66.0 Patch available GHSA-qqmp-wf37-98f9
  • @opentelemetry/instrumentation-tedious (npm) Vendor— Affected before 0.40.0 Fixed in 0.40.0 Patch available GHSA-qqmp-wf37-98f9
  • @opentelemetry/instrumentation-oracledb (npm) Vendor— Affected before 0.46.0 Fixed in 0.46.0 Patch available GHSA-qqmp-wf37-98f9
  • @opentelemetry/instrumentation-mongoose (npm) Vendor— Affected before 0.67.0 Fixed in 0.67.0 Patch available GHSA-qqmp-wf37-98f9
  • @opentelemetry/instrumentation-mysql (npm) Vendor— Affected before 0.67.0 Fixed in 0.67.0 Patch available GHSA-qqmp-wf37-98f9
  • @opentelemetry/instrumentation-knex (npm) Vendor— Affected before 0.65.0 Fixed in 0.65.0 Patch available GHSA-qqmp-wf37-98f9
  • @opentelemetry/instrumentation-mysql2 (npm) Vendor— Affected before 0.67.0 Fixed in 0.67.0 Patch available GHSA-qqmp-wf37-98f9
  • @opentelemetry/instrumentation-pg (npm) Vendor— Affected before 0.73.0 Fixed in 0.73.0 Patch available GHSA-qqmp-wf37-98f9

Remediation

  • Fix · CNA opentelemetry-js-contrib (open-telemetry) Fixed in 27e172a9e0d549559056ccd58f27d13467454156
  • Fix · CNA instrumentation-cassandra-driver (@opentelemetry) Fixed in 0.66.0
  • Fix · CNA instrumentation-knex (@opentelemetry) Fixed in 0.65.0
  • Fix · CNA instrumentation-mongoose (@opentelemetry) Fixed in 0.67.0
  • Fix · CNA instrumentation-mysql (@opentelemetry) Fixed in 0.67.0
  • Fix · CNA instrumentation-mysql2 (@opentelemetry) Fixed in 0.67.0
  • Fix · CNA instrumentation-oracledb (@opentelemetry) Fixed in 0.46.0
  • Fix · CNA instrumentation-pg (@opentelemetry) Fixed in 0.73.0
  • Fix · CNA instrumentation-tedious (@opentelemetry) Fixed in 0.40.0
  • Fix · GHSA-qqmp-wf37-98f9 @opentelemetry/instrumentation-cassandra-driver (npm) Fixed in 0.66.0 Advisory →
  • Fix · GHSA-qqmp-wf37-98f9 @opentelemetry/instrumentation-tedious (npm) Fixed in 0.40.0 Advisory →
  • Fix · GHSA-qqmp-wf37-98f9 @opentelemetry/instrumentation-oracledb (npm) Fixed in 0.46.0 Advisory →
  • Fix · GHSA-qqmp-wf37-98f9 @opentelemetry/instrumentation-mongoose (npm) Fixed in 0.67.0 Advisory →
  • Fix · GHSA-qqmp-wf37-98f9 @opentelemetry/instrumentation-mysql (npm) Fixed in 0.67.0 Advisory →
  • Fix · GHSA-qqmp-wf37-98f9 @opentelemetry/instrumentation-knex (npm) Fixed in 0.65.0 Advisory →
  • Fix · GHSA-qqmp-wf37-98f9 @opentelemetry/instrumentation-mysql2 (npm) Fixed in 0.67.0 Advisory →
  • Fix · GHSA-qqmp-wf37-98f9 @opentelemetry/instrumentation-pg (npm) Fixed in 0.73.0 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Developer Hub 1AffectedNo fix yet: Fix deferred
Self-service automation portal 2AffectedNo fix yet: Fix deferred

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-104872
  2. 2026-10-04 Priority changed: MEDIUM → LOW
  3. 2026-10-05 Affected versions changed · Red Hat
  4. 2026-10-05 CVSS score added · Red Hat
  5. 2026-10-06 Alias added: GHSA-qqmp-wf37-98f9
  6. 2026-10-06 Fix available: npm/@opentelemetry/[email protected], npm/@opentelemetry/[email protected], npm/@opentelemetry/[email protected] +5 · GHSA-qqmp-wf37-98f9
  7. 2026-10-06 CVSS score added · GHSA-qqmp-wf37-98f9
  8. 2026-10-06 Weakness changed · GHSA-qqmp-wf37-98f9
  9. 2026-10-06 6 new references · GHSA-qqmp-wf37-98f9
  10. 2026-10-06 CISA SSVC decision points changed
  11. 2026-10-27 Affected versions changed · Red Hat

References

  • TI-2024-23957 OpenTelemetry Collector has a Denial of Service via Zip/Decompression Bomb sent over HTTP or gRPC CVSS 3.1HIGH 8.2
  • TI-2026-42706 OpenTelemetry JavaScript: Denial of service in `JaegerPropagator` via unhandled exception on a malformed header CVSS 3.1HIGH 7.5
  • TI-2026-33428 OpenTelemetry eBPF Instrumentation: Memcached payload length overflow can crash OBI CVSS 3.1HIGH 7.5
  • TI-2026-33427 OpenTelemetry eBPF Instrumentation: MongoDB parser panics on malformed wire messages CVSS 3.1HIGH 7.5
  • TI-2026-33420 OpenTelemetry eBPF Instrumentation: Postgres BIND parsing can panic on malformed payloads CVSS 3.1HIGH 7.5
  • TI-2026-32777 opentelemetry-js: Prometheus exporter process crash via malformed HTTP request CVSS 3.1HIGH 7.5
See all 62 →

Sources