{"id":"RUSTSEC-2026-0148","revision":"4dad79fc102a4fbf9ab32d1ce48457d1","records":[{"revision":"4dad79fc102a4fbf9ab32d1ce48457d1","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"RUSTSEC-2026-0148","aliases":["CVE-2026-46703","GHSA-f396-4rp4-7v2j","GO-2026-5344","PYSEC-2026-298"],"title":"OCI layer symlink escape → arbitrary host write","description":"Affected versions of `boxlite` extract OCI image layer tarballs without\nfully containing path resolution to the extraction root. A crafted layer\ncontaining a symlink whose target is an absolute on-host path (e.g.\n`escape -> /tmp`) followed by a file entry that resolves through that\nsymlink (e.g. `escape/<path>/pwned.txt`) caused the extractor to write\nthe payload to the host filesystem outside the intended rootfs directory.\n\nThe fix in v0.9.0 routes every destructive filesystem operation through a\n`SafeRoot` handle (`openat2(RESOLVE_IN_ROOT)` on Linux, lexical fallback\nelsewhere) so that no tar entry can resolve outside the extraction root,\neven with adversarial symlinks placed by earlier entries in the same\nlayer.\n\nThis is a container-escape during image extraction, exploitable by any\nuser who pulls or loads a malicious OCI image — including via\n`SimpleBox(rootfs_path=...)` from an untrusted local layout.","state":0,"publishedAt":"2026-05-16T12:00:00+00:00","modifiedAt":"2026-10-12T18:00:13.556257+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-0148.html","https://github.com/boxlite-ai/boxlite/pull/429","https://github.com/boxlite-ai/boxlite/pull/446","https://github.com/boxlite-ai/boxlite/pull/461"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2026-0148","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2026-0148","identifiers":["RUSTSEC-2026-0148","CVE-2026-46703","GHSA-f396-4rp4-7v2j","GO-2026-5344","PYSEC-2026-298"]},"retained":false,"historicalAffected":[]}],"coverage":[]}