Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-85985— MariaDB: Unauthorized file access via CONNECT engine UDFs

Quick assessment

Affected
MariaDB server
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

MariaDB 服务器是 MySQL 服务器的社区开发分支。在 MariaDB 10.6.1 至 10.6.28、10.11.19、11.4.13、11.8.9、12.3.3 和 13.0.2 版本中,CONNECT 引擎插件的文件访问用户定义函数(UDF)json_file()、bson_file()、jfile_make()、bfile_make() 和 jbin_file() 存在漏洞,因为这些函数均未强制执行 FILE 权限或 secure_file_priv 配置。低权限攻击者可通过调用 CONNECT

CVSS 5.4 · Medium

Affected Version Matrix 6

VendorProduct Version RangeStatus
MariaDB server >= 10.6.1, < 10.6.28 affected
>= 10.11.1, < 10.11.19 affected
>= 11.4.1, < 11.4.13 affected
>= 11.8.1, < 11.8.9 affected
>= 12.3.1, < 12.3.3 affected
>= 13.0.1, < 13.0.2 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-85985

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
MariaDB: Unauthorized file access via CONNECT engine UDFs
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
授权机制缺失
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
MariaDB server >= 10.6.1, < 10.6.28 -

II. Public POCs for CVE-2026-85985

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-85985

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-85985 (2)

Vendor Pages for CVE-2026-85985 (5)

Same Patch Batch · MariaDB · 2026-10-16 · 7 CVEs total

CVE-2026-85748 9.9 CRITICAL MariaDB: Use-after-free with a large number of SYS_REFCURSOR's
CVE-2026-85746 9.9 CRITICAL MariaDB: Out-of-bound buffer write on in `ST_AsText` of nested GeometryCollections
CVE-2026-92262 9.9 CRITICAL MariaDB: Numerous issues caused by historical #mysql50# tablename encoding bypass.
CVE-2026-97380 8.8 HIGH MariaDB: GRANT PROXY with empty password incorrectly checks grantor's privileges
CVE-2026-86047 7.7 HIGH MariaDB: Insufficient quoting in mariadb-dump and SHOW commands
CVE-2026-85745 4.3 MEDIUM MariaDB: Out-of-bound buffer read on in `ST_Area` of a multipolygon.

IV. Related Vulnerabilities

V. Comments for CVE-2026-85985

No comments yet


Leave a comment