Privilege escalation to the `CAP_NET_RAW` capability via the `programs.captive-browser` NixOS module
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-25740
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 23:27 UTC · Revision 1
Source evidence
Privilege escalation to the `CAP_NET_RAW` capability via the `programs.captive-browser` NixOS module
core-osv · Original sourcePublished 9 Feb 2026, 20:17 UTC
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.
osv:CVE-2026-25740
Complete source record
{
"id": "840268e05d31f57d8ff04d42c5bd82b3471d4e3e4658bd1ac8987179c73764b1",
"url": "https://osv.dev/vulnerability/CVE-2026-25740",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Privilege escalation to the `CAP_NET_RAW` capability via the `programs.captive-browser` NixOS module",
"summary": "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.",
"evidence": "osv:CVE-2026-25740",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-25740",
"aliases": [
"CVE-2026-25740",
"GHSA-wc3r-c66x-8xmc"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/nixos/nixpkgs",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "e56e0beed4312a89b60fe312ee2241f7a1627f76"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "25.11"
}
],
"source": "DESCRIPTION"
},
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "25.05"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"versions": [
"24.11-pre",
"24.05-pre",
"23.11-beta",
"23.11-pre",
"23.05-pre",
"21.11-pre",
"18.09-beta",
"18.03-beta",
"v208",
"v206",
"v192",
"15.09-beta",
"0.14",
"0.13",
"0.4",
"0.3",
"0.2",
"0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-25740.json"
}
}
],
"modified": "2026-10-28T02:30:24.725177110Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25740.json",
"https://github.com/NixOS/nixpkgs/security/advisories/GHSA-wc3r-c66x-8xmc",
"https://nvd.nist.gov/vuln/detail/CVE-2026-25740",
"https://github.com/NixOS/nixpkgs/pull/487775",
"https://github.com/NixOS/nixpkgs/pull/487779"
],
"provider_metadata": {
"cwe_ids": [
"CWE-250"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25740.json"
}
},
"related_cves": [
{
"value": "CVE-2026-25740",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 490874,
"published_at": "2026-02-09T20:17:16.777+00:00"
}