CVE-2026-27139

Aliases:GO-2026-4602BIT-golang-2026-27139
Analyzed
Published: 06 Mar 2026, 21:28
Last modified:09 Mar 2026, 14:53

Vulnerability Summary

Overall Risk (default)
low
10/100
CVSS Score
2.5 LOW
v3.1 (cve.org)
EPSS Score
<0.01% LOW
0% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

06 Mar 2026, 21:28
Published
Vulnerability first disclosed
09 Mar 2026, 14:53
Last Modified
Vulnerability information updated

Description

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.

CVSS Metrics

  • v3.1LOWScore: 2.5CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N

EPSS Trends

Current EPSS score: 0.01% Percentile: 1%

Techniques & Countermeasures

  • CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

    The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Affected Systems

  • go standard libraryos

    < 1.25.8 | ≥ 1.26.0-0, < 1.26.1

  • golanggo

    < 1.25.8 | 1.26.0

  • Gostdlib

    ≥ 1.26.0-0, < 1.26.1

References (4)