CVE-2026-85985
Analyzed
Analyzed - Analysis Complete
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-20
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 | mariadb | From 10.11.1 (inc) to 10.11.19 (exc) |
| mariadb | mariadb | From 10.6.1 (inc) to 10.6.28 (exc) |
| mariadb | mariadb | From 11.4.1 (inc) to 11.4.13 (exc) |
| mariadb | mariadb | From 11.8.1 (inc) to 11.8.9 (exc) |
| mariadb | mariadb | From 12.3.1 (inc) to 12.3.3 (exc) |
| mariadb | mariadb | 13.0.1 |
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. |