Email me

Rust advisories / boxlite

Vulnerability CriticalRUSTSEC-2026-0147 · boxlite

RUSTSEC-2026-0147: Read-only volume remount bypass via guest CAP_SYS_ADMIN

Short answerA security vulnerability in the boxlite crate: Read-only volume remount bypass via guest CAP_SYS_ADMIN. Critical severity (CVSS 10.0). Fixed in 0.9.0: update to a fixed version.

Crateboxlite
TypeVulnerability (privilege-escalation)
Affected versionsBefore 0.9.0.
Fixed in0.9.0
SeverityCritical, CVSS 10.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Published2026-05-16
Last changed2026-10-12
Also known asCVE-2026-46695, GHSA-g6ww-w5j2-r7x3, GO-2026-5392, PYSEC-2026-299

What to do

  1. See which version you have: cargo tree -i boxlite (it also shows which of your dependencies pulls it in).
  2. Update within your version requirement: cargo update -p boxlite. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for example boxlite = "0.9.0") or update the dependency that pulls it in.
  3. Check again with cargo audit, or paste your Cargo.lock into our Cargo.toml checker.

Details from the advisory

Affected versions of boxlite mount host directories shared via virtiofs as guest-side read-only by setting MS_RDONLY from the guest. Because the default guest capability set included CAP_SYS_ADMIN, untrusted code running inside a sandbox could execute mount -o remount,rw <path> to re-flag the share as read-write and then write through to the host filesystem , fully escaping the read-only contract boxlite advertised to callers.

The fix in v0.9.0 enforces read-only at the hypervisor level via krun_add_virtiofs3 (so the guest's MS_RDONLY is no longer the authoritative gate) and drops CAP_SYS_ADMIN from the default guest capability set (matching Docker's defaults).

This is a sandbox-escape bug: boxlite is a sandboxing runtime, so the read-only invariant is part of its security contract. CVSS rated 10.0 by the upstream advisory.

References

From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.

Other advisories for boxlite

Full security history of boxlite

Up next

Same crateboxlite: security historyEvery advisory for this crate, and whether it is safe to use today.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ