Skip to main content

CVE-2026-85985: CWE-862: Missing Authorization in MariaDB server

0
Medium
VulnerabilityCVE-2026-85985cvecve-2026-85985cwe-862
Published: 10/16/2026 (10/16/2026, 16:21:14 UTC)
Source: CVE Database V5
Vendor/Project: MariaDB
Product: server

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 v3.1

Score 5.4medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Affected software

MariaDB

server

Affected versions
>=10.6.1 <10.6.28>=10.11.1 <10.11.19>=11.4.1 <11.4.13>=11.8.1 <11.8.9>=12.3.1 <12.3.3>=13.0.1 <13.0.2
GitHub Actionsmore threats →ai
mariadb/server
pkg:github/mariadb/server
Affected versions
10.6.1 <10.6.2810.11.1 <10.11.1911.4.1 <11.4.1311.8.1 <11.8.912.3.1 <12.3.313.0.1 <13.0.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/16/2026, 16:48:30 UTC

Technical Analysis

MariaDB server versions from 10.6.1 up to but excluding 10.6.28, 10.11.1 up to but excluding 10.11.19, 11.4.1 up to but excluding 11.4.13, 11.8.1 up to but excluding 11.8.9, 12.3.1 up to but excluding 12.3.3, and 13.0.1 up to but excluding 13.0.2 contain a missing authorization vulnerability (CWE-862) in the CONNECT engine plugin's file-access user-defined functions (UDFs) json_file(), bson_file(), jfile_make(), bfile_make(), and jbin_file(). These UDFs fail to enforce the FILE privilege or the secure_file_priv setting, enabling a low-privileged attacker to invoke these functions with filesystem paths to read or write files beyond their database account permissions, constrained only by operating system permissions. This vulnerability has been addressed in the fixed versions 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2.

Potential Impact

An attacker with low database privileges can exploit this vulnerability to read or write arbitrary files on the filesystem accessible to the database process, bypassing MariaDB's FILE privilege and secure_file_priv restrictions. This could lead to unauthorized data disclosure or modification within the scope of the database server's OS permissions. There is no indication of remote code execution or denial of service. The CVSS score is 5.4 (medium severity).

Mitigation Recommendations

This vulnerability is fixed in MariaDB versions 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2. Users should upgrade to these or later versions to remediate the issue. No vendor advisory content contradicts this; therefore, upgrading is the recommended mitigation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-09-04T19:17:36.245Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ad252552cdf04f6560adcdf

Added to database: 10/16/2026, 16:35:33 UTC

Last enriched: 10/16/2026, 16:48:30 UTC

Last updated: 10/16/2026, 17:36:07 UTC

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses