CVE-2026-85985
Received
Received - Intake
MariaDB CONNECT Engine File-Access UDF Privilege Bypass
Vulnerability report for CVE-2026-85985, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-10-16
Last updated on: 2026-10-16
Assigner: GitHub, Inc.
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| MariaDB | server | >= 10.6.1, < 10.6.28 |
| MariaDB | server | >= 10.11.1, < 10.11.19 |
| MariaDB | server | >= 11.4.1, < 11.4.13 |
| MariaDB | server | >= 11.8.1, < 11.8.9 |
| MariaDB | server | >= 12.3.1, < 12.3.3 |
| MariaDB | server | >= 13.0.1, < 13.0.2 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-862 | The product does not perform an authorization check when an actor attempts to access a resource or perform an action. |