---
id: CVE-2026-101305
title: renameat(2) did not enforce FD_RESOLVE_BENEATH on its directory arguments
summary: >-
  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…
severity: none
cwe:
  - CWE-273
vendor: FreeBSD
product: FreeBSD
affected:
  - FreeBSD >= 15.1-RELEASE < p4
  - FreeBSD >= 15.0-RELEASE < p14
  - FreeBSD >= 14.5-RELEASE < p1
  - FreeBSD >= 14.4-RELEASE < p10
published: '2026-10-15'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T07:17:57.663'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-101305'
references:
  - url: 'https://security.freebsd.org/advisories/FreeBSD-SA-26:66.jail.asc'
    label: secteam@freebsd.org
tags:
  - nvd
  - cve.org
ingestedAt: '2026-10-15T07:57:27.843Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
