{"schemaVersion":3,"id":"CVE-2026-85985","aliases":["DEBIAN-CVE-2026-85985"],"status":"published","duplicateOf":null,"title":null,"description":"MariaDB server is a community developed fork of MySQL server. From 10.6.1 until 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2, the CONNECT engine plugin file-access UDFs json_file(), bson_file(), jfile_make(), bfile_make(), and jbin_file() are affected because each does not enforce FILE privilege or the secure_file_priv setting. A low-privileged attacker can trigger the issue by calling a CONNECT file-access UDF with a filesystem path, then invoke a CONNECT file-access UDF to access a filesystem path and read or write files that the database account is not authorized to access, subject to operating-system permissions. This issue is fixed in versions 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2.","dates":{"published":"2026-10-16T16:21:14.677Z","modified":"2026-10-16T17:05:42.975Z","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":"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":"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":"3.1","versionLabel":"v3.1","source":"OSV · Debian","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.00216,"percentile":0.11264,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-10-17T00:00:00.000Z","score":0.00216,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00216,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00216,"percentile":0.11264}],"last30":[{"date":"2026-10-17T00:00:00.000Z","score":0.00216,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00216,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00216,"percentile":0.11264}]},"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-862","name":"Missing Authorization","description":"The product does not perform an authorization check when an actor attempts to access a resource or perform an action.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/862.html"}],"affected":[{"vendor":"debian","product":"mariadb","name":"mariadb","label":"mariadb","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/mariadb","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 1:11.8.9+ds-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 1:11.8.9+ds-1","eol":null,"hubHref":null},{"vendor":"mariadb","product":"server","name":"server","label":"server","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 10.6.1, < 10.6.28","noFixRecorded":false,"fixedIn":null},{"text":"≥ 10.11.1, < 10.11.19","noFixRecorded":false,"fixedIn":null},{"text":"≥ 11.4.1, < 11.4.13","noFixRecorded":false,"fixedIn":null},{"text":"≥ 11.8.1, < 11.8.9","noFixRecorded":false,"fixedIn":null},{"text":"≥ 12.3.1, < 12.3.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 13.0.1, < 13.0.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 10.6.1, < 10.6.28 | ≥ 10.11.1, < 10.11.19 | ≥ 11.4.1, < 11.4.13 | ≥ 11.8.1, < 11.8.9 | ≥ 12.3.1, < 12.3.3 | ≥ 13.0.1, < 13.0.2","eol":null,"hubHref":"/vendor/mariadb/server"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/MariaDB/server/security/advisories/GHSA-2245-9hm3-wxf6","label":"github.com/MariaDB/server/security/advisories/GHSA-2245-9hm3-wxf6","hostname":"github.com","tags":["X Refsource CONFIRM"]},{"url":"https://github.com/MariaDB/server/commit/4f66ca1b69daf1b7e6a562ca8e86d77a6a70abfe","label":"github.com/MariaDB/server/commit/4f66ca1b69daf1b7e6a562ca8e86d77a6a70abfe","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-10.11.19","label":"github.com/MariaDB/server/releases/tag/mariadb-10.11.19","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-10.6.28","label":"github.com/MariaDB/server/releases/tag/mariadb-10.6.28","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-11.4.13","label":"github.com/MariaDB/server/releases/tag/mariadb-11.4.13","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-11.8.9","label":"github.com/MariaDB/server/releases/tag/mariadb-11.8.9","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3","label":"github.com/MariaDB/server/releases/tag/mariadb-12.3.3","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2","label":"github.com/MariaDB/server/releases/tag/mariadb-13.0.2","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://jira.mariadb.org/browse/MDEV-40323","label":"jira.mariadb.org/browse/MDEV-40323","hostname":"jira.mariadb.org","tags":["X Refsource MISC"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-85985","label":"security-tracker.debian.org/tracker/CVE-2026-85985","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-16T16:21:14.677Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-16T17:05:42.975Z","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-20T03:44:33.783Z","stale":false,"partial":false}}