CVE-2026-49421

published 19 Aug 2026 · updated 9 Nov 2026

unlinkat(2) ignores AT_RESOLVE_BENEATH flag

7.1HighCVSS 7.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in p16, p7, p11 and 1 more.

The kernel function that implements unlinkat(2) and funlinkat(2) validated the AT_RESOLVE_BENEATH flag but failed to pass it through to the underlying path lookup. The flag was silently dropped, so path resolution was not actually restricted. A process that uses AT_RESOLVE_BENEATH with unlinkat(2) or funlinkat(2) to confine path resolution can in fact resolve paths above the starting directory. A caller relying on this flag for path containment may delete files outside the intended directory tree.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
FreeBSDfreebsd=14.3, =14.4, =15.0, =15.1
FreeBSD>=14.3-RELEASE <p16, >=14.4-RELEASE <p7, >=15.0-RELEASE <p11, >=15.1-RELEASE <p1p16, p7, p11, p1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-49421 severity on Zeptric[![CVE-2026-49421](https://zeptric.io/badge/cve/CVE-2026-49421.svg)](https://zeptric.io/cve/CVE-2026-49421)