Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2026-85985

mariadb: MariaDB: Unauthorized file access via CONNECT engine functions

Overview

Published
16 Oct 2026
Modified
20 Oct 2026
Medium CVE
3 Registry packages
141 OS packages
6 Linux distributions
Yes Fix available

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

Packages affected by CVE-2026-85985
EcosystemPackageVulnerableFixed 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

fixed 1
mariadb
Photon OS fixes for CVE-2026-85985
ReleasePackageFixed in
5.0 mariadb +4 11.8.9-1.ph5

Red Hat 7 releases · 2 packages

affected 7 eol 1
mariadb galera
Red Hat fixes for CVE-2026-85985
ReleasePackageFixed 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

fixed 4
mariadb1011 mariadb114 mariadb118 mariadb123
amazon linux fixes for CVE-2026-85985
ReleasePackageFixed 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

affected 2 fixed 1
mariadb
debian fixes for CVE-2026-85985
ReleasePackageFixed in
12 mariadb affected
13 mariadb affected
14 mariadb 1:11.8.9+ds-1

echo 1 release · 1 package

fixed 1
mariadb
echo fixes for CVE-2026-85985
ReleasePackageFixed in
mariadb 1:11.8.9+ds-2

openSUSE 1 release · 1 package

fixed 1
libmariadbd-devel
openSUSE fixes for CVE-2026-85985
ReleasePackageFixed inAdvisory
Tumbleweed libmariadbd-devel +9 12.3.2-3.1 openSUSE-SU-2026:12245-1

References

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.