{"schemaVersion":3,"id":"CVE-2026-81521","aliases":["UBUNTU-CVE-2026-81521","DEBIAN-CVE-2026-81521"],"status":"published","duplicateOf":null,"title":null,"description":"The MongoDB Go Driver's client-level bulk write operation may accept a caller-supplied database name containing a reserved separator character without escaping it before the name is used to build the target namespace for the operation. An application that passes untrusted input as a database name could therefore have the write directed at a database and collection other than the ones it intended. Only the Client.BulkWrite API is affected.","dates":{"published":"2026-08-27T18:31:45.450Z","modified":"2026-10-06T18:17:46.581Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.1,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":7.1,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":7.1,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","exploitability":7.2,"impact":6,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Debian","score":7.1,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/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":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":7.1,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/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":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00236,"percentile":0.13629,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.033,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00203},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00203,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00203,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00203,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00203,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00203,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00203,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00203,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00203,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00203,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00203,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00208,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00208,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00208,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00208,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00208,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00208,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00208,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00236,"percentile":0.13629}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00203,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00203,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00203,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00203,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00349,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00357,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00208,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00208,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00208,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00208,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00208,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00208,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00208,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00236,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00236,"percentile":0.13629}]},"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-99","name":"Improper Control of Resource Identifiers ('Resource Injection')","description":"The product receives input from an upstream component, but it does not restrict or incorrectly restricts the input before it is used as an identifier for a resource that may be outside the intended sphere of control.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/99.html"}],"affected":[{"vendor":"debian","product":"golang-mongodb-mongo-driver","name":"golang-mongodb-mongo-driver","label":"golang-mongodb-mongo-driver","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/golang-mongodb-mongo-driver","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"golang-mongodb-mongo-driver","name":"golang-mongodb-mongo-driver","label":"golang-mongodb-mongo-driver","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/golang-mongodb-mongo-driver","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"mongodb","product":"go driver","name":"Go Driver","label":"go driver","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.9.0, < 2.9.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.1.0, < 2.8.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.9.0, < 2.9.2 | ≥ 2.1.0, < 2.8.2","eol":null,"hubHref":"/vendor/mongodb/go_driver"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://jira.mongodb.org/browse/GODRIVER-4075","label":"jira.mongodb.org/browse/GODRIVER-4075","hostname":"jira.mongodb.org","tags":["REPORT","Vendor Advisory"]},{"url":"https://pkg.go.dev/go.mongodb.org/mongo-driver/v2@v2.8.2","label":"pkg.go.dev/go.mongodb.org/mongo-driver/v2@v2.8.2","hostname":"pkg.go.dev","tags":["REPORT","Product"]},{"url":"https://ubuntu.com/security/CVE-2026-81521","label":"ubuntu.com/security/CVE-2026-81521","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-81521","label":"www.cve.org/CVERecord?id=CVE-2026-81521","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-81521","label":"security-tracker.debian.org/tracker/CVE-2026-81521","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:11803-1","OPENSUSE-SU-2026:22032-1","RHSA-2026:68334","SUSE-SU-2026:24148-1","SUSE-SU-2026:4408-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:11803-1","OPENSUSE-SU-2026:22032-1","SUSE-SU-2026:24148-1","SUSE-SU-2026:4408-1"]},"timeline":[{"kind":"published","date":"2026-08-27T18:31:45.450Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-06T18:17:46.581Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":28,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T01:23:16.770Z","stale":false,"partial":false}}