{"id":"CVE-2026-49421","published":"2026-08-19T05:25:43Z","modified":"2026-08-26T17:44:13Z","title":"unlinkat(2) ignores AT_RESOLVE_BENEATH flag","vendor":"FreeBSD","product":"FreeBSD","tier":"tail","description":{"text":"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.\n\nA 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00132,"percentile":0.0287,"provenance":"source"},"cwes":[{"id":"CWE-273","name":"Improper Check for Dropped Privileges"}],"references":[{"url":"https://security.freebsd.org/advisories/FreeBSD-SA-26:42.unlinkat.asc","tags":["vendor-advisory"]}],"priority":{"score":5.5,"factors":[{"name":"EPSS percentile","points":0.57},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"freebsd","affectedVersions":[{"vendor":"FreeBSD","product":"FreeBSD","versions":[">= 15.1-RELEASE, < p1",">= 15.0-RELEASE, < p11",">= 14.4-RELEASE, < p7",">= 14.3-RELEASE, < p16"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-26T17:44:11.280156Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-62243","exploited":false,"provenance":"source"}}