CVE-2026-49421
published high CVSS 3.1 · 7.1unlinkat(2) ignores AT_RESOLVE_BENEATH flag
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| FreeBSD | — | FreeBSD15.1-RELEASE to < p1 · 15.0-RELEASE to < p11 · 14.4-RELEASE to < p7 · 14.3-RELEASE to < p16 · Other versions: unknown | Affected | Not stated | freebsd |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| FreeBSD | FreeBSD | 15.1-RELEASE to < p1 (affected · release)15.0-RELEASE to < p11 (affected · release)14.4-RELEASE to < p7 (affected · release)14.3-RELEASE to < p16 (affected · release)Default: unknown | freebsd · cna |
Weaknesses
1- CWE-273 CWE-273: Improper Check for Dropped Privileges
References
1Provider assertions
2freebsd · cna
unlinkat(2) ignores AT_RESOLVE_BENEATH flag
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0e982a4f5305c84006cfa86d5484569f05ab29c281db0ce18352c6745fc42848
- Ingested
- 23 Sep 2026, 09:17:57 UTC
- Source record
- Official CVE record