{
  "id": "cve-2026-49421",
  "title": "FreeBSD unlinkat silently drops AT_RESOLVE_BENEATH",
  "product": "FreeBSD unlinkat(2) and funlinkat(2)",
  "ai_system": "GLM-5.1",
  "organization": "Tsinghua University",
  "summary": "Kernel path lookup dropped AT_RESOLVE_BENEATH, so callers relying on it for containment could delete files above the intended directory tree.",
  "ai_role": "The primary FreeBSD advisory directly credits the Tsinghua team using GLM-5.1 for CVE-2026-49421.",
  "disclosure_date": "2026-06-30",
  "ai_attribution_date": "2026-06-30",
  "classification": "disclosure",
  "classification_note": "The cited sources document the vulnerability and remediation; they do not claim exploitation in the wild.",
  "cves": [
    "CVE-2026-49421"
  ],
  "source_url": "https://lists.freebsd.org/archives/freebsd-security/2026-June/000525.html",
  "ai_source_url": "https://lists.freebsd.org/archives/freebsd-security/2026-June/000525.html",
  "remediation": "fix documented",
  "remediation_note": "FreeBSD-SA-26:42.unlinkat lists branch corrections on 2026-06-30; exact patched revisions are in the advisory.",
  "advisory_url": "https://lists.freebsd.org/archives/freebsd-security/2026-June/000525.html",
  "checked_date": "2026-11-14",
  "cvss": [
    {
      "cve": "CVE-2026-49421",
      "version": "3.1",
      "score": 7.1,
      "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H",
      "source_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/49xxx/CVE-2026-49421.json",
      "source_name": "CISA-ADP (ADP; CVE Program record)",
      "checked_date": "2026-11-16"
    }
  ],
  "impacts": [
    {
      "cves": [
        "CVE-2026-49421"
      ],
      "consequences": [
        "data modification",
        "other"
      ],
      "conditions": "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": "The cited source does not state whether this issue was exploited in the wild.",
      "source_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/49xxx/CVE-2026-49421.json",
      "checked_date": "2026-11-16"
    }
  ]
}
