CVE-2026-127749: Local group-privilege escalation in FreeBSD tmpfs
CVE-2026-127749 is a local privilege-escalation vulnerability in FreeBSD's tmpfs(4) implementation. When creating a file, tmpfs fails to clear the set-group-ID bit if the creator is not a member of the file's inherited group. An unprivileged local user with write access to a suitably group-owned tmpfs directory can create a set-group-ID executable and execute it with that group's privileges. All supported FreeBSD versions preceding the corresponding corrections are affected.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation grants the attacker privileges associated with the affected directory's owning group, potentially enabling unauthorized access to or modification of group-protected resources. If a writable temporary directory is backed by tmpfs and owned by wheel, an unprivileged local user can obtain wheel-group privileges. This does not inherently establish root access; further impact depends on the permissions and capabilities granted to the acquired group.
Mitigation
If you can’t patch tonight, do this now.
Mount tmpfs file systems with nosuid to prevent set-group-ID executables from conferring group privileges. For an existing /tmp mount, run 'mount -u -o nosuid /tmp' and add nosuid to its /etc/fstab entry for persistence. This mitigates exploitation without correcting the underlying flaw. Systems without tmpfs mounts are not affected.
Remediation
Patch, then assume compromise.
Upgrade to a corrected FreeBSD branch or release: 15.2-STABLE, 15.1-RELEASE-p7, 14.5-STABLE, 14.5-RELEASE-p4, or 14.4-RELEASE-p13, or a later fixed version, then reboot. Corresponding fixed FreeBSD-kernel package thresholds are 15.1_7, 14.5_4, and 14.4_13. Use the supported base-package or freebsd-update upgrade method appropriate to the installation. Alternatively, obtain the applicable signed source patch, verify its signature, apply it, rebuild the kernel, and reboot.
Exploits
No public exploits tracked yet. Mallory keeps watching.
References
Frequently asked questions
- Is CVE-2026-127749 exploited in the wild?
- As of Nov 19, 2026, Mallory has no reports of CVE-2026-127749 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-127749?
- As of Nov 19, 2026, Mallory has found no public exploit for CVE-2026-127749.
- Is there a patch for CVE-2026-127749?
- Upgrade to a corrected FreeBSD branch or release: 15.2-STABLE, 15.1-RELEASE-p7, 14.5-STABLE, 14.5-RELEASE-p4, or 14.4-RELEASE-p13, or a later fixed version, then reboot. Corresponding fixed FreeBSD-kernel package thresholds are 15.1_7, 14.5_4, and 14.4_13.
Recent activity
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.