
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-44171 is a path traversal vulnerability in MariaDB's mbstream backup utility that allows a specially crafted archive to write files outside the intended target directory during extraction. The flaw affects MariaDB 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 version 12.3.1. It was published on June 12, 2026, with the security advisory first disclosed on May 18, 2026 by researcher Riley Scott Jacob. The CVSS v3.1 base score is 6.3 (Medium) per the GitHub advisory, though NVD scores it at 7.8 (High) (GitHub Advisory).
The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory — Path Traversal): mbstream fails to validate or sanitize /../ sequences in file paths embedded within backup archives before extracting them (GitHub Advisory). A legitimate MariaDB backup archive should never contain such path sequences, but an attacker who can supply a maliciously crafted archive to mbstream can cause it to write files to arbitrary filesystem locations outside the --target-dir path. Exploitation requires local access, high privileges, and user interaction (i.e., an administrator must be induced to extract the malicious archive), making the attack vector local with high complexity (GitHub Advisory). The issue is tracked upstream as MDEV-39408.
Successful exploitation allows an attacker to write arbitrary files to any location on the filesystem accessible by the user running mbstream, potentially overwriting sensitive system files, configuration files, or planting malicious executables to achieve code execution (GitHub Advisory). The confidentiality, integrity, and availability impacts are all rated High, as arbitrary file writes can lead to full system compromise. The attack is constrained to local access with high privilege requirements, limiting the immediate blast radius, but a successful exploit could enable privilege escalation or persistent backdoor installation.
mbstream-compatible backup archive containing file entries with path traversal sequences (e.g., ../../../../etc/cron.d/malicious) embedded in the file path metadata.mbstream to restore or extract it (e.g., by posing it as a legitimate backup).mbstream -x --directory=/target-dir < malicious.xbstream, causing mbstream to process the archive without validating /../ sequences in paths.mbstream writes files to attacker-controlled paths outside /target-dir (e.g., dropping a cron job, SSH authorized key, or web shell), potentially leading to code execution or privilege escalation (GitHub Advisory).mbstream target directory immediately following a backup restore operation; new or modified files in sensitive directories (e.g., /etc/cron.d/, /root/.ssh/, web root directories) with timestamps matching a restore event./var/log/auth.log, /var/log/syslog) showing new cron job execution or SSH logins shortly after an mbstream extraction; audit logs recording file creation events in unexpected paths by the MariaDB or backup service account.mbstream process spawning unexpected child processes or writing to paths outside the designated backup target directory as observed via auditd or inotifywait monitoring.Upgrade MariaDB to a patched version: 10.6.26 (for 10.6.x), 10.11.17 (for 10.11.x), 11.4.11 (for 11.4.x), 11.8.7 (for 11.8.x), or 12.3.2 (for 12.3.x) (GitHub Advisory). As a workaround prior to patching, restrict access to mbstream and backup restoration operations to trusted administrators only, and validate the integrity and provenance of backup archives before extraction (e.g., verify cryptographic signatures or checksums). Avoid extracting backup archives from untrusted or unverified sources.
SUSE issued security updates (SUSE-SU-2026:2282-1 and SUSE-SU-2026:2330-1) addressing this vulnerability in their MariaDB packages, and openSUSE followed with corresponding advisories (SUSE Advisory). Tenable published Nessus detection plugins (IDs 319624 and 321069) to identify vulnerable MariaDB installations. The vulnerability received routine coverage from security aggregators and Linux security news outlets, with no notable controversy or significant community debate observed.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."