CVE-2026-85985

MariaDB: Unauthorized file access via CONNECT engine UDFs

MEDIUM
5.4
CVSS Score
Published: October 16, 2026 at 04:21 PM UTC
Updated: October 20, 2026 at 03:32 PM UTC
1 product affected across 1 vendorMariaDB

Using server by MariaDB?

Get instant alerts when new vulnerabilities affect server - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.4
Exploit prediction
EPSS 0.5%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

10.11.1 ≤ v < 10.11.1910.6.1 ≤ v < 10.6.2811.4.1 ≤ v < 11.4.1311.8.1 ≤ v < 11.8.912.3.1 ≤ v < 12.3.313.0.1

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (9)

x_refsource_CONFIRMVendor Advisory
Source: cverecord
https://github.com/MariaDB/server/security/advisories/GHSA-2245-9hm3-wxf6
x_refsource_MISCRelease Notes
Source: cverecord
https://github.com/MariaDB/server/releases/tag/mariadb-10.11.19
x_refsource_MISCRelease Notes
Source: cverecord
https://github.com/MariaDB/server/releases/tag/mariadb-10.6.28
x_refsource_MISCRelease Notes
Source: cverecord
https://github.com/MariaDB/server/releases/tag/mariadb-11.4.13
x_refsource_MISCRelease Notes
Source: cverecord
https://github.com/MariaDB/server/releases/tag/mariadb-11.8.9
x_refsource_MISCRelease Notes
Source: cverecord
https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3
x_refsource_MISCRelease Notes
Source: cverecord
https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.4MEDIUMGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-862

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card