CVE-2026-104872
Multiple @opentelemetry/instrumentation-* packages expose database username via unconditional db.user span attribute
Check your servers for CVE-2026-104872
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-104872 affects instrumentation-cassandra-driver, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- changed: the damage reaches other components, such as the host of a container or other users
- Impact
- confidentiality low, integrity none, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 16.7% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 6 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-532 Insertion of Sensitive Information into Log File
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| opentelemetry-js-contrib |
affected < 27e172a9e0d549559056ccd58f27d13467454156
|
| instrumentation-cassandra-driver |
affected < 0.66.0
|
| instrumentation-knex |
affected < 0.65.0
|
| instrumentation-mongoose |
affected < 0.67.0
|
| instrumentation-mysql |
affected < 0.67.0
|
| instrumentation-mysql2 |
affected < 0.67.0
|
| instrumentation-oracledb |
affected < 0.46.0
|
| instrumentation-pg |
affected < 0.73.0
|
| instrumentation-tedious |
affected < 0.40.0
|
Is my server affected?
Find the installed version of instrumentation-cassandra-driver and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i instrumentation-cassandra-driver
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-104872 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-104872RHEL, Rocky, Alma, Fedora
rpm -q instrumentation-cassandra-driver
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-104872Alpine
apk list --installed | grep -i instrumentation-cassandra-driverWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-104872
trivy image --scanners vuln IMAGE | grep CVE-2026-104872
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- https://github.com/open-telemetry/opentelemetry-js-contrib/security/advisories/GHSA-qqmp-wf37-98f9 github.com
Other references
- https://github.com/open-telemetry/opentelemetry-js-contrib/pull/3585 github.com
- https://github.com/open-telemetry/opentelemetry-js-contrib/commit/27e172a9e0d549559056ccd58f27d13467454156 github.com
- https://github.com/open-telemetry/opentelemetry-js-contrib/commit/5b7dd0e102e940d653e04b08b5a1b721a8271037 github.com
Source: the record CVE-2026-104872 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse