Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
cap_net is invoked by locally executing sandboxed processes, not remotely; AV:L and PR:L better reflect required local process control.
Primary rating from Vendor (freebsd).
CVSS VectorVendor: freebsd
Lifecycle Timeline
3DescriptionCVE.org
In the case of the cap_net service, when a key present in the old limit was omitted from the new limit, the missing key was treated as "allow any" instead of being rejected.
In certain scenarios, an application that had previously restricted a subset of network operations could ask for a new limit that extended the permissions of the process.
AnalysisAI
cap_net privilege escalation in FreeBSD allows Capsicum-sandboxed applications to silently expand their own network operation permissions beyond what was explicitly granted. When a sandboxed process submits a new cap_net limit that omits a key present in the previously active limit, the service incorrectly treats the omission as an unrestricted allow-any grant rather than rejecting the request. Affected releases are FreeBSD 15.0-RELEASE before patch 9, 14.3-RELEASE before patch 14, and 14.4-RELEASE before patch 5; no public exploit is identified and EPSS sits at 0.01% (3rd percentile), though SSVC flags the attack as automatable once the preconditions are met.
Technical ContextAI
FreeBSD's Capsicum security framework provides fine-grained capability-based sandboxing for processes. The cap_net service is a Capsicum component that enforces network operation limits on sandboxed processes via a key-value limit structure - each key represents a category of network operation (e.g., bind, connect, DNS resolution) and its value defines what is permitted. CWE-269 (Improper Privilege Management) applies here: when a sandboxed process calls into cap_net to update its active limit, the implementation fails to validate that the new limit is strictly a subset of the old one. A missing key in the new limit should trigger a rejection, but instead the absence is interpreted as an unrestricted grant. This logic inversion in the permission-narrowing check is the root cause. The affected CPE is cpe:2.3:a:freebsd:freebsd:*:*:*:*:*:*:*:* across three release branches.
RemediationAI
Apply vendor-released patches to reach FreeBSD 15.0-RELEASE-p9, FreeBSD 14.3-RELEASE-p14, or FreeBSD 14.4-RELEASE-p5, as documented in FreeBSD Security Advisory FreeBSD-SA-26:24.cap_net (https://security.freebsd.org/advisories/FreeBSD-SA-26:24.cap_net.asc). Systems that do not use Capsicum's cap_net framework for sandboxing are not exposed to this vulnerability and require no action. As a compensating control before patching, administrators can audit and restrict deployment of applications that invoke cap_net limit updates; however, this may disrupt legitimate Capsicum-based sandboxing operations and is not a complete mitigation. No alternative workarounds are documented in available references.
The x86-64 kernel system-call functionality in Xen 4.1.2 and earlier, as used in Citrix XenServer 6.0.2 and earlier and
The rtsol(8) and rtsold(8) programs do not validate the domain search list options provided in router advertisement mess
The RFC 5011 implementation in rdata.c in ISC BIND 9.7.x and 9.8.x before 9.8.5-P2, 9.8.6b1, 9.9.x before 9.9.3-P2, and
Remote code execution in OpenSSH's sshd server (regression of CVE-2006-5051) allows unauthenticated remote attackers to
The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot
The vm_map_lookup function in sys/vm/vm_map.c in the mmap implementation in the kernel in FreeBSD 9.0 through 9.1-RELEAS
Integer overflow in the _gd2GetHeader function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.3, as used
The Stream Control Transmission Protocol (SCTP) module in FreeBSD 9.3 before p33, 10.1 before p26, and 10.2 before p9, w
In FreeBSD 12.1-STABLE before r359565, 12.1-RELEASE before p7, 11.4-STABLE before r362975, 11.4-RELEASE before p1, and 1
A statement in the System Programming Guide of the Intel 64 and IA-32 Architectures Software Developer's Manual (SDM) wa
The SCTP implementation in FreeBSD 8.2 allows remote attackers to cause a denial of service (NULL pointer dereference an
NFS in a BSD derived codebase, as used in OpenBSD through 7.4 and FreeBSD through 14.0-RELEASE, allows remote attackers
Same weakness CWE-269 – Improper Privilege Management
View allSame technique Privilege Escalation
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-31264
GHSA-rx3c-36rq-fgf8