CVE-2026-49238 Details
Description
An issue was discovered in Canonical Multipass before version 1.16.3. The host-side SFTP server component (sshfs_server), which executes with root privileges on the host, contains a path containment bypass vulnerability within its validate_path function in src/sshfs_mount/sftp_server.cpp. The function performs a plain string prefix comparison on requested paths without path separator validation or dot-dot (..) normalization. A local attacker with root privileges inside a guest virtual machine can bypass the FUSE layer by injecting raw SFTP frames (such as an SSH_FXP_OPEN request) directly into the sshfs_server process stdin/stdout pipes via procfs. By supplying a path containing directory traversal sequences that match the allowed mount prefix, the attacker can force the host-side root process to resolve the traversal and open files outside the designated mount boundary. This allows a guest-side user to read arbitrary files on the host filesystem, resulting in a virtual machine escape.
A path traversal vulnerability has been identified in Canonical Multipass versions prior to 1.16.3. The issue resides in the host-side SFTP server component, sshfs_server, which runs with root privileges. The vulnerability arises because the validate_path function in src/sshfs_mount/sftp_server.cpp performs a simple string prefix comparison on requested paths without validating path separators or normalizing directory traversal sequences. This flaw allows a local attacker with root access inside a guest virtual machine to bypass the FUSE layer by injecting raw SFTP frames, such as an SSH_FXP_OPEN request, directly into the sshfs_server process's stdin/stdout pipes via procfs. By crafting a path traversal that aligns with the allowed mount prefix, the attacker can manipulate the host-side root process to access files outside the designated mount boundary. This exploitation enables the guest user to read arbitrary files from the host filesystem, resulting in a virtual machine escape.
Users can upgrade to Canonical Multipass version 1.16.3 or later to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 28, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/canonical/multipass/security/advisories/GHSA-rhp2-23c4-r34w | CISA-ADP | ExploitThird Party Advisory |
| https://github.com/canonical/multipass/security/advisories/GHSA-rhp2-23c4-r34w | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| canonical multipass | < 1.16.3 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 1, 2026 | Initial Analysis | [email protected] |
| May 28, 2026 | CVE Modified | CISA-ADP |
| May 28, 2026 | New CVE Received | [email protected] |