Privilege escalation to the `CAP_NET_RAW` capability via the `programs.captive-browser` NixOS module
NixOS nixpkgs
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| NixOS nixpkgs |
| No fix yet |
Original description
captive browser, a dedicated Chrome instance to log into captive portals without messing with DNS settings. In 25.05 and earlier, when programs.captive-browser is enabled, any user of the system can run arbitrary commands with the CAP_NET_RAW capability (binding to privileged ports, spoofing localhost traffic from privileged services...). This vulnerability is fixed in 25.11 and 26.05.
From the CVE record · GitHub_M