AI Science Tracker

FreeBSD unlinkat silently drops AT_RESOLVE_BENEATH

FreeBSD unlinkat(2) and funlinkat(2) · AI involvement attributed to GLM-5.1

Finding and attribution

Kernel path lookup dropped AT_RESOLVE_BENEATH, so callers relying on it for containment could delete files above the intended directory tree.

Product: FreeBSD unlinkat(2) and funlinkat(2). AI system: GLM-5.1. Team / organization: Tsinghua University.

CVE identifiers: CVE-2026-49421.

AI and human contribution (source account): The primary FreeBSD advisory directly credits the Tsinghua team using GLM-5.1 for CVE-2026-49421.

Human involvement is only described where the source account establishes it; unknown involvement does not mean none. Vendor confirmation of a flaw does not confirm every claim about AI contribution.

Discovery context: The cited sources document the vulnerability and remediation; they do not claim exploitation in the wild.

Remediation status: fix documented. FreeBSD-SA-26:42.unlinkat lists branch corrections on 2026-06-30; exact patched revisions are in the advisory.

A source-documented fix does not establish installed patches or current safety. Source checking does not independently reproduce the finding or establish observed exploitation.

Disclosed 30 Jun 2026. AI attribution dated 30 Jun 2026. Sources checked 14 Nov 2026; these are separate dates, not a live installation check.

Recorded CVSS: High · highest recorded score 7.1. Documented technical effects: data modification, other.

Severity, consequences and exploitation evidence

Case grouping uses the highest recorded CVSS score, with its version-specific severity band. It is descriptive, not a combined or editorial risk index. All recorded assessments remain below; scores from different versions and sources may disagree. CVSS specifications define version-specific scoring and severity bands.

CVE-2026-49421: data modification, other.
Prerequisites / affected scope: 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. CWE-273: Improper Check for Dropped Privileges.
Exploitation evidence: The cited source does not state whether this issue was exploited in the wild.. Impact source · checked 16 Nov 2026.

Documented fix: FreeBSD-SA-26:42.unlinkat lists branch corrections on 2026-06-30; exact patched revisions are in the advisory.

Original evidence

Download this source record (JSON)

Open this case in the interactive tracker · Browse all static security cases