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.
References
| Link | Resource |
|---|---|
| https://security.freebsd.org/advisories/FreeBSD-SA-26:42.unlinkat.asc | Vendor Advisory |
Configurations
Configuration 1 (hide)
|
History
No history.
Information
Published : 2026-08-19 06:17
Updated : 2026-09-01 20:20
NVD link : CVE-2026-49421
Mitre link : CVE-2026-49421
CVE.ORG link : CVE-2026-49421
JSON object : View
Products Affected
freebsd
- freebsd
CWE
CWE-273
Improper Check for Dropped Privileges
