CVE-2026-85985: MariaDB: Unauthorized file access via CONNECT engine UDFs
CVE-2026-85985 affects 48 listed versions of MariaDB in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
MariaDB
48 of 250 listed versions are affected. Fixed in 13.0.2, 12.3.3, 11.8.9, 11.4.13, 10.11.19, 10.6.28. The newest release, 13.1.2, is not affected.
13.0.1 12.3.2 12.3.1 11.8.8 11.8.7 11.8.6 11.8.5 11.8.4 11.8.3 11.8.2 11.4.12 11.4.11 11.4.10 11.4.9 11.4.8 11.4.7 11.4.6 11.4.5 11.4.4 11.4.3 11.4.2 10.11.18 10.11.17 10.11.16 10.11.15 10.11.14 10.11.13 10.11.12 10.11.11 10.11.10 10.11.9 10.11.8 10.11.7 10.11.6 10.6.27 10.6.26 10.6.25 10.6.24 10.6.23 10.6.22 10.6.21 10.6.20 10.6.19 10.6.18 10.6.17 10.6.16 10.6.15 10.6.14
What it is
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.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N (GitHub)
Published by GitHub on 16 October 2026. Last changed 20 October 2026.
Sources
Check one version you run: look CVE-2026-85985 up, or pick a product and version in the quick lookup.
Updated 1 December 2026.