CVE Catalog

CVE-2026-85985

MediumCVSS 5.4
Published: Translated: NVD NIST

Summary

In MariaDB 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() do not enforce FILE privilege or the secure_file_priv setting. A low-privileged attacker can call such a UDF with a filesystem path to read or write files the database account is not authorized to access.

Risk Assessment

A low-privileged attacker can read or write arbitrary files accessible to the database account, potentially leading to data leakage or system integrity compromise.

Recommendation

Upgrade MariaDB to versions 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, or 13.0.2, where this issue is fixed.

Other vulnerabilities in MariaDB

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS