CVE-2026-85985
mariadb: MariaDB: Unauthorized file access via CONNECT engine functions
Overview
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.
Source: OX vulnerability database
Severity
5.4 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Weakness: CWE-862
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | mariadb | >=10.6.1, <10.6.28>=10.11.0, <10.11.19>=11.4.0, <11.4.13>=11.8.0, <11.8.9>=12.3.0, <12.3.3+1 more | 10.6.2810.11.1911.4.1311.8.912.3.3 |
| Bitnami | mariadb-min | >=10.6.1, <10.6.28>=10.11.0, <10.11.19>=11.4.0, <11.4.13>=11.8.0, <11.8.9>=12.3.0, <12.3.3+1 more | 10.6.2810.11.1911.4.1311.8.912.3.3 |
| Bitnami | mysql-client | >=10.6.1, <10.6.28>=10.11.0, <10.11.19>=11.4.0, <11.4.13>=11.8.0, <11.8.9>=12.3.0, <12.3.3+1 more | 10.6.2810.11.1911.4.1311.8.912.3.3 |
Open a package to see all its vulnerabilities.
Operating systems · 18 fixes
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 5.0 | mariadb +4 | 11.8.9-1.ph5 |
Red Hat 7 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | mariadb +7 | affected |
| 7 | mariadb +8 | eol |
| 8 (mariadb-devel:10.3) | galera +15 | affected |
| 8 (mariadb:10.11) | galera +15 | affected |
| 8 (mariadb:10.3) | galera +15 | affected |
| 9 | mariadb +13 | affected |
2 more rows
amazon linux 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | mariadb1011 +28 | 3:10.11.19-1.amzn2023.0.1 |
| 2023 | mariadb114 +28 | 3:11.4.13-1.amzn2023.0.1 |
| 2023 | mariadb118 +27 | 3:11.8.9-1.amzn2023.0.1 |
| 2023 | mariadb123 +27 | 3:12.3.3-2.amzn2023.0.1 |
debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | mariadb | affected |
| 13 | mariadb | affected |
| 14 | mariadb | 1:11.8.9+ds-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| mariadb | 1:11.8.9+ds-2 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | libmariadbd-devel +9 | 12.3.2-3.1 | openSUSE-SU-2026:12245-1 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-85985
- github.com https://github.com/MariaDB/server/commit/4f66ca1b69daf1b7e6a562ca8e86d77a6a70abfe
- github.com https://github.com/MariaDB/server/releases/tag/mariadb-10.11.19
- github.com https://github.com/MariaDB/server/releases/tag/mariadb-10.6.28
- github.com https://github.com/MariaDB/server/releases/tag/mariadb-11.4.13
- github.com https://github.com/MariaDB/server/releases/tag/mariadb-11.8.9
- github.com https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3
- github.com https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2
- github.com https://github.com/MariaDB/server/security/advisories/GHSA-2245-9hm3-wxf6
- jira.mariadb.org https://jira.mariadb.org/browse/MDEV-40323
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.