Vulnerability CriticalRUSTSEC-2026-0148 · boxlite
RUSTSEC-2026-0148: OCI layer symlink escape → arbitrary host write
Short answerA security vulnerability in the boxlite crate: OCI layer symlink escape → arbitrary host write. Critical severity (CVSS 10.0). Fixed in 0.9.0: update to a fixed version.
| Crate | boxlite |
|---|---|
| Type | Vulnerability (privilege-escalation, file-disclosure) |
| Affected versions | Before 0.9.0. |
| Fixed in | 0.9.0 |
| Severity | Critical, CVSS 10.0 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| Published | 2026-05-16 |
| Last changed | 2026-10-12 |
| Also known as | CVE-2026-46703, GHSA-f396-4rp4-7v2j, GO-2026-5344, PYSEC-2026-298 |
What to do
- See which version you have:
cargo tree -i boxlite(it also shows which of your dependencies pulls it in). - 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 exampleboxlite = "0.9.0") or update the dependency that pulls it in. - Check again with
cargo audit, or paste your Cargo.lock into our Cargo.toml checker.
Details from the advisory
Affected versions of boxlite extract OCI image layer tarballs without fully containing path resolution to the extraction root. A crafted layer containing a symlink whose target is an absolute on-host path (e.g. escape -> /tmp) followed by a file entry that resolves through that symlink (e.g. escape/<path>/pwned.txt) caused the extractor to write the payload to the host filesystem outside the intended rootfs directory.
The fix in v0.9.0 routes every destructive filesystem operation through a SafeRoot handle (openat2(RESOLVE_IN_ROOT) on Linux, lexical fallback elsewhere) so that no tar entry can resolve outside the extraction root, even with adversarial symlinks placed by earlier entries in the same layer.
This is a container-escape during image extraction, exploitable by any user who pulls or loads a malicious OCI image , including via SimpleBox(rootfs_path=...) from an untrusted local layout.
References
- Package: crates.io/crates/boxlite
- Advisory: rustsec.org/advisories/RUSTSEC-2026-0148.html
- Web: github.com/boxlite-ai/boxlite/pull/429
- Web: github.com/boxlite-ai/boxlite/pull/429
- Web: github.com/boxlite-ai/boxlite/pull/446
- Web: github.com/boxlite-ai/boxlite/pull/461
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
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?