Description
A Privilege Context Switching issue was discovered in join.c in Firejail 0.9.68. By crafting a bogus Firejail container that is accepted by the Firejail setuid-root program as a join target, a local attacker can enter an environment in which the Linux user namespace is still the initial user namespace, the NO_NEW_PRIVS prctl is not activated, and the entered mount namespace is under the attacker's control. In this way, the filesystem layout can be adjusted to gain root privileges through execution of available setuid-root binaries such as su or sudo.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | firejail | 0.9.68-4 | — |
| Debian 13 | firejail | 0.9.68-4 | — |
| Debian 12 | firejail | 0.9.68-4 | — |
| Debian 11 | firejail | 0.9.64.4-2+deb11u1 | DSA-5167-1 |
| Debian 10 | firejail | 0.9.58.2-2+deb10u3 | DSA-5167-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 9 | firejail | 0.9.58.2-2+deb9u1 | DLA-3061-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | firejail | No fix yet | — |
| Ubuntu 26.04 LTS | firejail | No fix yet | — |
| Ubuntu 25.10 | firejail | No fix yet | — |
| Ubuntu 24.04 LTS | firejail | No fix yet | — |
| Ubuntu 22.04 LTS | firejail | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | firejail | No fix yet | — |
| Ubuntu 18.04 LTS | firejail | No fix yet | — |
| Ubuntu 16.04 LTS | firejail | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 SP4 | firejail | 0.9.70-bp154.2.3.1 | openSUSE-SU-2022:10016-1 |
| SUSE Package Hub 15 SP3 | firejail | 0.9.70-bp153.2.6.1 | openSUSE-SU-2022:10015-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.4 | firejail | 0.9.70-bp154.2.3.1 | openSUSE-SU-2022:10016-1 |
| openSUSE Leap 15.3 | firejail | 0.9.70-bp153.2.6.1 | openSUSE-SU-2022:10015-1 |
Advisories 4
- DSA-5167-1 firejail - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3061-1 firejail - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2022:10015-1 Security update for firejail SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2022:10016-1 Security update for firejail SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://firejail.wordpress.com/download-2/release-notes/
- https://www.openwall.com/lists/oss-security/2022/06/08/10
- DSA-5167 vendor-advisory
- [debian-lts-announce] 20220629 [SECURITY] [DLA 3061-1] firejail security update mailing-list
- FEDORA-2022-7ecd36b131 vendor-advisory
- FEDORA-2022-e8e9b50a33 vendor-advisory
- FEDORA-2022-827d9ce8ac vendor-advisory
- GLSA-202305-19 vendor-advisory