CVE Explorer
CVE-2026-27139
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"collectionURL":"https://pkg.go.dev","defaultStatus":"unaffected","packageName":"os","product":"os","programRoutines":[{"name":"File.ReadDir"},{"name":"File.Readdir"},{"name":"ReadDir"},{"name":"dirFS.ReadDir"},{"name":"rootFS.ReadDir"}],"vendor":"Go standard library","versions":[{"lessThan":"1.25.8","status":"affected","version":"0","versionType":"semver"},{"lessThan":"1.26.1","status":"affected","version":"1.26.0-0","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:6b2aeef09b595c7cbfe7cedc1a00ac5c296a57d69e88614030b10b38fc464da2 · sha256:526364200401447a… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":2.5,"baseSeverity":"LOW","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:6b2aeef09b595c7cbfe7cedc1a00ac5c296a57d69e88614030b10b38fc464da2 · sha256:526364200401447a… · /containers/adp/0/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"description":"CWE-363: Race Condition Enabling Link Following","lang":"en"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:6b2aeef09b595c7cbfe7cedc1a00ac5c296a57d69e88614030b10b38fc464da2 · sha256:526364200401447a… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"url":"https://go.dev/cl/749480"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6b2aeef09b595c7cbfe7cedc1a00ac5c296a57d69e88614030b10b38fc464da2 · sha256:526364200401447a… · /containers/cna/references/2
{"url":"https://go.dev/issue/77827"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6b2aeef09b595c7cbfe7cedc1a00ac5c296a57d69e88614030b10b38fc464da2 · sha256:526364200401447a… · /containers/cna/references/1
{"url":"https://groups.google.com/g/golang-announce/c/EdhZqrQ98hk"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6b2aeef09b595c7cbfe7cedc1a00ac5c296a57d69e88614030b10b38fc464da2 · sha256:526364200401447a… · /containers/cna/references/0
{"url":"https://pkg.go.dev/vuln/GO-2026-4602"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6b2aeef09b595c7cbfe7cedc1a00ac5c296a57d69e88614030b10b38fc464da2 · sha256:526364200401447a… · /containers/cna/references/3
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.