# CVE-2026-25740: Privilege escalation to the `CAP_NET_RAW` capability via the `programs.captive-browser` NixOS module

- Severity: Medium 5.8 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-02-09T20:17:16.777Z
- Modified: 2026-06-17T10:25:08.787Z
- Weaknesses: CWE-250
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- NixOS nixpkgs: <= 25.05

## References

- <https://github.com/NixOS/nixpkgs/security/advisories/GHSA-wc3r-c66x-8xmc>
- <https://github.com/NixOS/nixpkgs/pull/487775>
- <https://github.com/NixOS/nixpkgs/pull/487779>

## Sources

- CVE List: [CVE-2026-25740](https://www.cve.org/CVERecord?id=CVE-2026-25740), CVE Terms of Use, modified 2026-02-10
- NVD: [CVE-2026-25740](https://nvd.nist.gov/vuln/detail/CVE-2026-25740), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-25740 · Whole record: https://cve.day/CVE-2026-25740.json · Rebuilt by cve.day 2026-11-25T22:59:13.674Z
