boxlite-cli
Command-line interface for BoxLite container runtime
Activity
- Latest release
- 12h ago
- Total releases
- 15
- Cadence
- ~5 days
- Last 12 months
- 15
Reach
- Downloads
- 305
Details
- License
- Apache-2.0
- First release
- Mar 14, 2026
| Version | Released | |
|---|---|---|
0.10.1
patch
|
0.10.1
patch
Dependencies (44)
+ 36 more
Changelog
Compare changes
|
|
0.10.0
minor
|
0.10.0
minor
Dependencies (42)
+ 34 more
Changelog
Compare changes
|
|
0.9.7
unknown
|
0.9.7
unknown
Dependencies (41)
+ 33 more
Changelog
Compare changes
|
|
0.9.6
unknown
yanked
|
0.9.6
unknown
yanked
Dependencies (41)
+ 33 more
Changelog
Compare changes
|
|
0.9.5
unknown
|
0.9.5
unknown
Dependencies (34)
+ 26 more
Changelog
Compare changes
|
|
0.9.4
unknown
|
0.9.4
unknown
Dependencies (32)
+ 24 more
Changelog
Compare changes
|
|
0.9.3
unknown
|
0.9.3
unknown
Dependencies (31)
+ 23 more
Changelog
Compare changes
|
|
0.9.2
unknown
|
0.9.2
unknown
Dependencies (31)
+ 23 more
Changelog
Compare changes
|
|
0.9.1
unknown
|
0.9.1
unknown
Dependencies (31)
+ 23 more
Changelog
Compare changes
|
|
0.9.0
unknown
|
0.9.0
unknown
Dependencies (31)
+ 23 more
Changelog
Compare changes
|
|
0.8.2
unknown
2 CVEs
CVE-2026-46703
GHSA-f396-4rp4-7v2j
GO-2026-5344
PYSEC-2026-298
RUSTSEC-2026-0148
May 21, 2026
Boxlite: Path Traversal Vulnerability Leads to Arbitrary File Write on the Host
9.6
/ 10
Critical
Network
Low
None
Required
Changed
High
High
High
SummaryBoxlite is a sandbox service that allows users to create lightweight virtual machines (Boxes) and run OCI containers within them. Boxlite allows users to specify the OCI image used by containers in the sandbox. However, when processing tar entries in OCI images, Boxlite does not account for the possibility that entries may be symlinks pointing to absolute paths. An attacker can craft a malicious OCI image and distribute it on image hosting platforms such as DockerHub, tricking users into using it. Once a user loads the malicious image, the attacker can write arbitrary content to any path on the host, which can further lead to remote code execution on the host. Details
File:
Issue: The function passes the tar reader into
File:
Issue: The symlink's
File:
Issue:
File:
Issue: When the next tar entry has path
File:
Issue: As seen from the code, when a tar entry is a symlink, Boxlite's security checks are insufficient. An attacker can exploit this vulnerability to achieve arbitrary file write once a user loads a maliciously crafted image. The write permission is consistent with the process privilege running the Boxlite service, which is commonly root on Linux. The attacker can further leverage this capability to achieve remote code execution, such as writing the attacker's public key into the host's authorized_keys. PoC
ImpactAn attacker can craft a malicious OCI image and distribute it on image hosting platforms such as DockerHub, tricking users into using it. Once a user loads the malicious image, the attacker can write arbitrary content to any path on the host, which can further lead to remote code execution on the host. ScoreSeverity: Critical, Score: 9.7, rationale as follows:
CreditThis vulnerability was discovered by:
CVE and credit are preferred. If you have any questions regarding the vulnerability details, please feel free to reach out to us for further discussion. Our email address is xlabai@tencent.com. NoteNote that we follow the industry-standard 90+30 disclosure policy (Reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). This means that we reserve the right to disclose the details of the vulnerability 30 days after the fix has been implemented. Fixed in
0.9.0
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-46695
GHSA-g6ww-w5j2-r7x3
GO-2026-5392
PYSEC-2026-299
RUSTSEC-2026-0147
May 21, 2026
BoxLite: Permission Bypass Allows Modification of Read-Only Files
10.0
/ 10
Critical
Network
Low
None
None
Changed
High
High
None
SummaryBoxlite is a sandbox service that allows users to create lightweight virtual machines (Boxes) and launch OCI containers within them to run untrusted code. One of the core security features claimed by Boxlite is the ability to mount host directories in read-only mode (read_only=True) into the VM via the virtiofs protocol (a host-guest shared filesystem protocol designed specifically for virtual machines), so that untrusted code can only read but not modify host data. Since the underlying function of the lightweight VM library libkrun used by Boxlite does not support mounting in read-only mode, Boxlite chooses to implement read-only by adding the MS_RDONLY flag when mounting the directory after the VM starts. However, because Boxlite does not restrict the kernel capabilities available inside the container, malicious code can remount the directory in rw mode, thereby gaining write access to that directory. This allows malicious code to perform arbitrary write operations on directories that should be read-only. In typical usage scenarios of Boxlite, an attacker can leverage this vulnerability to gain code execution capability on the host. For example, in AI Agent scenarios, user code, virtual environments, credentials, configuration files, and other content are often mounted in read-only mode into the container. Malicious code inside the sandbox can modify this information, such as planting malicious code, to gain code execution capability on the host, which may further introduce supply chain risks. Details
File:
Issue: The
File:
Issue:
File:
Issue:
File:
Issue: The
File:
Issue: There is no alternative read-only virtiofs FFI function declared. The entire codebase has no
File:
Issue: Returns all 41 capabilities including the most dangerous ones, like PoC
ImpactMalicious code can perform arbitrary write operations on directories that should be read-only. In typical usage scenarios of Boxlite, an attacker can leverage this vulnerability to gain code execution capability on the host. For example, in AI Agent scenarios, user code, virtual environments, credentials, configuration files, and other content are often mounted in read-only mode into the container. Malicious code inside the sandbox can modify this information, such as planting malicious code, to gain code execution capability on the host, which may further introduce supply chain risks. ScoreSeverity: Critical, Score: 10.0, rationale as follows:
CreditThis vulnerability was discovered by:
CVE and credit are preferred. If you have any questions regarding the vulnerability details, please feel free to reach out to us for further discussion. Our email address is xlabai@tencent.com. NoteNote that we follow the industry-standard 90+30 disclosure policy (Reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). This means that we reserve the right to disclose the details of the vulnerability 30 days after the fix has been implemented. ResolutionFixed in v0.9.0 by PR #454 (commit
Regression coverage: Remediation: upgrade to boxlite 0.9.0 or later (all SDKs: PyPI Fixed in
0.9.0
References
Updated Sep 10, 2026 · Source: OSV.dev |
0.8.2
unknown
Dependencies (31)
+ 23 more
Changelog
Compare changes
|
|
0.8.1
unknown
2 CVEs
CVE-2026-46703
GHSA-f396-4rp4-7v2j
GO-2026-5344
PYSEC-2026-298
RUSTSEC-2026-0148
May 21, 2026
Boxlite: Path Traversal Vulnerability Leads to Arbitrary File Write on the Host
9.6
/ 10
Critical
Network
Low
None
Required
Changed
High
High
High
SummaryBoxlite is a sandbox service that allows users to create lightweight virtual machines (Boxes) and run OCI containers within them. Boxlite allows users to specify the OCI image used by containers in the sandbox. However, when processing tar entries in OCI images, Boxlite does not account for the possibility that entries may be symlinks pointing to absolute paths. An attacker can craft a malicious OCI image and distribute it on image hosting platforms such as DockerHub, tricking users into using it. Once a user loads the malicious image, the attacker can write arbitrary content to any path on the host, which can further lead to remote code execution on the host. Details
File:
Issue: The function passes the tar reader into
File:
Issue: The symlink's
File:
Issue:
File:
Issue: When the next tar entry has path
File:
Issue: As seen from the code, when a tar entry is a symlink, Boxlite's security checks are insufficient. An attacker can exploit this vulnerability to achieve arbitrary file write once a user loads a maliciously crafted image. The write permission is consistent with the process privilege running the Boxlite service, which is commonly root on Linux. The attacker can further leverage this capability to achieve remote code execution, such as writing the attacker's public key into the host's authorized_keys. PoC
ImpactAn attacker can craft a malicious OCI image and distribute it on image hosting platforms such as DockerHub, tricking users into using it. Once a user loads the malicious image, the attacker can write arbitrary content to any path on the host, which can further lead to remote code execution on the host. ScoreSeverity: Critical, Score: 9.7, rationale as follows:
CreditThis vulnerability was discovered by:
CVE and credit are preferred. If you have any questions regarding the vulnerability details, please feel free to reach out to us for further discussion. Our email address is xlabai@tencent.com. NoteNote that we follow the industry-standard 90+30 disclosure policy (Reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). This means that we reserve the right to disclose the details of the vulnerability 30 days after the fix has been implemented. Fixed in
0.9.0
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-46695
GHSA-g6ww-w5j2-r7x3
GO-2026-5392
PYSEC-2026-299
RUSTSEC-2026-0147
May 21, 2026
BoxLite: Permission Bypass Allows Modification of Read-Only Files
10.0
/ 10
Critical
Network
Low
None
None
Changed
High
High
None
SummaryBoxlite is a sandbox service that allows users to create lightweight virtual machines (Boxes) and launch OCI containers within them to run untrusted code. One of the core security features claimed by Boxlite is the ability to mount host directories in read-only mode (read_only=True) into the VM via the virtiofs protocol (a host-guest shared filesystem protocol designed specifically for virtual machines), so that untrusted code can only read but not modify host data. Since the underlying function of the lightweight VM library libkrun used by Boxlite does not support mounting in read-only mode, Boxlite chooses to implement read-only by adding the MS_RDONLY flag when mounting the directory after the VM starts. However, because Boxlite does not restrict the kernel capabilities available inside the container, malicious code can remount the directory in rw mode, thereby gaining write access to that directory. This allows malicious code to perform arbitrary write operations on directories that should be read-only. In typical usage scenarios of Boxlite, an attacker can leverage this vulnerability to gain code execution capability on the host. For example, in AI Agent scenarios, user code, virtual environments, credentials, configuration files, and other content are often mounted in read-only mode into the container. Malicious code inside the sandbox can modify this information, such as planting malicious code, to gain code execution capability on the host, which may further introduce supply chain risks. Details
File:
Issue: The
File:
Issue:
File:
Issue:
File:
Issue: The
File:
Issue: There is no alternative read-only virtiofs FFI function declared. The entire codebase has no
File:
Issue: Returns all 41 capabilities including the most dangerous ones, like PoC
ImpactMalicious code can perform arbitrary write operations on directories that should be read-only. In typical usage scenarios of Boxlite, an attacker can leverage this vulnerability to gain code execution capability on the host. For example, in AI Agent scenarios, user code, virtual environments, credentials, configuration files, and other content are often mounted in read-only mode into the container. Malicious code inside the sandbox can modify this information, such as planting malicious code, to gain code execution capability on the host, which may further introduce supply chain risks. ScoreSeverity: Critical, Score: 10.0, rationale as follows:
CreditThis vulnerability was discovered by:
CVE and credit are preferred. If you have any questions regarding the vulnerability details, please feel free to reach out to us for further discussion. Our email address is xlabai@tencent.com. NoteNote that we follow the industry-standard 90+30 disclosure policy (Reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). This means that we reserve the right to disclose the details of the vulnerability 30 days after the fix has been implemented. ResolutionFixed in v0.9.0 by PR #454 (commit
Regression coverage: Remediation: upgrade to boxlite 0.9.0 or later (all SDKs: PyPI Fixed in
0.9.0
References
Updated Sep 10, 2026 · Source: OSV.dev |
0.8.1
unknown
Dependencies (31)
+ 23 more
Changelog
Compare changes
|
|
0.8.0
unknown
2 CVEs
CVE-2026-46703
GHSA-f396-4rp4-7v2j
GO-2026-5344
PYSEC-2026-298
RUSTSEC-2026-0148
May 21, 2026
Boxlite: Path Traversal Vulnerability Leads to Arbitrary File Write on the Host
9.6
/ 10
Critical
Network
Low
None
Required
Changed
High
High
High
SummaryBoxlite is a sandbox service that allows users to create lightweight virtual machines (Boxes) and run OCI containers within them. Boxlite allows users to specify the OCI image used by containers in the sandbox. However, when processing tar entries in OCI images, Boxlite does not account for the possibility that entries may be symlinks pointing to absolute paths. An attacker can craft a malicious OCI image and distribute it on image hosting platforms such as DockerHub, tricking users into using it. Once a user loads the malicious image, the attacker can write arbitrary content to any path on the host, which can further lead to remote code execution on the host. Details
File:
Issue: The function passes the tar reader into
File:
Issue: The symlink's
File:
Issue:
File:
Issue: When the next tar entry has path
File:
Issue: As seen from the code, when a tar entry is a symlink, Boxlite's security checks are insufficient. An attacker can exploit this vulnerability to achieve arbitrary file write once a user loads a maliciously crafted image. The write permission is consistent with the process privilege running the Boxlite service, which is commonly root on Linux. The attacker can further leverage this capability to achieve remote code execution, such as writing the attacker's public key into the host's authorized_keys. PoC
ImpactAn attacker can craft a malicious OCI image and distribute it on image hosting platforms such as DockerHub, tricking users into using it. Once a user loads the malicious image, the attacker can write arbitrary content to any path on the host, which can further lead to remote code execution on the host. ScoreSeverity: Critical, Score: 9.7, rationale as follows:
CreditThis vulnerability was discovered by:
CVE and credit are preferred. If you have any questions regarding the vulnerability details, please feel free to reach out to us for further discussion. Our email address is xlabai@tencent.com. NoteNote that we follow the industry-standard 90+30 disclosure policy (Reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). This means that we reserve the right to disclose the details of the vulnerability 30 days after the fix has been implemented. Fixed in
0.9.0
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-46695
GHSA-g6ww-w5j2-r7x3
GO-2026-5392
PYSEC-2026-299
RUSTSEC-2026-0147
May 21, 2026
BoxLite: Permission Bypass Allows Modification of Read-Only Files
10.0
/ 10
Critical
Network
Low
None
None
Changed
High
High
None
SummaryBoxlite is a sandbox service that allows users to create lightweight virtual machines (Boxes) and launch OCI containers within them to run untrusted code. One of the core security features claimed by Boxlite is the ability to mount host directories in read-only mode (read_only=True) into the VM via the virtiofs protocol (a host-guest shared filesystem protocol designed specifically for virtual machines), so that untrusted code can only read but not modify host data. Since the underlying function of the lightweight VM library libkrun used by Boxlite does not support mounting in read-only mode, Boxlite chooses to implement read-only by adding the MS_RDONLY flag when mounting the directory after the VM starts. However, because Boxlite does not restrict the kernel capabilities available inside the container, malicious code can remount the directory in rw mode, thereby gaining write access to that directory. This allows malicious code to perform arbitrary write operations on directories that should be read-only. In typical usage scenarios of Boxlite, an attacker can leverage this vulnerability to gain code execution capability on the host. For example, in AI Agent scenarios, user code, virtual environments, credentials, configuration files, and other content are often mounted in read-only mode into the container. Malicious code inside the sandbox can modify this information, such as planting malicious code, to gain code execution capability on the host, which may further introduce supply chain risks. Details
File:
Issue: The
File:
Issue:
File:
Issue:
File:
Issue: The
File:
Issue: There is no alternative read-only virtiofs FFI function declared. The entire codebase has no
File:
Issue: Returns all 41 capabilities including the most dangerous ones, like PoC
ImpactMalicious code can perform arbitrary write operations on directories that should be read-only. In typical usage scenarios of Boxlite, an attacker can leverage this vulnerability to gain code execution capability on the host. For example, in AI Agent scenarios, user code, virtual environments, credentials, configuration files, and other content are often mounted in read-only mode into the container. Malicious code inside the sandbox can modify this information, such as planting malicious code, to gain code execution capability on the host, which may further introduce supply chain risks. ScoreSeverity: Critical, Score: 10.0, rationale as follows:
CreditThis vulnerability was discovered by:
CVE and credit are preferred. If you have any questions regarding the vulnerability details, please feel free to reach out to us for further discussion. Our email address is xlabai@tencent.com. NoteNote that we follow the industry-standard 90+30 disclosure policy (Reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). This means that we reserve the right to disclose the details of the vulnerability 30 days after the fix has been implemented. ResolutionFixed in v0.9.0 by PR #454 (commit
Regression coverage: Remediation: upgrade to boxlite 0.9.0 or later (all SDKs: PyPI Fixed in
0.9.0
References
Updated Sep 10, 2026 · Source: OSV.dev |
0.8.0
unknown
Dependencies (31)
+ 23 more
Changelog
Compare changes
|
|
0.7.5
unknown
2 CVEs
CVE-2026-46703
GHSA-f396-4rp4-7v2j
GO-2026-5344
PYSEC-2026-298
RUSTSEC-2026-0148
May 21, 2026
Boxlite: Path Traversal Vulnerability Leads to Arbitrary File Write on the Host
9.6
/ 10
Critical
Network
Low
None
Required
Changed
High
High
High
SummaryBoxlite is a sandbox service that allows users to create lightweight virtual machines (Boxes) and run OCI containers within them. Boxlite allows users to specify the OCI image used by containers in the sandbox. However, when processing tar entries in OCI images, Boxlite does not account for the possibility that entries may be symlinks pointing to absolute paths. An attacker can craft a malicious OCI image and distribute it on image hosting platforms such as DockerHub, tricking users into using it. Once a user loads the malicious image, the attacker can write arbitrary content to any path on the host, which can further lead to remote code execution on the host. Details
File:
Issue: The function passes the tar reader into
File:
Issue: The symlink's
File:
Issue:
File:
Issue: When the next tar entry has path
File:
Issue: As seen from the code, when a tar entry is a symlink, Boxlite's security checks are insufficient. An attacker can exploit this vulnerability to achieve arbitrary file write once a user loads a maliciously crafted image. The write permission is consistent with the process privilege running the Boxlite service, which is commonly root on Linux. The attacker can further leverage this capability to achieve remote code execution, such as writing the attacker's public key into the host's authorized_keys. PoC
ImpactAn attacker can craft a malicious OCI image and distribute it on image hosting platforms such as DockerHub, tricking users into using it. Once a user loads the malicious image, the attacker can write arbitrary content to any path on the host, which can further lead to remote code execution on the host. ScoreSeverity: Critical, Score: 9.7, rationale as follows:
CreditThis vulnerability was discovered by:
CVE and credit are preferred. If you have any questions regarding the vulnerability details, please feel free to reach out to us for further discussion. Our email address is xlabai@tencent.com. NoteNote that we follow the industry-standard 90+30 disclosure policy (Reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). This means that we reserve the right to disclose the details of the vulnerability 30 days after the fix has been implemented. Fixed in
0.9.0
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-46695
GHSA-g6ww-w5j2-r7x3
GO-2026-5392
PYSEC-2026-299
RUSTSEC-2026-0147
May 21, 2026
BoxLite: Permission Bypass Allows Modification of Read-Only Files
10.0
/ 10
Critical
Network
Low
None
None
Changed
High
High
None
SummaryBoxlite is a sandbox service that allows users to create lightweight virtual machines (Boxes) and launch OCI containers within them to run untrusted code. One of the core security features claimed by Boxlite is the ability to mount host directories in read-only mode (read_only=True) into the VM via the virtiofs protocol (a host-guest shared filesystem protocol designed specifically for virtual machines), so that untrusted code can only read but not modify host data. Since the underlying function of the lightweight VM library libkrun used by Boxlite does not support mounting in read-only mode, Boxlite chooses to implement read-only by adding the MS_RDONLY flag when mounting the directory after the VM starts. However, because Boxlite does not restrict the kernel capabilities available inside the container, malicious code can remount the directory in rw mode, thereby gaining write access to that directory. This allows malicious code to perform arbitrary write operations on directories that should be read-only. In typical usage scenarios of Boxlite, an attacker can leverage this vulnerability to gain code execution capability on the host. For example, in AI Agent scenarios, user code, virtual environments, credentials, configuration files, and other content are often mounted in read-only mode into the container. Malicious code inside the sandbox can modify this information, such as planting malicious code, to gain code execution capability on the host, which may further introduce supply chain risks. Details
File:
Issue: The
File:
Issue:
File:
Issue:
File:
Issue: The
File:
Issue: There is no alternative read-only virtiofs FFI function declared. The entire codebase has no
File:
Issue: Returns all 41 capabilities including the most dangerous ones, like PoC
ImpactMalicious code can perform arbitrary write operations on directories that should be read-only. In typical usage scenarios of Boxlite, an attacker can leverage this vulnerability to gain code execution capability on the host. For example, in AI Agent scenarios, user code, virtual environments, credentials, configuration files, and other content are often mounted in read-only mode into the container. Malicious code inside the sandbox can modify this information, such as planting malicious code, to gain code execution capability on the host, which may further introduce supply chain risks. ScoreSeverity: Critical, Score: 10.0, rationale as follows:
CreditThis vulnerability was discovered by:
CVE and credit are preferred. If you have any questions regarding the vulnerability details, please feel free to reach out to us for further discussion. Our email address is xlabai@tencent.com. NoteNote that we follow the industry-standard 90+30 disclosure policy (Reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). This means that we reserve the right to disclose the details of the vulnerability 30 days after the fix has been implemented. ResolutionFixed in v0.9.0 by PR #454 (commit
Regression coverage: Remediation: upgrade to boxlite 0.9.0 or later (all SDKs: PyPI Fixed in
0.9.0
References
Updated Sep 10, 2026 · Source: OSV.dev |
0.7.5
unknown
Dependencies (29)
+ 21 more
Changelog
Compare changes
|
|
0.7.4
unknown
2 CVEs
CVE-2026-46703
GHSA-f396-4rp4-7v2j
GO-2026-5344
PYSEC-2026-298
RUSTSEC-2026-0148
May 21, 2026
Boxlite: Path Traversal Vulnerability Leads to Arbitrary File Write on the Host
9.6
/ 10
Critical
Network
Low
None
Required
Changed
High
High
High
SummaryBoxlite is a sandbox service that allows users to create lightweight virtual machines (Boxes) and run OCI containers within them. Boxlite allows users to specify the OCI image used by containers in the sandbox. However, when processing tar entries in OCI images, Boxlite does not account for the possibility that entries may be symlinks pointing to absolute paths. An attacker can craft a malicious OCI image and distribute it on image hosting platforms such as DockerHub, tricking users into using it. Once a user loads the malicious image, the attacker can write arbitrary content to any path on the host, which can further lead to remote code execution on the host. Details
File:
Issue: The function passes the tar reader into
File:
Issue: The symlink's
File:
Issue:
File:
Issue: When the next tar entry has path
File:
Issue: As seen from the code, when a tar entry is a symlink, Boxlite's security checks are insufficient. An attacker can exploit this vulnerability to achieve arbitrary file write once a user loads a maliciously crafted image. The write permission is consistent with the process privilege running the Boxlite service, which is commonly root on Linux. The attacker can further leverage this capability to achieve remote code execution, such as writing the attacker's public key into the host's authorized_keys. PoC
ImpactAn attacker can craft a malicious OCI image and distribute it on image hosting platforms such as DockerHub, tricking users into using it. Once a user loads the malicious image, the attacker can write arbitrary content to any path on the host, which can further lead to remote code execution on the host. ScoreSeverity: Critical, Score: 9.7, rationale as follows:
CreditThis vulnerability was discovered by:
CVE and credit are preferred. If you have any questions regarding the vulnerability details, please feel free to reach out to us for further discussion. Our email address is xlabai@tencent.com. NoteNote that we follow the industry-standard 90+30 disclosure policy (Reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). This means that we reserve the right to disclose the details of the vulnerability 30 days after the fix has been implemented. Fixed in
0.9.0
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-46695
GHSA-g6ww-w5j2-r7x3
GO-2026-5392
PYSEC-2026-299
RUSTSEC-2026-0147
May 21, 2026
BoxLite: Permission Bypass Allows Modification of Read-Only Files
10.0
/ 10
Critical
Network
Low
None
None
Changed
High
High
None
SummaryBoxlite is a sandbox service that allows users to create lightweight virtual machines (Boxes) and launch OCI containers within them to run untrusted code. One of the core security features claimed by Boxlite is the ability to mount host directories in read-only mode (read_only=True) into the VM via the virtiofs protocol (a host-guest shared filesystem protocol designed specifically for virtual machines), so that untrusted code can only read but not modify host data. Since the underlying function of the lightweight VM library libkrun used by Boxlite does not support mounting in read-only mode, Boxlite chooses to implement read-only by adding the MS_RDONLY flag when mounting the directory after the VM starts. However, because Boxlite does not restrict the kernel capabilities available inside the container, malicious code can remount the directory in rw mode, thereby gaining write access to that directory. This allows malicious code to perform arbitrary write operations on directories that should be read-only. In typical usage scenarios of Boxlite, an attacker can leverage this vulnerability to gain code execution capability on the host. For example, in AI Agent scenarios, user code, virtual environments, credentials, configuration files, and other content are often mounted in read-only mode into the container. Malicious code inside the sandbox can modify this information, such as planting malicious code, to gain code execution capability on the host, which may further introduce supply chain risks. Details
File:
Issue: The
File:
Issue:
File:
Issue:
File:
Issue: The
File:
Issue: There is no alternative read-only virtiofs FFI function declared. The entire codebase has no
File:
Issue: Returns all 41 capabilities including the most dangerous ones, like PoC
ImpactMalicious code can perform arbitrary write operations on directories that should be read-only. In typical usage scenarios of Boxlite, an attacker can leverage this vulnerability to gain code execution capability on the host. For example, in AI Agent scenarios, user code, virtual environments, credentials, configuration files, and other content are often mounted in read-only mode into the container. Malicious code inside the sandbox can modify this information, such as planting malicious code, to gain code execution capability on the host, which may further introduce supply chain risks. ScoreSeverity: Critical, Score: 10.0, rationale as follows:
CreditThis vulnerability was discovered by:
CVE and credit are preferred. If you have any questions regarding the vulnerability details, please feel free to reach out to us for further discussion. Our email address is xlabai@tencent.com. NoteNote that we follow the industry-standard 90+30 disclosure policy (Reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). This means that we reserve the right to disclose the details of the vulnerability 30 days after the fix has been implemented. ResolutionFixed in v0.9.0 by PR #454 (commit
Regression coverage: Remediation: upgrade to boxlite 0.9.0 or later (all SDKs: PyPI Fixed in
0.9.0
References
Updated Sep 10, 2026 · Source: OSV.dev |