Description
When fdescfs(4) was mounted in a jail with the "nodup" option, opening /dev/fd/N returned a descriptor that did not inherit FD_RESOLVE_BENEATH or the Capsicum capability rights of descriptor N.

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.
Published: 2026-10-15
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: Root filesystem escape within FreeBSD jails via fdescfs nodup option
Action: Apply patch
AI Analysis

Impact

When the fdescfs filesystem is mounted inside a FreeBSD jail with the nodup option, opening a file descriptor from /dev/fd/N yields a descriptor that does not have the expected FD_RESOLVE_BENEATH flag or Capsicum capability rights. This weakness allows a process that has been given a directory file descriptor from another jail to escape the jail's filesystem root restriction. The flaw is classified as CWE-273, an improper authorization defect that can result in unauthorized access to or modification of data outside a protected context.

Affected Systems

The vulnerability affects FreeBSD and its jail implementation. No specific product versions are listed; the issue applies to all instances where fdescfs was mounted with the nodup option in a jail. Users should review the FreeBSD security advisory for any available patch or update.

Risk and Exploitability

The exploit requires a process within a jail to obtain a directory descriptor from another jail, implying a local-assignment or cross‑jail privilege scenario. The EPSS score is less than 1 % and the vulnerability is not listed in the CISA KEV catalog, indicating a low probability of widespread exploitation. However, the impact of a successful escape is significant, granting the attacker filesystem access beyond the jail boundary and potential elevation of privileges within the host environment. The lack of a publicly documented CVSS score limits precise severity assessment, but the nature of the flaw suggests a high potential for compromise if the conditions are met.

Generated by OpenCVE AI on October 16, 2026 at 23:18 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Ensure that no fdescfs filesystems are mounted with the nodup option in any FreeBSD jail configuration
  • If fdescfs must be used, mount it without the nodup flag or remove the capability rights for descriptors that cross jail boundaries
  • Apply the latest FreeBSD security patch that addresses the fdescfs nodup privilege issue as listed in the FreeBSD advisories
  • Monitor system logs and file access patterns for unexpected /dev/fd/* usage that may indicate an escape attempt

Generated by OpenCVE AI on October 16, 2026 at 23:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 16 Oct 2026 22:30:00 +0000

Type Values Removed Values Added
First Time appeared Freebsd
Freebsd freebsd
Vendors & Products Freebsd
Freebsd freebsd

Thu, 15 Oct 2026 07:00:00 +0000

Type Values Removed Values Added
Description When fdescfs(4) was mounted in a jail with the "nodup" option, opening /dev/fd/N returned a descriptor that did not inherit FD_RESOLVE_BENEATH or the Capsicum capability rights of descriptor N. 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.
Title Multiple jail filesystem root escapes
Weaknesses CWE-273
References

cve-icon MITRE

Status: PUBLISHED

Assigner: freebsd

Published:

Updated: 2026-10-15T06:46:03.792Z

Reserved: 2026-09-28T13:33:02.323Z

Link: CVE-2026-101304

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-15T07:17:57.550

Modified: 2026-10-15T16:17:41.437

Link: CVE-2026-101304

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-16T23:30:13Z

Weaknesses
  • CWE-273

    Improper Check for Dropped Privileges