Unauthorized file access in MariaDB CONNECT engine functions
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Partial Red Hat: 1 fixed, 5 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-862.
Summary
MariaDB server from 10.6.1 before 10.6.28, from 10.11.1 before 10.11.19, from 11.4.1 before 11.4.13, from 11.8.1 before 11.8.9, from 12.3.1 before 12.3.3, and from 13.0.1 before 13.0.2 are affected. The CONNECT engine file-access functions, such as json_file(), do not check the FILE privilege or the secure_file_priv setting (CWE-862). A low-privileged attacker can read or write files that the database account is not authorized to access, subject to operating system permissions.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| MariaDB | server | 10.6.1 to before 10.6.28; 10.11.1 to before 10.11.19; 11.4.1 to before 11.4.13; 11.8.1 to before 11.8.9; 12.3.1 to before 12.3.3; 13.0.1 to before 13.0.2 | 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, 13.0.2 | Patch available | CNA |
- server VendorMariaDB Affected 10.6.1 to before 10.6.28; 10.11.1 to before 10.11.19; 11.4.1 to before 11.4.13; 11.8.1 to before 11.8.9; 12.3.1 to before 12.3.3; 13.0.1 to before 13.0.2 Fixed in 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, 13.0.2 Patch available CNA
CPE configurations NVD · 2
Remediation
Upgrade MariaDB server to 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3 or 13.0.2. Red Hat fixes Red Hat Hardened Images through RHSA-2026:84701 and RHSA-2026:84689. Red Hat Enterprise Linux 7, 8, 9 and 10 have no fix available, and Red Hat OpenStack Platform 13 (Queens) has no fix planned.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
- Fix · CNA server (MariaDB) Fixed in 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, 13.0.2
Red Hat 2 advisories
- RHSA-2026:84701 Released 2026-10-19 · Red Hat rating ImportantRed Hat Hardened Images RPMs Security Update
- Red Hat Hardened Images mariadb10.11-10.11.18-4.1.1.hum1@aarch64, mariadb10.11-10.11.18-4.1.1.hum1@s390x, mariadb10.11-10.11.18-4.1.1.hum1@src +47
- RHSA-2026:84689 Released 2026-10-19 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images mariadb11.8-3:11.8.9-0.1.hum1@aarch64, mariadb11.8-3:11.8.9-0.1.hum1@s390x, mariadb11.8-3:11.8.9-0.1.hum1@src +47
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 7 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat OpenStack Platform 13 (Queens) | Affected | No fix planned: Out of support scope |
| Red Hat Hardened Images | Fixed | RHSA-2026:84689, RHSA-2026:84701 |
Timeline
- 2026-10-16 Threatist record created from CVE-2026-85985
- 2026-10-16 CISA SSVC decision points changed
- 2026-10-16 Priority changed: MEDIUM → LOW
- 2026-10-18 Affected versions changed · Red Hat
- 2026-10-18 CVSS score added · Red Hat
- 2026-10-19 Fix available: RHSA-2026:84701 · Red Hat
- 2026-10-20 Fix available: RHSA-2026:84689 · Red Hat
- 2026-10-20 Fix available: Red Hat Hardened Images · Red Hat
References
Other 7
- https://github.com/MariaDB/server/releases/tag/mariadb-10.11.19
- https://github.com/MariaDB/server/releases/tag/mariadb-10.6.28
- https://github.com/MariaDB/server/releases/tag/mariadb-11.4.13
- https://github.com/MariaDB/server/releases/tag/mariadb-11.8.9
- https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3
- https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2
- https://jira.mariadb.org/browse/MDEV-40323
More Mariadb vulnerabilities
- TI-2023-11776 MariaDB v10.5 was discovered to contain a remote code execution (RCE) vulnerability via… CVSS 3.1CRITICAL 9.8
- TI-2016-05707 Oracle MySQL through 5.5.52, 5.6.x through 5.6.33, and 5.7.x through 5.7.15; MariaDB… CVSS 3.0CRITICAL 9.8
- TI-2022-00687 Infinite loop in BN_mod_sqrt() reachable when parsing certificates CVSS 3.1HIGH 7.5
- TI-2014-00217 OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly… CVSS 3.1HIGH 7.4
- TI-2014-00188 The dtls1_reassemble_fragment function in d1_both.c in OpenSSL before 0.9.8za, 1.0.0… CVSS 2.0MEDIUM 6.8
- TI-2018-15259 zlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if… CVSS 3.1HIGH 7.5
Sources
- CVE-2026-85985 · CVE Program
- CVE-2026-85985 · NVD
- FIRST EPSS
- CVE-2026-85985 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences