CVEfocus › CVE database › CVE-2026-104872

CVE-2026-104872Multiple @opentelemetry/instrumentation-* packages expose database username via…

CVSS 5.8 MediumEPSS 0.4% (higher than 28% of CVEs)Published 2026-10-02Updated 2026-10-06Assigner: GitHub_M

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.

CWE-532

What to do

Fixed builds are available from npm: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

8Fixed

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
npm library@opentelemetry/instrumentation-cassandra-driverFixed0.66.0GHSA-qqmp-wf37-98f9
npm library@opentelemetry/instrumentation-knexFixed0.65.0GHSA-qqmp-wf37-98f9
npm library@opentelemetry/instrumentation-mongooseFixed0.67.0GHSA-qqmp-wf37-98f9
npm library@opentelemetry/instrumentation-mysqlFixed0.67.0GHSA-qqmp-wf37-98f9
npm library@opentelemetry/instrumentation-mysql2Fixed0.67.0GHSA-qqmp-wf37-98f9
npm library@opentelemetry/instrumentation-oracledbFixed0.46.0GHSA-qqmp-wf37-98f9
npm library@opentelemetry/instrumentation-pgFixed0.73.0GHSA-qqmp-wf37-98f9
npm library@opentelemetry/instrumentation-tediousFixed0.40.0GHSA-qqmp-wf37-98f9

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.