instrumentation-cassandra-driver
Multiple @opentelemetry/instrumentation-* packages expose database username via unconditional db.user span attribute
CVE-2026-104872Published 2 Oct 2026, 19:50 UTC
Real-world risk
2.6/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
5.8
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from 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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| instrumentation-cassandra-driverNiche | < 0.66.0 | 0.66.0 |
| instrumentation-knexNiche | < 0.65.0 | 0.65.0 |
| instrumentation-mongooseNiche | < 0.67.0 | 0.67.0 |
| instrumentation-mysqlNiche | < 0.67.0 | 0.67.0 |
| instrumentation-oracledbNiche | < 0.46.0 | 0.46.0 |
| instrumentation-pgNiche | < 0.73.0 | 0.73.0 |
| instrumentation-tediousNiche | < 0.40.0 | 0.40.0 |
| opentelemetry-jsNiche | < 27e172a9e0d549559056ccd58f27d13467454156 | 27e172a9e0d549559056ccd58f27d13467454156 |
What to do
Update to a fixed version: 0.66.0, 0.65.0, 0.67.0, 0.46.0, 0.73.0, 0.40.0, 27e172a9e0d549559056ccd58f27d13467454156.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.2% chance of exploitation in 30 days (percentile 17), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together1.000
- Threat T1: Nothing known0.850
- 10 × impact 0.3 × prerequisites 1 × threat 0.852.550
- Rounded to one decimal between 0.1 and 102.6
Exploitation and evidence timeline
- 2 Oct 2026 Published
- 3 Dec 2026 Risk 2.6 (cvss fallback)
Weakness
CWE-532
References
- https://github.com/open-telemetry/opentelemetry-js-contrib/security/advisories/GHSA-qqmp-wf37-98f9vendor-advisory
- https://github.com/open-telemetry/opentelemetry-js-contrib/pull/3585misc
- https://github.com/open-telemetry/opentelemetry-js-contrib/commit/27e172a9e0d549559056ccd58f27d13467454156misc
- https://github.com/open-telemetry/opentelemetry-js-contrib/commit/5b7dd0e102e940d653e04b08b5a1b721a8271037misc
- CVE-2026-104872 on CVE.org