FreeBSD : FreeBSD -- tmpfs(4) fails to clear set-group-ID bit on new files (c0ecba9d-e313-11f1-a3e1-bc241121aa0a)

high Nessus Plugin ID 382602

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 c0ecba9d-e313-11f1-a3e1-bc241121aa0a advisory.

tmpfs(4) did not clear the set-group-ID bit when a file was created by a user who was not a member of the file's group.
An unprivileged local user with write access to a tmpfs(4) directory owned by a group they do not belong to can create a set-group-ID executable for that group, and so gain that group's privileges. For example, where /tmp is a tmpfs(4) mount, any local user can obtain the privileges of the wheel group, which owns /tmp.

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?a4e2dacb

Plugin Details

Severity: High

ID: 382602

File Name: freebsd_pkg_c0ecba9de31311f1a3e1bc241121aa0a.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: 6.9

Percentile: 96.32

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-127749

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-127749