CVE-2026-85985: MariaDB
Medium severity, CVSS 5.4. EPSS: 0.5% probability of exploitation activity in the next 30 days.
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.
What to do
The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.
- MariaDB, from 10.6.1, before 10.6.28: fixed in 10.6.28
- MariaDB, from 10.11.1, before 10.11.19: fixed in 10.11.19
- MariaDB, from 11.4.1, before 11.4.13: fixed in 11.4.13
- MariaDB, from 11.8.1, before 11.8.9: fixed in 11.8.9
- MariaDB, from 12.3.1, before 12.3.3: fixed in 12.3.3
Affected products
- MariaDB MariaDB: from 10.6.1, before 10.6.28 (fixed in 10.6.28); from 10.11.1, before 10.11.19 (fixed in 10.11.19); from 11.4.1, before 11.4.13 (fixed in 11.4.13); from 11.8.1, before 11.8.9 (fixed in 11.8.9); from 12.3.1, before 12.3.3 (fixed in 12.3.3); version 13.0.1 only
Published 2026-10-16. Last modified 2026-10-20.