CVE-2026-85985: MariaDB server is a community developed fork of MySQL server.
Medium CVSS 5.4
- CVE id
- CVE-2026-85985
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| MariaDB Runtimes and servers |
>= 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 |
10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3 |
How to fix it
Upgrade MariaDB to the fixed release of the line you run: 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3.
mariadbd --version
- Install the patched MariaDB release of your series (the mariadb image tag or your packages) and restart the server.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
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 jsonfile(), bsonfile(), jfilemake(), bfilemake(), and jbinfile() are affected because each does not enforce FILE privilege or the securefile_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.
References
- CVE-2026-85985 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-85985
- Web: https://github.com/MariaDB/server/commit/4f66ca1b69daf1b7e6a562ca8e86d77a6a70abfe
- Web: https://github.com/MariaDB/server/releases/tag/mariadb-10.11.19
- Web: https://github.com/MariaDB/server/releases/tag/mariadb-10.6.28
- Web: https://github.com/MariaDB/server/releases/tag/mariadb-11.4.13
- Web: https://github.com/MariaDB/server/releases/tag/mariadb-11.8.9
- Web: https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3
- Web: https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2
- Web: https://github.com/MariaDB/server/security/advisories/GHSA-2245-9hm3-wxf6
- Web: https://jira.mariadb.org/browse/MDEV-40323
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.