{"id":"RUSTSEC-2026-0147","revision":"b970452cc3f747c7b9b55b3aa841d24c","records":[{"revision":"b970452cc3f747c7b9b55b3aa841d24c","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"RUSTSEC-2026-0147","aliases":["CVE-2026-46695","GHSA-g6ww-w5j2-r7x3","GO-2026-5392","PYSEC-2026-299"],"title":"Read-only volume remount bypass via guest CAP_SYS_ADMIN","description":"Affected versions of `boxlite` mount host directories shared via virtiofs\nas guest-side read-only by setting `MS_RDONLY` from the guest. Because the\ndefault guest capability set included `CAP_SYS_ADMIN`, untrusted code\nrunning inside a sandbox could execute `mount -o remount,rw <path>` to\nre-flag the share as read-write and then write through to the host\nfilesystem — fully escaping the read-only contract `boxlite` advertised\nto callers.\n\nThe fix in v0.9.0 enforces read-only at the hypervisor level via\n`krun_add_virtiofs3` (so the guest's `MS_RDONLY` is no longer the\nauthoritative gate) and drops `CAP_SYS_ADMIN` from the default guest\ncapability set (matching Docker's defaults).\n\nThis is a sandbox-escape bug: `boxlite` is a sandboxing runtime, so the\nread-only invariant is part of its security contract. CVSS rated 10.0 by\nthe upstream advisory.","state":0,"publishedAt":"2026-05-16T12:00:00+00:00","modifiedAt":"2026-10-12T18:00:13.0614739+00:00","affected":[{"ecosystem":"crates.io","name":"boxlite","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.0.0-0"},{"kind":"fixed","version":"0.9.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":null,"severity":null}],"references":["https://crates.io/crates/boxlite","https://rustsec.org/advisories/RUSTSEC-2026-0147.html","https://github.com/boxlite-ai/boxlite/pull/454"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2026-0147","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2026-0147","identifiers":["RUSTSEC-2026-0147","CVE-2026-46695","GHSA-g6ww-w5j2-r7x3","GO-2026-5392","PYSEC-2026-299"]},"retained":false,"historicalAffected":[]}],"coverage":[]}