What’s Vulnerable › Vulnerabilities
CVE-2026-49421: unlinkat(2) ignores AT_RESOLVE_BENEATH flag
- Severity: high (CVSS 7.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-19 · updated 2026-09-01
- Weakness: CWE-273
Description
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 products
- FreeBSD: 14.3, 14.3-p1, 14.3-p10, 14.3-p11, 14.3-p12, 14.3-p13 (+32)
References
Get alerted when CVE-2026-49421 or the next vulnerability affects your stack