Bug 2560580

Summary: CVE-2026-85985 mariadb11.8: MariaDB: Unauthorized file access via CONNECT engine functions [fedora-all]
Product: [Fedora] Fedora Reporter: Lukas Javorsky <ljavorsk>
Component: mariadb11.8Assignee: Michal Schorm <mschorm>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: db-sig, mschorm, psloboda
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["3b9a1a4c-9ebc-45d5-bf73-4167693ddf6c"]}
Fixed In Version: mariadb11.8-11.8.10-1.fc45 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-11-27 01:46:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2554196    

Description Lukas Javorsky 2026-10-26 10:38:11 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 2 Fedora Update System 2026-11-19 14:39:09 UTC
FEDORA-2026-ed95ac478f (mariadb11.8-11.8.10-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-ed95ac478f

Comment 3 Fedora Update System 2026-11-19 19:28:50 UTC
FEDORA-2026-ed95ac478f has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-ed95ac478f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-ed95ac478f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2026-11-27 01:46:39 UTC
FEDORA-2026-ed95ac478f (mariadb11.8-11.8.10-1.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.