CVE-2026-44171

MariaDB: path traversal in mbstream

Published Jun 12, 2026 CVSS 3.1 · 6.3 Medium EPSS < 1% KEV · Not listed
Description
MariaDB server is a community developed fork of MySQL server. From versions 10.6.1 to before 10.6.26, 10.11.1 to before 10.11.17, 11.4.1 to before 11.4.11, 11.8.1 to before 11.8.7, and 12.3.1, mbstream did not check for /../ in the path when unpacking the archive. A proper backup can never contain such paths, but a specially crafted archive could have caused mbstream to create files outside of the target-dir path. This issue has been patched in versions 10.6.26, 10.11.17, 11.4.11, 11.8.7, and 12.3.2.

Analysis

AI-generated

Technical impact

MariaDB server 10.6.1 through 12.3.1 contains a path‑traversal flaw in the mbstream archive extraction routine. The code fails to sanitize "/../" components, meaning a crafted backup archive could create files outside the intended restore directory. An attacker who can supply a malicious archive could thus overwrite critical files or place executable payloads, compromising confidentiality, integrity, or availability of the system.

Affected Systems

The vulnerability affects MariaDB server versions 10.6.1‑10.6.25, 10.11.1‑10.11.16, 11.4.1‑11.4.10, 11.8.1‑11.8.6, and 12.3.1. Fixed releases are 10.6.26, 10.11.17, 11.4.11, 11.8.7, and 12.3.2 respectively.

Risk and Exploitability

The CVSS score of 6.3 indicates medium severity, and the EPSS score of less than 1% suggests a low likelihood of exploitation in the wild. The vulnerability is not listed in CISA’s KEV catalog. Exploitation would require the ability to supply a specially crafted backup archive, a step that is typically limited to environments where backups originate from the attacker or are not validated. Once the archive is processed by mbstream, the attacker can write arbitrary files to locations outside the restore target directory. This could lead to privilege escalation or persistence if critical system files are overwritten.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the MariaDB install to one of the patched releases (10.6.26, 10.11.17, 11.4.11, 11.8.7, or 12.3.2 or later).
  • If an immediate upgrade is not feasible, do not restore backups that were created by external parties; manually inspect the archive contents and strip any ".." path components before extraction.
  • Configure MariaDB to restrict the restoration directory, for example by setting mbstream.temp.dir to a dedicated secure path and enforcing write‑only permissions on that directory.

Generated by OpenCVE AI on June 12, 2026 at 19:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8536-1 MariaDB vulnerabilities
History
Type Values Removed Values Added
First Time appeared Mariadb mariadb
CPEs cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:12.3.1:*:*:*:*:*:*:*
Vendors & Products Mariadb mariadb
Type Values Removed Values Added
First Time appeared Mariadb
Mariadb server
Vendors & Products Mariadb
Mariadb server
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description MariaDB server is a community developed fork of MySQL server. From versions 10.6.1 to before 10.6.26, 10.11.1 to before 10.11.17, 11.4.1 to before 11.4.11, 11.8.1 to before 11.8.7, and 12.3.1, mbstream did not check for /../ in the path when unpacking the archive. A proper backup can never contain such paths, but a specially crafted archive could have caused mbstream to create files outside of the target-dir path. This issue has been patched in versions 10.6.26, 10.11.17, 11.4.11, 11.8.7, and 12.3.2.
Title MariaDB: path traversal in mbstream
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 12, 2026, 6:06 PM
Reserved
May 5, 2026, 2:39 PM
Status
Analyzed
Published
Jun 12, 2026, 6:16 PM
Modified
Oct 26, 2026, 11:10 AM
Severity
Moderate
Public date
Jun 12, 2026, 5:33 PM