Skip to content

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?

ProductAffected versions (from the sources)Fixed in
instrumentation-cassandra-driverNiche< 0.66.00.66.0
instrumentation-knexNiche< 0.65.00.65.0
instrumentation-mongooseNiche< 0.67.00.67.0
instrumentation-mysqlNiche< 0.67.00.67.0
instrumentation-oracledbNiche< 0.46.00.46.0
instrumentation-pgNiche< 0.73.00.73.0
instrumentation-tediousNiche< 0.40.00.40.0
opentelemetry-jsNiche< 27e172a9e0d549559056ccd58f27d1346745415627e172a9e0d549559056ccd58f27d13467454156

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

FactorValueEvidence×
ImpactMinorReflected XSS, CSRF with low effect, open redirect, minor leakFrom the CVSS vector0.30
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.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
  1. Prerequisites multiplied together1.000
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.3 × prerequisites 1 × threat 0.852.550
  4. Rounded to one decimal between 0.1 and 102.6

How the score works

Exploitation and evidence timeline

  1. 2 Oct 2026 Published
  2. 3 Dec 2026 Risk 2.6 (cvss fallback)

Weakness

CWE-532

References

Get alerts for instrumentation-cassandra-driver

Free email or text alerts when a vulnerability in instrumentation-cassandra-driver reaches risk 8 or higher. Nothing else.