ADVISORIES

Vulnerability

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.

6880 advisories report this vulnerability, across 12 ecosystems.

Advisories in Red Hat

  • RHSA-2026:7291

    Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

    CVE-2025-22873CVE-2025-47910CVE-2025-47911CVE-2025-47912 Red Hat Updated 27 November 2026
  • RHSA-2026:7385

    Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

    CVE-2025-22873CVE-2025-47910CVE-2025-47911CVE-2025-47912 Red Hat Updated 27 November 2026
  • RHVEX-CVE-2026-27139

    os: FileInfo can escape from a Root in golang os module

    Low CVE-2026-27139 Red Hat Updated 25 November 2026

References