{"answers":{"affected":"16 open source packages ship an affected version, including @opentelemetry/instrumentation-cassandra-driver, @opentelemetry/instrumentation-knex and @opentelemetry/instrumentation-mongoose.","exploited":"There is no known exploitation of CVE-2026-104872 in the wild and no public exploit code.","fix":"Upgrade @opentelemetry/instrumentation-cassandra-driver to 0.66.0 or later.","what":"CVE-2026-104872 is a medium-severity vulnerability in @opentelemetry instrumentation-cassandra-driver, published on 2 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-104872 and fix it if it is affected.\n\nWhat it is: CVE-2026-104872 is a medium-severity vulnerability in @opentelemetry instrumentation-cassandra-driver, published on 2 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-104872 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @opentelemetry/instrumentation-cassandra-driver (npm): affected all versions; fixed in 0.66.0\n- @opentelemetry/instrumentation-cassandra-driver (npm): affected all versions; fixed in 0.66.0\n- @opentelemetry/instrumentation-knex (npm): affected all versions; fixed in 0.65.0\n- @opentelemetry/instrumentation-knex (npm): affected all versions; fixed in 0.65.0\n- @opentelemetry/instrumentation-mongoose (npm): affected all versions; fixed in 0.67.0\n- @opentelemetry/instrumentation-mongoose (npm): affected all versions; fixed in 0.67.0\n- @opentelemetry/instrumentation-mysql (npm): affected all versions; fixed in 0.67.0\n- @opentelemetry/instrumentation-mysql (npm): affected all versions; fixed in 0.67.0\n- @opentelemetry/instrumentation-mysql2 (npm): affected all versions; fixed in 0.67.0\n- @opentelemetry/instrumentation-mysql2 (npm): affected all versions; fixed in 0.67.0\n- @opentelemetry/instrumentation-oracledb (npm): affected all versions; fixed in 0.46.0\n- @opentelemetry/instrumentation-oracledb (npm): affected all versions; fixed in 0.46.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-104872/ (Markdown: https://insights.sbomify.com/CVE-2026-104872/index.md)","id":"CVE-2026-104872","markdown":"https://insights.sbomify.com/CVE-2026-104872/index.md","name":"CVE-2026-104872","record":{"aliases":["ECHO-980f-e1f1-2a12","GHSA-qqmp-wf37-98f9","MINI-2v4g-5fjf-cwfc","MINI-4x6f-6fv6-5pw8","MINI-5532-3695-jhqr","MINI-722w-68j5-9jpr","MINI-96gv-3vqj-j2mp","MINI-mcvg-mx93-7qq4","MINI-mvj5-9gjj-qffg","MINI-ph7x-w8hw-jv4f","MINI-xj5v-4jm4-4c8p"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenTelemetry instrumentation libraries","requires_auth":"none","summary":"OpenTelemetry instrumentation libraries leak database usernames in span attributes by default, exposing sensitive account information to observability backends.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Multiple @opentelemetry/instrumentation-* packages expose database username via unconditional db.user span attribute","id":"CVE-2026-104872","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":16,"n_references":4,"next":{"headline":"LangGraph SDK custom auth silently ignores actions= on resource decorators","id":"CVE-2026-104873"},"packages":[{"ecosystem":"npm","fixed":["0.66.0"],"introduced":["0"],"last_affected":[],"package":"@opentelemetry/instrumentation-cassandra-driver","purl":null,"source":"GHSA-qqmp-wf37-98f9"},{"ecosystem":"npm","fixed":["0.66.0"],"introduced":["0"],"last_affected":[],"package":"@opentelemetry/instrumentation-cassandra-driver","purl":"pkg:npm/%40opentelemetry/instrumentation-cassandra-driver","source":"GHSA-qqmp-wf37-98f9"},{"ecosystem":"npm","fixed":["0.65.0"],"introduced":["0"],"last_affected":[],"package":"@opentelemetry/instrumentation-knex","purl":null,"source":"GHSA-qqmp-wf37-98f9"},{"ecosystem":"npm","fixed":["0.65.0"],"introduced":["0"],"last_affected":[],"package":"@opentelemetry/instrumentation-knex","purl":"pkg:npm/%40opentelemetry/instrumentation-knex","source":"GHSA-qqmp-wf37-98f9"},{"ecosystem":"npm","fixed":["0.67.0"],"introduced":["0"],"last_affected":[],"package":"@opentelemetry/instrumentation-mongoose","purl":null,"source":"GHSA-qqmp-wf37-98f9"},{"ecosystem":"npm","fixed":["0.67.0"],"introduced":["0"],"last_affected":[],"package":"@opentelemetry/instrumentation-mongoose","purl":"pkg:npm/%40opentelemetry/instrumentation-mongoose","source":"GHSA-qqmp-wf37-98f9"},{"ecosystem":"npm","fixed":["0.67.0"],"introduced":["0"],"last_affected":[],"package":"@opentelemetry/instrumentation-mysql","purl":null,"source":"GHSA-qqmp-wf37-98f9"},{"ecosystem":"npm","fixed":["0.67.0"],"introduced":["0"],"last_affected":[],"package":"@opentelemetry/instrumentation-mysql","purl":"pkg:npm/%40opentelemetry/instrumentation-mysql","source":"GHSA-qqmp-wf37-98f9"},{"ecosystem":"npm","fixed":["0.67.0"],"introduced":["0"],"last_affected":[],"package":"@opentelemetry/instrumentation-mysql2","purl":null,"source":"GHSA-qqmp-wf37-98f9"},{"ecosystem":"npm","fixed":["0.67.0"],"introduced":["0"],"last_affected":[],"package":"@opentelemetry/instrumentation-mysql2","purl":"pkg:npm/%40opentelemetry/instrumentation-mysql2","source":"GHSA-qqmp-wf37-98f9"},{"ecosystem":"npm","fixed":["0.46.0"],"introduced":["0"],"last_affected":[],"package":"@opentelemetry/instrumentation-oracledb","purl":null,"source":"GHSA-qqmp-wf37-98f9"},{"ecosystem":"npm","fixed":["0.46.0"],"introduced":["0"],"last_affected":[],"package":"@opentelemetry/instrumentation-oracledb","purl":"pkg:npm/%40opentelemetry/instrumentation-oracledb","source":"GHSA-qqmp-wf37-98f9"},{"ecosystem":"npm","fixed":["0.73.0"],"introduced":["0"],"last_affected":[],"package":"@opentelemetry/instrumentation-pg","purl":null,"source":"GHSA-qqmp-wf37-98f9"},{"ecosystem":"npm","fixed":["0.73.0"],"introduced":["0"],"last_affected":[],"package":"@opentelemetry/instrumentation-pg","purl":"pkg:npm/%40opentelemetry/instrumentation-pg","source":"GHSA-qqmp-wf37-98f9"},{"ecosystem":"npm","fixed":["0.40.0"],"introduced":["0"],"last_affected":[],"package":"@opentelemetry/instrumentation-tedious","purl":null,"source":"GHSA-qqmp-wf37-98f9"},{"ecosystem":"npm","fixed":["0.40.0"],"introduced":["0"],"last_affected":[],"package":"@opentelemetry/instrumentation-tedious","purl":"pkg:npm/%40opentelemetry/instrumentation-tedious","source":"GHSA-qqmp-wf37-98f9"}],"prev":{"headline":"Angular SSR: Path Traversal to Sibling Directories in CommonEngine on Windows","id":"CVE-2026-104871"},"products":["instrumentation-cassandra-driver","instrumentation-knex","instrumentation-mongoose","instrumentation-mysql","instrumentation-mysql2","instrumentation-oracledb","instrumentation-pg","instrumentation-tedious","opentelemetry-js-contrib"],"published":"2026-10-02","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-06","vendors":["@opentelemetry","open-telemetry"]},"summary":"OpenTelemetry instrumentation libraries leak database usernames in span attributes by default, exposing sensitive account information to observability backends.","url":"https://insights.sbomify.com/CVE-2026-104872/"}