CVE-2026-49238: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Canonical Multipass
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.
AI Analysis
Technical Summary
The vulnerability exists in the sshfs_server component of Canonical Multipass prior to version 1.16.3. The validate_path function performs an insufficient check on requested file paths, relying on a plain string prefix comparison that does not account for directory traversal sequences (e.g., '..') or path separators. A local attacker with root access inside a guest VM can inject raw SFTP frames directly into the sshfs_server process via procfs, bypassing the FUSE layer. By crafting paths that include directory traversal sequences matching the allowed mount prefix, the attacker can cause the host-side root process to open files outside the intended mount boundary, enabling arbitrary file read access on the host and effectively escaping the VM sandbox.
Potential Impact
This vulnerability allows a local attacker with root privileges inside a guest virtual machine to read arbitrary files on the host filesystem by escaping the VM sandbox. The impact is a complete compromise of confidentiality and integrity of host files accessible by the root process. Availability is not affected. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The vulnerability affects Multipass versions before 1.16.3, so upgrading to version 1.16.3 or later is expected to address the issue once the vendor releases the fix. Until then, restrict root access inside guest VMs and monitor for suspicious activity related to SFTP server interactions. Avoid running untrusted code with root privileges inside guest VMs.
CVE-2026-49238: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Canonical Multipass
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.
CVSS v3.1
Score 8.4high
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability exists in the sshfs_server component of Canonical Multipass prior to version 1.16.3. The validate_path function performs an insufficient check on requested file paths, relying on a plain string prefix comparison that does not account for directory traversal sequences (e.g., '..') or path separators. A local attacker with root access inside a guest VM can inject raw SFTP frames directly into the sshfs_server process via procfs, bypassing the FUSE layer. By crafting paths that include directory traversal sequences matching the allowed mount prefix, the attacker can cause the host-side root process to open files outside the intended mount boundary, enabling arbitrary file read access on the host and effectively escaping the VM sandbox.
Potential Impact
This vulnerability allows a local attacker with root privileges inside a guest virtual machine to read arbitrary files on the host filesystem by escaping the VM sandbox. The impact is a complete compromise of confidentiality and integrity of host files accessible by the root process. Availability is not affected. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The vulnerability affects Multipass versions before 1.16.3, so upgrading to version 1.16.3 or later is expected to address the issue once the vendor releases the fix. Until then, restrict root access inside guest VMs and monitor for suspicious activity related to SFTP server interactions. Avoid running untrusted code with root privileges inside guest VMs.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- canonical
- Date Reserved
- 2026-05-28T12:03:02.295Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a184ec2e29bf47b50f3f924
Added to database: 5/28/2026, 2:18:42 PM
Last enriched: 5/28/2026, 2:35:05 PM
Last updated: 5/29/2026, 8:21:43 AM
Views: 11
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.