Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain code execution inside jail
-
DeliveryObtain directory FD passed from another jail
-
Exploitrenameat(2) bypasses FD_RESOLVE_BENEATH
-
ExecutionRelocate directory outside jail root
-
Persistfchdir(2) into escaped directory
-
ImpactRead/write host filesystem beyond jail
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V8 - Authorization Privilege drop verification
|
| Exploitation Conditions | Exploitation requires: (1) attacker-controlled code already running inside a FreeBSD jail; (2) that jailed process must have received a directory file descriptor originating from another jail; and (3) the referenced directory must reside on a filesystem that is also reachable from the exploiting jail's root. Limiting factors that reduce real-world risk: it is not remotely exploitable (local in-jail execution is a prerequisite), the cross-jail descriptor-passing arrangement is a non-default/specialized deployment pattern, and the shared-filesystem reachability requirement further narrows applicability. Only patched releases (15.0-RELEASE p14, 14.5-RELEASE p1, 14.4-RELEASE p10, 15.1-RELEASE p4 and later) enforce FD_RESOLVE_BENEATH. |
| Impact | The input assigns CVSS 8.8 with AV:N (network) and AC:L, but the description describes a purely local jail-escape primitive: a process already executing inside a FreeBSD jail must receive a directory file descriptor from another jail and then abuse renameat(2)/fchdir(2). The attack vector is therefore local, not network - CVSS AV:N appears incorrect and should be verified against the FreeBSD advisory; this materially inflates the published score. Supporting signals point to modest real-world risk: EPSS is low at 0.18% (7th percentile), there is no CISA KEV listing (not actively exploited), and no public exploit identified at time of analysis. The CWE-273 (improper privilege/confinement handling) and the high C/I/A impacts are credible because a successful escape grants access to the host filesystem beyond the jail root. Net assessment: this is a genuine, impactful sandbox-confinement bypass for multi-tenant FreeBSD jail deployments and should be patched, but it is NOT an opportunistic, widely-exploitable network bug - the AV:N label overstates urgency, and the specific precondition (a directory FD passed in from another jail on a shared filesystem) makes it a targeted, configuration-dependent issue rather than a mass-exploitation threat. |
| Exploit ScenarioDerived | In a multi-tenant FreeBSD host, an attacker controlling a process in one jail obtains a directory file descriptor that was passed in from another jail (e.g., via a shared descriptor-passing mechanism) on a filesystem also mounted under the jail root. Because renameat(2) does not enforce FD_RESOLVE_BENEATH, the attacker renames/relocates that directory outside the jail's confined subtree and then uses fchdir(2) to step into it, escaping the jail's filesystem-root restriction and reaching host files. No public exploit code is identified at time of analysis, and exploitation requires local code execution already inside a jail. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 16, 2026
FreeBSD jail escape allows a local attacker with code execution inside a jail to break out of the jail's filesystem root restriction by abusing renameat(2) and fchdir(2) when the process has received a directory file descriptor from another jail. This requires a specialized cross-jail file descriptor passing setup and the target directory to reside on a filesystem reachable from the exploiting jail's root, making exploitation non-trivial and limited to specific configurations. No public exploit identified at time of analysis, and the EPSS score is 0.18% (7th percentile), indicating a low likelihood of exploitation.
RemediationAI
Vendor-released patch: FreeBSD 15.0-RELEASE p14, 14.5-RELEASE p1, 14.4-RELEASE p10, and 15.1-RELEASE p4 enforce FD_RESOLVE_BENEATH. Upgrade to these or later versions. As a workaround, avoid passing directory file descriptors between jails and ensure that jails do not share filesystems that could be reached from a jail's root, though these measures may break legitimate cross-jail interactions. Refer to the FreeBSD advisory at https://security.freebsd.org/advisories/FreeBSD-SA-26:66.jail.asc for patching instructions.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability stems from the FreeBSD kernel's failure to enforce the FD_RESOLVE_BENEATH flag during renameat(2) operations on directory file descriptors. FD_RESOLVE_BENEATH is a security measure that restricts path resolution to stay within a specified directory, preventing escape via relative paths. This flaw, classified as CWE-273 (Improper Check for Dropped Privileges), allows a jailed process that has received a directory file descriptor from another jail to rename that directory and then use fchdir(2) to escape the jail's filesystem root, provided the directory resides on a filesystem also accessible from the jail's root. FreeBSD jails are OS-level virtualization mechanisms; the CPE cpe:2.3:a:freebsd:freebsd:*:*:*:*:*:*:*:* indicates that all versions are potentially affected, but specific vulnerable releases are those before the patched levels. The attack is local, high complexity, and requires low privileges (per assessed CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H).
Know when Freebsd gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Local in-jail execution gives AV:L and PR:L; the required cross-jail FD on a shared filesystem is a specialized precondition (AC:H); jail escape to host is a scope change (S:C) with full C/I/A impact.
Primary rating from Vendor (freebsd).
CVSS VectorVendor: freebsd
Lifecycle Timeline
3DescriptionCVE.org
renameat(2) did not enforce FD_RESOLVE_BENEATH on its directory arguments. A jailed process could rename a directory relative to a restricted descriptor, then escape the jail root via fchdir(2). This requires the directory to reside on a filesystem that is also reachable from the jail's root.
A process in a jail that has received a directory file descriptor from another jail can use these techniques to escape the jail's filesystem root restriction.
Executive ViewAI
FreeBSD jail users are affected by a high-severity local escape vulnerability that can allow an attacker with code execution inside a jail to break the jail's filesystem isolation and reach the host or other jails under specific cross-jail file descriptor passing configurations. Leadership should care because jails often serve as a primary isolation boundary for multi-tenant or hosted services, and a successful escape could undermine tenant separation, expose sensitive data, or enable lateral movement across infrastructure. Exploitation is non-trivial and no public exploit identified at time of analysis, but no vendor-released patch identified at time of analysis, so organizations should apply interim mitigations and monitor for vendor updates.
No vendor-released patch identified at time of analysis. Interim mitigations include restricting cross-jail file descriptor passing, reviewing and hardening jail configurations to prevent unnecessary file descriptor sharing, limiting local code execution within jails, applying least privilege, monitoring for renameat(2) and fchdir(2) abuse, and using stronger isolation such as virtual machines for high-value or multi-tenant workloads until a vendor patch is released.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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
Server or client applications that call the SSL_check_chain() function during or after a TLS 1.3 handshake may crash due
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
An issue was discovered in OpenSSH 7.9. Rated medium severity (CVSS 5.9), this vulnerability is remotely exploitable, no
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
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. Rated med
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
EUVD-2026-101866
GHSA-crp4-cfvg-6vr3
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB