CVE-2026-104872: CWE-532: Insertion of Sensitive Information into Log File in open-telemetry opentelemetry-js-contrib
OpenTelemetry JavaScript Contrib instrumentation libraries prior to certain fixed versions include the database connection username in telemetry span attributes by default. This behavior exposes sensitive information such as database account names to observability backends, potentially revealing service topology, roles, or environment details. The issue is addressed in specific fixed versions of the affected packages.
AI Analysis
Technical Summary
CVE-2026-104872 describes a vulnerability in the OpenTelemetry JavaScript Contrib instrumentation libraries where the database connection username is inserted into telemetry span attributes (db.user) for every instrumented database operation. This attribute is emitted by default without an opt-in setting, causing sensitive database account names to be exposed to configured observability backends. The affected packages include @opentelemetry/instrumentation-cassandra-driver, instrumentation-knex, instrumentation-mongoose, instrumentation-mysql, instrumentation-mysql2, instrumentation-oracledb, instrumentation-pg, and instrumentation-tedious. The vulnerability is fixed in versions 0.66.0, 0.65.0, 0.67.0, 0.46.0, 0.73.0, and 0.40.0 respectively.
Potential Impact
The vulnerability results in the exposure of database usernames in telemetry data sent to observability backends. This can reveal sensitive information about service topology, roles, environment, and account naming conventions. There is no direct impact on data integrity or availability, and no known exploits in the wild. The confidentiality impact is limited to the exposure of usernames, which may aid an attacker in reconnaissance but does not directly compromise database credentials or data.
Mitigation Recommendations
A fix is available in the specified versions of the affected OpenTelemetry instrumentation packages. Users should upgrade to at least versions 0.66.0 for @opentelemetry/instrumentation-cassandra-driver, 0.65.0 for instrumentation-knex, 0.67.0 for instrumentation-mongoose, instrumentation-mysql, and instrumentation-mysql2, 0.46.0 for instrumentation-oracledb, 0.73.0 for instrumentation-pg, and 0.40.0 for instrumentation-tedious. Upgrading these packages will prevent the default emission of the database username in telemetry span attributes.
CVE-2026-104872: CWE-532: Insertion of Sensitive Information into Log File in open-telemetry opentelemetry-js-contrib
Description
OpenTelemetry JavaScript Contrib instrumentation libraries prior to certain fixed versions include the database connection username in telemetry span attributes by default. This behavior exposes sensitive information such as database account names to observability backends, potentially revealing service topology, roles, or environment details. The issue is addressed in specific fixed versions of the affected packages.
CVSS v3.1
Score 5.8medium
Affected software
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
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-104872 describes a vulnerability in the OpenTelemetry JavaScript Contrib instrumentation libraries where the database connection username is inserted into telemetry span attributes (db.user) for every instrumented database operation. This attribute is emitted by default without an opt-in setting, causing sensitive database account names to be exposed to configured observability backends. The affected packages include @opentelemetry/instrumentation-cassandra-driver, instrumentation-knex, instrumentation-mongoose, instrumentation-mysql, instrumentation-mysql2, instrumentation-oracledb, instrumentation-pg, and instrumentation-tedious. The vulnerability is fixed in versions 0.66.0, 0.65.0, 0.67.0, 0.46.0, 0.73.0, and 0.40.0 respectively.
Potential Impact
The vulnerability results in the exposure of database usernames in telemetry data sent to observability backends. This can reveal sensitive information about service topology, roles, environment, and account naming conventions. There is no direct impact on data integrity or availability, and no known exploits in the wild. The confidentiality impact is limited to the exposure of usernames, which may aid an attacker in reconnaissance but does not directly compromise database credentials or data.
Mitigation Recommendations
A fix is available in the specified versions of the affected OpenTelemetry instrumentation packages. Users should upgrade to at least versions 0.66.0 for @opentelemetry/instrumentation-cassandra-driver, 0.65.0 for instrumentation-knex, 0.67.0 for instrumentation-mongoose, instrumentation-mysql, and instrumentation-mysql2, 0.46.0 for instrumentation-oracledb, 0.73.0 for instrumentation-pg, and 0.40.0 for instrumentation-tedious. Upgrading these packages will prevent the default emission of the database username in telemetry span attributes.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-10-02T14:59:11.775Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6ac00dbca43b0b3b89fc2ba8
Added to database: 10/02/2026, 20:02:04 UTC
Last enriched: 10/02/2026, 20:16:56 UTC
Last updated: 10/02/2026, 20:55:39 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.