{"id":"DEBIAN-CVE-2026-85985","details":"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.","modified":"2026-10-17T10:00:07.523667594Z","published":"2026-10-16T17:17:51.620Z","upstream":["CVE-2026-85985"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-85985"}],"affected":[{"package":{"name":"mariadb","ecosystem":"Debian:12","purl":"pkg:deb/debian/mariadb?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:10.11.11-0+deb12u1","1:10.11.13-0+deb12u1","1:10.11.14-0+deb12u1","1:10.11.14-0+deb12u2","1:10.11.18-0+deb12u1","1:10.11.19-0+deb12u1","1:10.11.3-1","1:10.11.3-2~exp1","1:10.11.4-1","1:10.11.4-1~deb12u1","1:10.11.5-1","1:10.11.5-2","1:10.11.5-3","1:10.11.6-0+deb12u1","1:10.11.6-1","1:10.11.6-2","1:10.11.6-2.1~exp1","1:10.11.7-1","1:10.11.7-2","1:10.11.7-3","1:10.11.7-4","1:10.11.8-1","1:10.11.9-0+deb12u1","1:11.4.2-1","1:11.4.2-2","1:11.4.2-3","1:11.4.2-4","1:11.4.3-1","1:11.4.4-1","1:11.4.4-2","1:11.4.4-3","1:11.4.5-1","1:11.4.5-2~exp1","1:11.8.1-1","1:11.8.1-2","1:11.8.1-3","1:11.8.1-4","1:11.8.1-5","1:11.8.2-1","1:11.8.3-1","1:11.8.5-1","1:11.8.5-2","1:11.8.5-3","1:11.8.5-3~exp1","1:11.8.5-3~exp2","1:11.8.5-3~exp3","1:11.8.5-4","1:11.8.6-1","1:11.8.6-2","1:11.8.6-3","1:11.8.6-4","1:11.8.6-5","1:11.8.6-6","1:11.8.8-1","1:11.8.9+ds-1","1:11.8.9+ds-2","1:11.8.9+ds-3","1:11.8.9+ds-4"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-85985.json"}},{"package":{"name":"mariadb","ecosystem":"Debian:13","purl":"pkg:deb/debian/mariadb?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:11.8.2-1","1:11.8.3-0+deb13u1","1:11.8.3-1","1:11.8.5-1","1:11.8.5-2","1:11.8.5-3","1:11.8.5-3~exp1","1:11.8.5-3~exp2","1:11.8.5-3~exp3","1:11.8.5-4","1:11.8.6-0+deb13u1","1:11.8.6-1","1:11.8.6-2","1:11.8.6-3","1:11.8.6-4","1:11.8.6-5","1:11.8.6-6","1:11.8.8-0+deb13u1","1:11.8.8-1","1:11.8.9+ds-1","1:11.8.9+ds-2","1:11.8.9+ds-3","1:11.8.9+ds-4"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-85985.json"}},{"package":{"name":"mariadb","ecosystem":"Debian:14","purl":"pkg:deb/debian/mariadb?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:11.8.9+ds-1"}]}],"versions":["1:11.8.2-1","1:11.8.3-1","1:11.8.5-1","1:11.8.5-2","1:11.8.5-3","1:11.8.5-3~exp1","1:11.8.5-3~exp2","1:11.8.5-3~exp3","1:11.8.5-4","1:11.8.6-1","1:11.8.6-2","1:11.8.6-3","1:11.8.6-4","1:11.8.6-5","1:11.8.6-6","1:11.8.8-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-85985.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"}]}