CVE-2026-25740
published medium CVSS 4.0 · 5.8Privilege escalation to the `CAP_NET_RAW` capability via the `programs.captive-browser` NixOS module
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| NixOS | — | nixpkgs<= 25.05 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.8 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| NixOS | nixpkgs | <= 25.05 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-250 CWE-250: Execution with Unnecessary Privileges
References
3Provider assertions
2GitHub_M · cna
Privilege escalation to the `CAP_NET_RAW` capability via the `programs.captive-browser` NixOS module
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a4f58210b95f3fd89d72b1f0aa069a16240ef3fffa116b28c886576a6a2845c7
- Ingested
- 23 Sep 2026, 09:07:08 UTC
- Source record
- Official CVE record