MariaDB: Unauthorized file access via CONNECT engine UDFs
Summary
| CVE | CVE-2026-85985 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-16 17:17:51 UTC |
| Updated | 2026-10-20 15:32:46 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 5.4 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Problem Types: CWE-862 | CWE-862 CWE-862: Missing Authorization
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 5.4 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| 3.1 | CNA | DECLARED | 5.4 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
NVD Known Affected Configurations (CPE 2.3)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | MariaDB | Server | affected >= 10.6.1, < 10.6.28 | Not specified |
| CNA | MariaDB | Server | affected >= 10.11.1, < 10.11.19 | Not specified |
| CNA | MariaDB | Server | affected >= 11.4.1, < 11.4.13 | Not specified |
| CNA | MariaDB | Server | affected >= 11.8.1, < 11.8.9 | Not specified |
| CNA | MariaDB | Server | affected >= 12.3.1, < 12.3.3 | Not specified |
| CNA | MariaDB | Server | affected >= 13.0.1, < 13.0.2 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/MariaDB/server/releases/tag/mariadb-10.6.28 | [email protected] | github.com | Release Notes |
| github.com/MariaDB/server/releases/tag/mariadb-13.0.2 | [email protected] | github.com | Release Notes |
| github.com/MariaDB/server/releases/tag/mariadb-11.8.9 | [email protected] | github.com | Release Notes |
| github.com/MariaDB/server/commit/4f66ca1b69daf1b7e6a562ca8e86d77a6a70abfe | [email protected] | github.com | Patch |
| jira.mariadb.org/browse/MDEV-40323 | [email protected] | jira.mariadb.org | Issue Tracking |
| github.com/MariaDB/server/security/advisories/GHSA-2245-9hm3-wxf6 | [email protected] | github.com | Vendor Advisory |
| github.com/MariaDB/server/releases/tag/mariadb-10.11.19 | [email protected] | github.com | Release Notes |
| github.com/MariaDB/server/releases/tag/mariadb-12.3.3 | [email protected] | github.com | Release Notes |
| github.com/MariaDB/server/releases/tag/mariadb-11.4.13 | [email protected] | github.com | Release Notes |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.