Skip to main content

CVE-2026-104872: CWE-532: Insertion of Sensitive Information into Log File in open-telemetry opentelemetry-js-contrib

0
Medium
VulnerabilityCVE-2026-104872cvecve-2026-104872cwe-532
Published: 10/02/2026 (10/02/2026, 19:50:24 UTC)
Source: CVE Database V5
Vendor/Project: open-telemetry
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N

Affected software

open-telemetry

opentelemetry-js-contrib

@opentelemetry

instrumentation-cassandra-driver

Affected versions
<0.66.0

@opentelemetry

instrumentation-knex

Affected versions
<0.65.0

@opentelemetry

instrumentation-mongoose

Affected versions
<0.67.0

@opentelemetry

instrumentation-mysql

Affected versions
<0.67.0

@opentelemetry

instrumentation-mysql2

Affected versions
<0.67.0

@opentelemetry

instrumentation-oracledb

Affected versions
<0.46.0

@opentelemetry

instrumentation-pg

Affected versions
<0.73.0

@opentelemetry

instrumentation-tedious

Affected versions
<0.40.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/02/2026, 20:16:56 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses