CVE-2026-27139
FileInfo can escape from a Root in os
Reported by go · Published March 6, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| cilium-fips-1.16 | Chainguard | 1.16.19-r5 |
| mc | Wolfi | 0.20250813.083541-r6 |
| helm-diff | Chainguard | 3.15.2-r2 |
| lvm-driver-fips | Chainguard | 1.8.1-r4 |
| cluster-api-1.12 | Chainguard | 1.12.3-r3 |
| secrets-store-csi-driver-provider-gcp | Chainguard | 1.11.0-r4 |
| crossplane-provider-aws-lambda-fips | Chainguard | 2.4.0-r3 |
| sftpgo-plugin-auth | Wolfi | 1.0.13-r6 |
| longhorn-cli-1.9 | Chainguard | 1.9.2-r6 |
| gitlab-pages-fips-18.9 | Chainguard | 18.9.1-r2 |
| prometheus-3.6 | Chainguard | 3.6.0-r6 |
| github-mcp-server | Wolfi | 0.31.0-r5 |
88 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Go standard library | os | 0, 1.26.0-0 |
| chainguard | cilium-fips-1.16 | 0 |
| wolfi | mc | 0 |
| chainguard | helm-diff | 0 |
| chainguard | lvm-driver-fips | 0 |
| chainguard | cluster-api-1.12 | 0 |
| chainguard | secrets-store-csi-driver-provider-gcp | 0 |
| chainguard | crossplane-provider-aws-lambda-fips | 0 |
| wolfi | sftpgo-plugin-auth | 0 |
| chainguard | longhorn-cli-1.9 | 0 |
| chainguard | gitlab-pages-fips-18.9 | 0 |
| chainguard | prometheus-3.6 | 0 |
| wolfi | github-mcp-server | 0 |
| chainguard | thanos-operator-fips | 0 |
| wolfi | dask-gateway | 0 |
| chainguard | sbom-scorecard | 0 |
| chainguard | cloudnative-pg-fips | 0 |
| wolfi | gitlab-pages-18.6 | 0 |
| wolfi | calico-3.29 | 0 |
| chainguard | migrate | 0 |
…and 2327 more
Timeline
- Feb 19, 2026 CVE Published
- Mar 7, 2026 EPSS Score (30 in total, the first dated here)
- Mar 22, 2026 Coalition ESS Score (2 in total, the first dated here)
- Mar 29, 2026 Security Advisory (229 in total, the first dated here)
- Apr 21, 2026 CVE Updated
- Aug 11, 2026 Distribution Patch (224 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-27139
vulnetix vdb fixes CVE-2026-27139
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-27139/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart