Bug 2560582

Summary: CVE-2026-85985 mariadb12.3: MariaDB: Unauthorized file access via CONNECT engine functions [fedora-all]
Product: [Fedora] Fedora Reporter: Lukas Javorsky <ljavorsk>
Component: mariadb12.3Assignee: Michal Schorm <mschorm>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: db-sig, mschorm
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["3b9a1a4c-9ebc-45d5-bf73-4167693ddf6c"]}
Fixed In Version: mariadb12.3-12.3.4-4.fc45 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-12-01 01:04:01 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:43 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:37:47 UTC
FEDORA-2026-ef3f9eb68b (mariadb12.3-12.3.4-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-ef3f9eb68b

Comment 3 Fedora Update System 2026-11-19 19:28:11 UTC
FEDORA-2026-ef3f9eb68b 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-ef3f9eb68b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-ef3f9eb68b

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

Comment 4 Fedora Update System 2026-11-24 07:19:50 UTC
FEDORA-2026-628a70a5a0 (mariadb12.3-12.3.4-4.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-628a70a5a0

Comment 5 Fedora Update System 2026-11-25 03:30:11 UTC
FEDORA-2026-628a70a5a0 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-628a70a5a0`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-628a70a5a0

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

Comment 6 Fedora Update System 2026-11-26 22:06:03 UTC
FEDORA-2026-6d1b4a87a7 (mariadb12.3-12.3.4-4.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-6d1b4a87a7

Comment 7 Fedora Update System 2026-11-26 22:06:09 UTC
FEDORA-2026-66404410a8 (mariadb12.3-12.3.4-4.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-66404410a8

Comment 8 Fedora Update System 2026-11-27 02:32:25 UTC
FEDORA-2026-66404410a8 has been pushed to the Fedora 43 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-66404410a8`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-66404410a8

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

Comment 9 Fedora Update System 2026-11-27 03:23:14 UTC
FEDORA-2026-6d1b4a87a7 has been pushed to the Fedora 44 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-6d1b4a87a7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-6d1b4a87a7

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

Comment 10 Fedora Update System 2026-12-01 01:04:01 UTC
FEDORA-2026-628a70a5a0 (mariadb12.3-12.3.4-4.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.