{"schemaVersion":3,"id":"CVE-2026-103965","aliases":["UBUNTU-CVE-2026-103965"],"status":"published","duplicateOf":null,"title":null,"description":"An issue in MongoDB Server's aggregation framework can cause certain constant values to be handled incorrectly during internal query rewriting. Under certain conditions, an authenticated user with read access may receive field values in aggregation output that the query did not intend to return.","dates":{"published":"2026-10-13T15:33:20.112Z","modified":"2026-10-13T16:20:06.145Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.4,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":5.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":5.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","exploitability":7.2,"impact":4.2,"computed":true}]},"epss":{"probability":0.0015,"percentile":0.03792,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-10-14T00:00:00.000Z","score":0.0015,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0015,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0015,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0015,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0015,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0015,"percentile":0.03792}],"last30":[{"date":"2026-10-14T00:00:00.000Z","score":0.0015,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0015,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0015,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0015,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0015,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0015,"percentile":0.03792}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-94","name":"Improper Control of Generation of Code ('Code Injection')","description":"The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/94.html"}],"affected":[{"vendor":"ubuntu","product":"mongodb","name":"mongodb","label":"mongodb","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mongodb","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"mongodb","product":"mongodb server","name":"MongoDB Server","label":"mongodb server","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 8.3.0, < 8.3.13","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.0, < 8.0.34","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.0, < 7.0.45","noFixRecorded":false,"fixedIn":null},{"text":"≥ 9.0, < 9.0.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 8.3.0, < 8.3.13 | ≥ 8.0, < 8.0.34 | ≥ 7.0, < 7.0.45 | ≥ 9.0, < 9.0.4","eol":null,"hubHref":"/vendor/mongodb/mongodb_server"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://jira.mongodb.org/browse/SERVER-134618","label":"jira.mongodb.org/browse/SERVER-134618","hostname":"jira.mongodb.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2026-103965","label":"ubuntu.com/security/CVE-2026-103965","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-103965","label":"www.cve.org/CVERecord?id=CVE-2026-103965","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-13T15:33:20.112Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-13T16:20:06.145Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":22,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T22:26:11.860Z","stale":false,"partial":false}}