# CVE-2025-15576: Jail chroot escape via fd exchange with a different jail

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-03-09T11:54:20.630Z
- Modified: 2026-06-17T08:38:03.820Z
- Weaknesses: CWE-269, CWE-488, CWE-790
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: freebsd

## Description

If two sibling jails are restricted to separate filesystem trees, which is to say that neither of the two jail root directories is an ancestor of the other, jailed processes may nonetheless be able to access a shared directory via a nullfs mount, if the administrator has configured one.

In this case, cooperating processes in the two jails may establish a connection using a unix domain socket and exchange directory descriptors with each other.

When performing a filesystem name lookup, at each step of the lookup, the kernel checks whether the lookup would descend below the jail root of the current process.  If the jail root directory is not encountered, the lookup continues.

In a configuration where processes in two different jails are able to exchange file descriptors using a unix domain socket, it is possible for a jailed process to receive a directory for a descriptor that is below that process' jail root.  This enables full filesystem access for a jailed process, breaking the chroot.

Note that the system administrator is still responsible for ensuring that an unprivileged user on the jail host is not able to pass directory descriptors to a jailed process, even in a patched kernel.

(As written by CVE List.)

## Affected

- FreeBSD FreeBSD: from 14.3-RELEASE before p9; from 13.5-RELEASE before p10; 13.5; 14.3

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N`

## References

- <https://security.freebsd.org/advisories/FreeBSD-SA-26:04.jail.asc> (vendor-advisory)

## Sources

- CVE List: [CVE-2025-15576](https://www.cve.org/CVERecord?id=CVE-2025-15576), CVE Terms of Use, modified 2026-03-10
- NVD: [CVE-2025-15576](https://nvd.nist.gov/vuln/detail/CVE-2025-15576), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-15576 · Whole record: https://cve.day/CVE-2025-15576.json · Rebuilt by cve.day 2026-11-25T22:59:11.873Z
