{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-27139",
        "assignerOrgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
        "state": "PUBLISHED",
        "assignerShortName": "Go",
        "dateReserved": "2026-02-17T19:57:28.435Z",
        "datePublished": "2026-03-06T21:28:14.451Z",
        "dateUpdated": "2026-03-09T14:53:58.363Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
                "shortName": "Go",
                "dateUpdated": "2026-03-06T21:28:14.451Z"
            },
            "title": "FileInfo can escape from a Root in os",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "On Unix platforms, when listing the contents of a directory using File.ReadDir or File.Readdir the returned FileInfo could reference a file outside of the Root in which the File was opened. The impact of this escape is limited to reading metadata provided by lstat from arbitrary locations on the filesystem without permitting reading or writing files outside the root."
                }
            ],
            "affected": [
                {
                    "vendor": "Go standard library",
                    "product": "os",
                    "collectionURL": "https://pkg.go.dev",
                    "packageName": "os",
                    "versions": [
                        {
                            "version": "0",
                            "lessThan": "1.25.8",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "1.26.0-0",
                            "lessThan": "1.26.1",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ],
                    "programRoutines": [
                        {
                            "name": "File.ReadDir"
                        },
                        {
                            "name": "File.Readdir"
                        },
                        {
                            "name": "ReadDir"
                        },
                        {
                            "name": "dirFS.ReadDir"
                        },
                        {
                            "name": "rootFS.ReadDir"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "description": "CWE-363: Race Condition Enabling Link Following"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://groups.google.com/g/golang-announce/c/EdhZqrQ98hk"
                },
                {
                    "url": "https://go.dev/issue/77827"
                },
                {
                    "url": "https://go.dev/cl/749480"
                },
                {
                    "url": "https://pkg.go.dev/vuln/GO-2026-4602"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Miloslav Trmač of Red Hat"
                }
            ]
        },
        "adp": [
            {
                "metrics": [
                    {
                        "cvssV3_1": {
                            "scope": "UNCHANGED",
                            "version": "3.1",
                            "baseScore": 2.5,
                            "attackVector": "LOCAL",
                            "baseSeverity": "LOW",
                            "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N",
                            "integrityImpact": "NONE",
                            "userInteraction": "NONE",
                            "attackComplexity": "HIGH",
                            "availabilityImpact": "NONE",
                            "privilegesRequired": "LOW",
                            "confidentialityImpact": "LOW"
                        }
                    },
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-03-09T14:53:55.467850Z",
                                "id": "CVE-2026-27139",
                                "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-03-09T14:53:58.363Z"
                }
            }
        ]
    }
}