CVE catalog

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

[CVE catalog]

Severity
Low · CVSS 3.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.21% · Oct 25, 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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiangolang-1.19bookworm1.19.8-2vulnerable
Cpegolang-1.19Not reportedNot reportedvulnerable
GostdlibNot reported1.26.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiangolang-1.19sourcebookworm(unfixed)not yet assignedNot reportedNot reported
GostdlibGoNot reported1.26.1Not reportedNot reportedNot reported

Notes

[bookworm] golang-1.19: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [golang-1.19]Affected
    Details (2)
    • 1.19.8-2 · all · bookworm

      Affected

      nvd · golang-1.19 · debian · bookworm; nvd · golang-1.19 · debian · 12

    • 1.19.8-2 · all · bookworm

      Affected

      nvd · golang-1.19 · debian · bookworm; nvd · golang-1.19 · debian · 12

  • [golang-1.19-doc]Affected

    Source package: [golang-1.19]

    Details (2)
    • 1.19.8-2 · all · bookworm

      Affected

      nvd · golang-1.19 · debian · bookworm; nvd · golang-1.19 · debian · 12

    • 1.19.8-2 · all · bookworm

      Affected

      nvd · golang-1.19 · debian · bookworm; nvd · golang-1.19 · debian · 12

  • [golang-1.19-go]Affected

    Source package: [golang-1.19]

    Details (2)
    • 1.19.8-2 · amd64 · bookworm

      Affected

      nvd · golang-1.19 · debian · bookworm; nvd · golang-1.19 · debian · 12

    • 1.19.8-2 · arm64 · bookworm

      Affected

      nvd · golang-1.19 · debian · bookworm; nvd · golang-1.19 · debian · 12

  • [golang-1.19-src]Affected

    Source package: [golang-1.19]

    Details (2)
    • 1.19.8-2 · all · bookworm

      Affected

      nvd · golang-1.19 · debian · bookworm; nvd · golang-1.19 · debian · 12

    • 1.19.8-2 · all · bookworm

      Affected

      nvd · golang-1.19 · debian · bookworm; nvd · golang-1.19 · debian · 12

[Debian 13 (Trixie)]

  • [golang-1.24]Affected
    Details (2)
    • 1.24.4-1 · all · trixie

      Affected

      nvd · golang-1.24 · debian · 13

    • 1.24.4-1 · all · trixie

      Affected

      nvd · golang-1.24 · debian · 13

  • [golang-1.24-doc]Affected

    Source package: [golang-1.24]

    Details (2)
    • 1.24.4-1 · all · trixie

      Affected

      nvd · golang-1.24 · debian · 13

    • 1.24.4-1 · all · trixie

      Affected

      nvd · golang-1.24 · debian · 13

  • [golang-1.24-go]Affected

    Source package: [golang-1.24]

    Details (2)
    • 1.24.4-1 · amd64 · trixie

      Affected

      nvd · golang-1.24 · debian · 13

    • 1.24.4-1 · arm64 · trixie

      Affected

      nvd · golang-1.24 · debian · 13

  • [golang-1.24-src]Affected

    Source package: [golang-1.24]

    Details (2)
    • 1.24.4-1 · all · trixie

      Affected

      nvd · golang-1.24 · debian · 13

    • 1.24.4-1 · all · trixie

      Affected

      nvd · golang-1.24 · debian · 13

Observed:

References