Back to the CVE list
CVE-2026-85985

MariaDB: Unauthorized file access via CONNECT engine UDFs

CVSS score

5.4

EPSS probability

%0.2

Risk score

0.0

Published

1 d ago

A patch is available only for some products or versions

Kanıt listesindeki ürün ve sürüm eşleşmesini kontrol edin; bazı varyantlar hâlâ etkileniyor olabilir.

Impact on My Inventory

Only the personal products you have added to your account are assessed; an organisation's inventory does not appear here.

Checking session…

Vulnerability description

CVE AI research

The stored explanation is shown at once; refreshing evaluates the sources again.

DayBreach AI Explanation

Verified against sources

MariaDB Unauthorized File Access via CONNECT Engine UDFs

Sources read

1

Source agreement

Tam uyum

Evidence confidence

%55

Short explanation

The CONNECT engine plugin file-access UDFs in MariaDB server do not enforce the FILE privilege or the secure_file_priv setting. A low-privileged attacker can call these UDFs to read or write files that the database account is not normally authorized to access.

Why does it matter?

This vulnerability allows low-privileged users to bypass database boundaries and perform unauthorized file read and write operations on the underlying file system.

What should be done?

  • Update software versions or follow the vendor advisory
  • Restrict the use of affected UDFs
  • Review database account permissions
Chain of evidence and sources2 verified claims

CONNECT motoru UDF'leri FILE yetkisini veya secure_file_priv ayarını zorunlu kılmamaktadır.

Düşük ayrıcalıklı bir saldırgan, UDF'leri çağırarak veritabanı hesabının yetkisiz olduğu dosyalara erişebilir.

Show the technical text from the sources

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 vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

CWE: CWE-862

Explanation produced with the local gemini-flash-lite-latest model. Numerical metrics and the KEV, patch and exploit statuses are not determined by AI.

IMPACT: Affected Products and Software

Affected Products

The following products are affected by CVE-2026-85985 vulnerability. Where our threat engine knows the exact affected versions, they are listed below.

IDVENDORPRODUCTACTION
1mariadbserver View
2debianmariadb (sid) View
3debianmariadb (forky) View
4debianmariadb (trixie) View
5debianmariadb (bookworm) View
Total affected vendors: 2|Products: 5

RED HAT CSAF/VEX: Product Impact Check

Red Hat has not yet published a CSAF/VEX impact record for this CVE. This does not mean “not affected”.

SCORING: CVSS from Multiple Sources

CVSS Scores

The Common Vulnerability Scoring System is a standardised framework for assessing the severity of vulnerabilities in software and systems. We collect and display CVSS scores from several sources for each CVE.

SCOREVERSIONSEVERITYVECTORSOURCE
5.4CVSS V3_1MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:NCVE CNA
5.4CVSS V31MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:NNVD

Patch and Remediation Guide

Solution & Remediation Advisory

Partial patch

2 düzeltme kanıtı bulundu; en az 2 ürün veya sürüm hâlâ etkileniyor ya da inceleniyor.

debianmariadb (sid)1:11.8.9+ds-1

Debian sid: 1:11.8.9+ds-1

debianmariadb (forky)1:11.8.9+ds-1

Debian forky: 1:11.8.9+ds-1

Confirm the affected product and version against the source evidence above.
Restrict access to internet-facing services and apply network segmentation.
Apply the official update named in the evidence only to the matching product and version.
Monitor server logs and network endpoints for signs of anomalous execution.

Public exploit and active exploitation status

Verified exploit intelligence

No verified public PoC, exploit repository or Metasploit module has been found for this CVE yet.

Weakness Classification and Attack Patterns (CWE & CAPEC)

CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorises the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-85985 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-85985 weaknesses.

Attack Vector and Accessibility

ExposureAğ üzerinden
PermissionsLow
UserGerekmiyor

Official Sources and Advisories

CVSS Vector Radar Chart

5.4 / 10
Attack VectorNetworkComplexityLowPrivilegesLowUser Interact.NoneConfidentialityLowIntegrityNoneAvailabilityNone

Vulnerability Scoring Details

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow privileges
User InteractionNone required
Confidentiality (Gizlilik)Low
Integrity (Bütünlük)None
Availability (Erişilebilirlik)None

Kısmi yama

2 düzeltme kanıtı bulundu; en az 2 ürün veya sürüm hâlâ etkileniyor ya da inceleniyor.

Follow the vendor

M
mariadb logo
mariadb
D
debian logo
debian

Weakness Type (CWE & CAPEC)

Similar Vulnerabilities

Get this vulnerability through the API

Affected products, version ranges, exploitation status and patch information in a single request, with a free key.

curl -H "x-api-key: $DAYBREACH_API_KEY" \
  "https://api.daybreach.dev/api/v1/intel/cves/CVE-2026-85985"