---
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: high
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-15T16:17:41.437'
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'
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-16T18:30:17.230798Z'
cvssSource: adp
epss: 0.00232
epssPercentile: 0.13993
---

## 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.
