Skip to content
Fencer Vulns
medium 5.4

CVE-2026-85985 json

MariaDB: Unauthorized file access via CONNECT engine UDFs

published 2026-09-07 2 mo ago modified 2026-10-22 17 d ago also BIT-mariadb-2026-85985 , BIT-mariadb-min-2026-85985 , BIT-mysql-client-2026-85985 , EUVD-2026-102923 , GHSA-2245-9hm3-wxf6

cvss
5.4
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 39%
public exploits
0
none known

Summary

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.

Patch / fix

  • bitnami mariadb 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, 13.0.2
  • bitnami mariadb-min 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, 13.0.2
  • bitnami mysql-client 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, 13.0.2
  • mariadb mariadb 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, 13.0.2
  • mariadb Debian 14 1:11.8.9+ds-1

debian advisories DEBIAN-CVE-2026-85985

  • mariadb10.11 hummingbird 1 10.11.18-4.1.1.hum1
  • mariadb10.11-pam hummingbird 1 10.11.18-4.1.1.hum1
  • mariadb10.11-test hummingbird 1 10.11.18-4.1.1.hum1
  • mariadb10.11-backup hummingbird 1 10.11.18-4.1.1.hum1
  • mariadb10.11-common hummingbird 1 10.11.18-4.1.1.hum1
  • mariadb10.11-errmsg hummingbird 1 10.11.18-4.1.1.hum1
  • mariadb10.11-server hummingbird 1 10.11.18-4.1.1.hum1
  • mariadb10.11-embedded hummingbird 1 10.11.18-4.1.1.hum1

red hat advisories RHSA-2026:84701RHSA-2026:84689

  • mariadb openSUSE Tumbleweed 12.3.2-3.1

opensuse advisories openSUSE-SU-2026:12245-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-85985 updated cvss 5.4

mariadb: MariaDB: Unauthorized file access via CONNECT engine functions

  • Red Hat Enterprise Linux 7 mariadb, mariadb-libs, mariadb-test, mariadb-bench, mariadb-server, mariadb-embedded Red Hat Enterprise Linux 8 Judy, galera, mariadb, mariadb-pam, mariadb-test, mariadb-backup, +8 more Red Hat Enterprise Linux 9 mariadb, mariadb-pam, mariadb-test, mariadb-backup, mariadb-common, mariadb-errmsg, +6 more Red Hat Enterprise Linux 10 mariadb11.8 11.8.8-1.el10_2, mariadb10.11 10.11.18-1.el10_2
    affected: no fix available “Fix deferred”
  • Red Hat OpenStack Platform 13 (Queens) mariadb, mariadb-libs, mariadb-test, mariadb-common, mariadb-config, mariadb-errmsg, +3 more
    affected: no fix planned “Out of support scope”
  • Red Hat Hardened Images mariadb11.8 11.8.9-0.1.hum1, mariadb11.8-pam 11.8.9-0.1.hum1, mariadb10.11 10.11.18-4.1.1.hum1, mariadb11.8-test 11.8.9-0.1.hum1, mariadb11.8-backup 11.8.9-0.1.hum1, mariadb11.8-common 11.8.9-0.1.hum1, +31 more
    fixed: vendor fix RHSA-2026:84701

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
23 d ago

Exploit prediction

0.45% chance of exploitation in the next 30 days, higher than 39% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
OSV 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Affected packages

ecosystem package affected 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
>=13.0.0, <13.0.2
10.6.28
10.11.19
11.4.13
11.8.9
12.3.3
13.0.2
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
>=13.0.0, <13.0.2
10.6.28
10.11.19
11.4.13
11.8.9
12.3.3
13.0.2
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
>=13.0.0, <13.0.2
10.6.28
10.11.19
11.4.13
11.8.9
12.3.3
13.0.2

Affected products

  • MariaDB server

Classification

Weakness
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

The maintainers of MariaDB/server published their own advisory on GitHub. Reviewed sources take precedence over it.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.