« Back to list

CVE-2026-104872

Status: ReceivedMedium (5.8)—

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.

CVSS

Exploitation probability (EPSS)

EPSS (Exploit Prediction Scoring System, FIRST) estimates how likely a vulnerability is to be exploited in the wild within 30 days. It complements CVSS (impact) and CISA KEV (confirmed exploitation).

🎯 ATT&CK techniques

How this vulnerability is exploited and what the attacker gains, in MITRE ATT&CK terms.

Librería JavaScript en producción (AV:N, PR:N, UI:N) expone credenciales de BD en atributos de span observables por defecto. CWE-532 (información sensible en logs) + vector de red sin autenticación → T1190; exposición de credenciales → T1552.001.

Inferred by our analysis agent from the official description, CVSS vector and CWE, and checked by a supervisor. May contain errors.

🛡️ ATT&CK mitigations that cover these techniques

Affected technologies (8)

⚠ AI-inferred from the description — NVD hasn't analyzed this CVE yet, these aren't verified CPEs.

CWEs

References

Raw JSON (NVD)

Show
{
  "id": "CVE-2026-104872",
  "cveTags": [],
  "metrics": {
    "cvssMetricV31": [
      {
        "type": "Secondary",
        "source": "security-advisories@github.com",
        "cvssData": {
          "scope": "CHANGED",
          "version": "3.1",
          "baseScore": 5.8,
          "attackVector": "NETWORK",
          "baseSeverity": "MEDIUM",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N",
          "integrityImpact": "NONE",
          "userInteraction": "NONE",
          "attackComplexity": "LOW",
          "availabilityImpact": "NONE",
          "privilegesRequired": "NONE",
          "confidentialityImpact": "LOW"
        },
        "impactScore": 1.4,
        "exploitabilityScore": 3.9
      }
    ]
  },
  "affected": [
    {
      "source": "security-advisories@github.com",
      "affectedData": [
        {
          "vendor": "open-telemetry",
          "product": "opentelemetry-js-contrib",
          "versions": [
            {
              "status": "affected",
              "version": "< 27e172a9e0d549559056ccd58f27d13467454156"
            }
          ]
        },
        {
          "vendor": "@opentelemetry",
          "product": "instrumentation-cassandra-driver",
          "versions": [
            {
              "status": "affected",
              "version": "< 0.66.0"
            }
          ]
        },
        {
          "vendor": "@opentelemetry",
          "product": "instrumentation-knex",
          "versions": [
            {
              "status": "affected",
              "version": "< 0.65.0"
            }
          ]
        },
        {
          "vendor": "@opentelemetry",
          "product": "instrumentation-mongoose",
          "versions": [
            {
              "status": "affected",
              "version": "< 0.67.0"
            }
          ]
        },
        {
          "vendor": "@opentelemetry",
          "product": "instrumentation-mysql",
          "versions": [
            {
              "status": "affected",
              "version": "< 0.67.0"
            }
          ]
        },
        {
          "vendor": "@opentelemetry",
          "product": "instrumentation-mysql2",
          "versions": [
            {
              "status": "affected",
              "version": "< 0.67.0"
            }
          ]
        },
        {
          "vendor": "@opentelemetry",
          "product": "instrumentation-oracledb",
          "versions": [
            {
              "status": "affected",
              "version": "< 0.46.0"
            }
          ]
        },
        {
          "vendor": "@opentelemetry",
          "product": "instrumentation-pg",
          "versions": [
            {
              "status": "affected",
              "version": "< 0.73.0"
            }
          ]
        },
        {
          "vendor": "@opentelemetry",
          "product": "instrumentation-tedious",
          "versions": [
            {
              "status": "affected",
              "version": "< 0.40.0"
            }
          ]
        }
      ]
    }
  ],
  "published": "2026-10-02T20:17:01.067",
  "references": [
    {
      "url": "https://github.com/open-telemetry/opentelemetry-js-contrib/commit/27e172a9e0d549559056ccd58f27d13467454156",
      "source": "security-advisories@github.com"
    },
    {
      "url": "https://github.com/open-telemetry/opentelemetry-js-contrib/commit/5b7dd0e102e940d653e04b08b5a1b721a8271037",
      "source": "security-advisories@github.com"
    },
    {
      "url": "https://github.com/open-telemetry/opentelemetry-js-contrib/pull/3585",
      "source": "security-advisories@github.com"
    },
    {
      "url": "https://github.com/open-telemetry/opentelemetry-js-contrib/security/advisories/GHSA-qqmp-wf37-98f9",
      "source": "security-advisories@github.com"
    }
  ],
  "vulnStatus": "Received",
  "weaknesses": [
    {
      "type": "Primary",
      "source": "security-advisories@github.com",
      "description": [
        {
          "lang": "en",
          "value": "CWE-532"
        }
      ]
    }
  ],
  "descriptions": [
    {
      "lang": "en",
      "value": "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."
    }
  ],
  "lastModified": "2026-10-02T20:17:01.067",
  "sourceIdentifier": "security-advisories@github.com"
}