{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-49421",
        "assignerOrgId": "63664ac6-956c-4cba-a5d0-f46076e16109",
        "state": "PUBLISHED",
        "assignerShortName": "freebsd",
        "dateReserved": "2026-05-29T20:24:28.616Z",
        "datePublished": "2026-08-19T05:25:43.003Z",
        "dateUpdated": "2026-08-26T17:44:13.985Z"
    },
    "containers": {
        "cna": {
            "datePublic": "2026-06-30T20:00:00.000Z",
            "title": "unlinkat(2) ignores AT_RESOLVE_BENEATH flag",
            "references": [
                {
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://security.freebsd.org/advisories/FreeBSD-SA-26:42.unlinkat.asc"
                }
            ],
            "affected": [
                {
                    "defaultStatus": "unknown",
                    "modules": [
                        "libalias"
                    ],
                    "product": "FreeBSD",
                    "vendor": "FreeBSD",
                    "versions": [
                        {
                            "status": "affected",
                            "versionType": "release",
                            "version": "15.1-RELEASE",
                            "lessThan": "p1"
                        },
                        {
                            "status": "affected",
                            "versionType": "release",
                            "version": "15.0-RELEASE",
                            "lessThan": "p11"
                        },
                        {
                            "status": "affected",
                            "versionType": "release",
                            "version": "14.4-RELEASE",
                            "lessThan": "p7"
                        },
                        {
                            "status": "affected",
                            "versionType": "release",
                            "version": "14.3-RELEASE",
                            "lessThan": "p16"
                        }
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "type": "finder",
                    "value": "Yuxiang Yang, Yizhou Zhao, Ao Wang, Xuewei Feng, Qi Li, and Ke Xu from Tsinghua University using GLM-5.1 from Z.ai"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-273",
                            "description": "CWE-273: Improper Check for Dropped Privileges",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "63664ac6-956c-4cba-a5d0-f46076e16109",
                "shortName": "freebsd",
                "dateUpdated": "2026-08-19T05:25:43.003Z"
            },
            "x_generator": {
                "engine": "cvelib 1.8.0"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "cvssV3_1": {
                            "scope": "UNCHANGED",
                            "version": "3.1",
                            "baseScore": 7.1,
                            "attackVector": "LOCAL",
                            "baseSeverity": "HIGH",
                            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H",
                            "integrityImpact": "HIGH",
                            "userInteraction": "NONE",
                            "attackComplexity": "LOW",
                            "availabilityImpact": "HIGH",
                            "privilegesRequired": "LOW",
                            "confidentialityImpact": "NONE"
                        }
                    },
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-08-26T17:44:11.280156Z",
                                "id": "CVE-2026-49421",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-08-26T17:44:13.985Z"
                }
            }
        ]
    }
}