Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
open-telemetry opentelemetry-js-contrib
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

OpenTelemetry JavaScript Contrib 提供了用于从 JavaScript 应用程序收集遥测数据的仪器库。在以下版本之前,相关包会将数据库连接用户名作为 span 属性添加到每一个被监测的数据库操作中: @opentelemetry/instrumentation-cassandra-driver:0.66.0 之前 @opentelemetry/instrumentation-knex:0.65.0 之前 @opentelemetry/instrumentation-mongoose、@

CVSS 5.8 · Medium EPSS 0.24% · P14

Possible ATT&CK Techniques 1 AI

T1530 · Data from Cloud Storage

Affected Version Matrix 9

VendorProduct Version RangeStatus
@opentelemetry instrumentation-cassandra-driver < 0.66.0 affected
@opentelemetry instrumentation-knex < 0.65.0 affected
@opentelemetry instrumentation-mongoose < 0.67.0 affected
@opentelemetry instrumentation-mysql < 0.67.0 affected
@opentelemetry instrumentation-mysql2 < 0.67.0 affected
@opentelemetry instrumentation-oracledb < 0.46.0 affected
@opentelemetry instrumentation-pg < 0.73.0 affected
@opentelemetry instrumentation-tedious < 0.40.0 affected
open-telemetry opentelemetry-js-contrib < 27e172a9e0d549559056ccd58f27d13467454156 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-104872

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Multiple @opentelemetry/instrumentation-* packages expose database username via unconditional db.user span attribute
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
通过日志文件的信息暴露
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
open-telemetry opentelemetry-js-contrib < 27e172a9e0d549559056ccd58f27d13467454156 -
@opentelemetry instrumentation-cassandra-driver < 0.66.0 -
@opentelemetry instrumentation-knex < 0.65.0 -
@opentelemetry instrumentation-mongoose < 0.67.0 -
@opentelemetry instrumentation-mysql < 0.67.0 -
@opentelemetry instrumentation-mysql2 < 0.67.0 -
@opentelemetry instrumentation-oracledb < 0.46.0 -
@opentelemetry instrumentation-pg < 0.73.0 -
@opentelemetry instrumentation-tedious < 0.40.0 -

II. Public POCs for CVE-2026-104872

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-104872

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-104872 (1)

Other References for CVE-2026-104872 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-104872

No comments yet


Leave a comment