sandlock icon indicating copy to clipboard operation
sandlock copied to clipboard

COW supervisor follows symlinks out of the upper/lower roots, bypassing Landlock

Open congwang-mk opened this issue 5 months ago • 0 comments

In seccomp COW mode, the supervisor resolves backing paths lexically and then performs a plain, symlink-following libc::open that runs outside the child's Landlock ruleset. A symlink in the working dir whose target points outside the sandbox's grants becomes a read and write channel to that target. This is a deterministic confinement escape; it does not require a race.

Found while confirming the filesystem-resolution concern raised by @1lann in #27.

congwang-mk avatar Jun 23 '26 03:06 congwang-mk