{"id":"CVE-2026-25740","state":"PUBLISHED","title":"Privilege escalation to the `CAP_NET_RAW` capability via the `programs.captive-browser` NixOS module","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.","publishedAt":"2026-02-09T20:17:16.777Z","updatedAt":"2026-02-10T15:59:39.070Z","severity":{"score":5.8,"label":"Medium","version":"4.0","vector":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["NixOS nixpkgs"],"affected":[{"vendor":"NixOS","product":"nixpkgs","versions":[{"version":"<= 25.05","status":"affected"}]}],"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"],"weaknesses":["CWE-250"],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/25xxx/CVE-2026-25740.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-25740","state":"PUBLISHED","datePublished":"2026-02-09T20:17:16.777Z","dateUpdated":"2026-02-10T15:59:39.070Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-02-05T16:48:00.428Z"},"containers":{"cna":{"title":"Privilege escalation to the `CAP_NET_RAW` capability via the `programs.captive-browser` NixOS module","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"NixOS","product":"nixpkgs","versions":[{"version":"<= 25.05","status":"affected"}]}],"references":[{"url":"https://github.com/NixOS/nixpkgs/security/advisories/GHSA-wc3r-c66x-8xmc","name":"https://github.com/NixOS/nixpkgs/security/advisories/GHSA-wc3r-c66x-8xmc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/NixOS/nixpkgs/pull/487775","name":"https://github.com/NixOS/nixpkgs/pull/487775","tags":["x_refsource_MISC"]},{"url":"https://github.com/NixOS/nixpkgs/pull/487779","name":"https://github.com/NixOS/nixpkgs/pull/487779","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":5.8,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-250","lang":"en","description":"CWE-250: Execution with Unnecessary Privileges","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-02-09T20:17:16.777Z"},"source":{"advisory":"GHSA-wc3r-c66x-8xmc","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-02-10T15:30:17.008038Z","id":"CVE-2026-25740","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-02-10T15:59:39.070Z"}}]}}}