Skip to content

feat(seccomp): allow nested user namespaces for application sandboxes - #55

Merged
Naxdy merged 1 commit into
Naxdy:mainfrom
edoars:fix/chromium-userns-sandbox
Aug 5, 2026
Merged

Naxdy merged 1 commit into
Naxdy:mainfrom
edoars:fix/chromium-userns-sandbox

Conversation

@edoars

@edoars edoars commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

The seccomp filter introduced in #53 blocks the namespace operations used by Chromium and Electron to create their internal process sandbox. As a result, the existing Brave, Slack, and Discord examples fail with either an invalid SUID sandbox helper or No usable sandbox.

This adds an opt-in option fhsenv.opts.allowNestedUserNamespaces to disable the seccomp filter. Right now this option only permits the operations needed by Chromium's user-namespace sandbox. Other unshare flags remain blocked.

Most importantly, the rules added for CVE-2017-5226 and CVE-2023-28100 remain active. This therefore does not make the seccomp filter optional or revert the protection introduced in #53.

@Naxdy
Naxdy merged commit d460cf0 into Naxdy:main Aug 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants