FreeBSD : FreeBSD -- Capsicum and O_RESOLVE_BENEATH bypass at mount roots (b1803084-e311-11f1-a3e1-bc241121aa0a)

high Nessus Plugin ID 382589

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

The version of FreeBSD installed on the remote host is prior to tested version. It is, therefore, affected by a vulnerability as referenced in the b1803084-e311-11f1-a3e1-bc241121aa0a advisory.

To resolve .. from the root of a mounted file system, the kernel first steps to the directory on which that file system is mounted, then looks up .. there. The check for leaving the starting directory compared against the mount point rather than the root of the mounted file system. If the starting directory was itself the root of a mounted file system, the check never matched, and the lookup escaped to the parent of the mount point.
A sandboxed process, or a program relying on O_RESOLVE_BENEATH or AT_RESOLVE_BENEATH, whose starting directory is the root of a mounted file system can access any file under its root directory.
The descriptor's rights and normal file system permissions still apply. Lookups that start in any other directory are not affected.

Tenable has extracted the preceding description block directly from the FreeBSD security advisory.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

http://www.nessus.org/u?c31ddc31

Plugin Details

Severity: High

ID: 382589

File Name: freebsd_pkg_b1803084e31111f1a3e1bc241121aa0a.nasl

Version: 1.1

Type: Local

Published: 11/18/2026

Updated: 11/18/2026

Configuration: Enable paranoid mode

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 58.8

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.3

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2026-101312

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:freebsd:freebsd, p-cpe:/a:freebsd:freebsd:freebsd-kernel

Required KB Items: Settings/ParanoidReport, Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Exploit Ease: No known exploits are available

Patch Publication Date: 11/18/2026

Vulnerability Publication Date: 11/18/2026

Reference Information

CVE: CVE-2026-101312