Security mailing lists by PureSourceCode

CVE-2026-104872

MEDIUM 5.8CVSS 3.1

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

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.

Published
2 Oct 2026
Last modified
6 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Awaiting Analysis
Weakness
CWE-532
Also known as
GHSA-qqmp-wf37-98f9
Sources
NVDJSONOSV GHSA-qqmp-wf37-98f9JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV npm @opentelemetry/instrumentation-cassandra-driver < 0.66.0 0.66.0
OSV npm @opentelemetry/instrumentation-tedious < 0.40.0 0.40.0
OSV npm @opentelemetry/instrumentation-oracledb < 0.46.0 0.46.0
OSV npm @opentelemetry/instrumentation-mongoose < 0.67.0 0.67.0
OSV npm @opentelemetry/instrumentation-mysql < 0.67.0 0.67.0
OSV npm @opentelemetry/instrumentation-knex < 0.65.0 0.65.0
OSV npm @opentelemetry/instrumentation-mysql2 < 0.67.0 0.67.0
OSV npm @opentelemetry/instrumentation-pg < 0.73.0 0.73.0

References

History

  • 25 Nov 2026 21:22 UTC · NVD: first stored (published 2 Oct 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 5 Oct 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.