CVE catalog

CVE-2026-39822

On Unix systems, opening a file in an os.Root improperly follows symlinks to locations outside of the Root when the final path component of the a path is a symbolic link and the path ends in /. For ex

[CVE catalog]

Severity
High · CVSS 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.23% · Oct 25, 2026

On Unix systems, opening a file in an os.Root improperly follows symlinks to locations outside of the Root when the final path component of the a path is a symbolic link and the path ends in /. For example, 'root.Open("symlink/")' will open "symlink" even when "symlink" is a symbolic link pointing outside of 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-2not affected
GostdlibNot reported1.27.0-rc.2fixed
CpegoNot reportedNot reportedunknown
Opensuselokitumbleweed3.7.4-1.1fixed
Susego1.26linux enterprise server 16.01.26.5-160000.1.1fixed
Susego1.26linux enterprise server for sap applications 16.01.26.5-160000.1.1fixed
Susego1.26-openssllinux enterprise server 16.01.26.5-160000.1.1fixed
Susego1.26-openssllinux enterprise server for sap applications 16.01.26.5-160000.1.1fixed
Opensusego1.26-opensslleap 16.01.26.5-160000.1.1fixed
Opensusego1.26leap 16.01.26.5-160000.1.1fixed
Opensusego1.26tumbleweed1.26.5-1.1fixed
Susego1.26linux enterprise module for development tools 15 sp71.26.5-150000.1.18.1fixed
Susego1.26linux enterprise high performance computing 15 sp4-espos1.26.5-150000.1.18.1fixed
Susego1.26linux enterprise high performance computing 15 sp4-ltss1.26.5-150000.1.18.1fixed
Susego1.26linux enterprise high performance computing 15 sp5-espos1.26.5-150000.1.18.1fixed
Susego1.26linux enterprise high performance computing 15 sp5-ltss1.26.5-150000.1.18.1fixed
Susego1.26linux enterprise server 15 sp4-ltss1.26.5-150000.1.18.1fixed
Susego1.26linux enterprise server 15 sp5-ltss1.26.5-150000.1.18.1fixed
Susego1.26linux enterprise server 15 sp6-ltss1.26.5-150000.1.18.1fixed
Susego1.26linux enterprise server for sap applications 15 sp41.26.5-150000.1.18.1fixed
Susego1.26linux enterprise server for sap applications 15 sp51.26.5-150000.1.18.1fixed
Susego1.26linux enterprise server for sap applications 15 sp61.26.5-150000.1.18.1fixed
Opensusego1.25tumbleweed1.25.12-1.1fixed
Ubuntugolang-1.1014.041.10.4-2ubuntu1~14.04.1vulnerable
Ubuntugolang-1.1016.041.10.4-2ubuntu1~16.04.1vulnerable
Ubuntugolang-1.1016.041.10.4-2ubuntu1~16.04.2vulnerable
Ubuntugolang-1.616.041.6-0ubuntu1vulnerable
Ubuntugolang-1.616.041.6-0ubuntu2vulnerable
Ubuntugolang-1.616.041.6-0ubuntu3vulnerable
Ubuntugolang-1.616.041.6-0ubuntu4vulnerable
Ubuntugolang-1.616.041.6-0ubuntu5vulnerable
Ubuntugolang-1.616.041.6.1-0ubuntu1vulnerable
Ubuntugolang-1.616.041.6.2-0ubuntu5~16.04vulnerable
Ubuntugolang-1.616.041.6.2-0ubuntu5~16.04.2vulnerable
Ubuntugolang-1.616.041.6.2-0ubuntu5~16.04.3vulnerable
Ubuntugolang-1.616.041.6.2-0ubuntu5~16.04.4vulnerable
Ubuntugolang-1.13pro1.13.8-1ubuntu2vulnerable
Ubuntugolang-1.13pro1.13.8-1ubuntu2.22.04.1vulnerable
Ubuntugolang-1.13pro1.13.8-1ubuntu2.22.04.1+esm1vulnerable
Ubuntugolang-1.13pro1.13.8-1ubuntu2.22.04.2vulnerable
Ubuntugolang-1.18pro1.18.1-1ubuntu1~18.04.3vulnerable
Ubuntugolang-1.18pro1.18.1-1ubuntu1~18.04.4vulnerable
Ubuntugolang-1.18pro1.18.1-1ubuntu1~18.04.4+esm1vulnerable
Ubuntugolang-1.1018.041.10~rc1-1vulnerable
Ubuntugolang-1.1018.041.10~rc1-1ubuntu1vulnerable
Ubuntugolang-1.1018.041.10~rc1-2ubuntu1vulnerable
Ubuntugolang-1.1018.041.10~rc2-1ubuntu1vulnerable
Ubuntugolang-1.1018.041.10-1ubuntu1vulnerable
Ubuntugolang-1.1018.041.10.1-1ubuntu2vulnerable
Ubuntugolang-1.1018.041.10.4-2ubuntu1~18.04.1vulnerable
Ubuntugolang-1.1018.041.10.4-2ubuntu1~18.04.2vulnerable
Ubuntugolang-1.16pro1.16.2-0ubuntu1~20.04vulnerable
Ubuntugolang-1.16pro1.16.2-0ubuntu1~20.04.1vulnerable
Ubuntugolang-1.16pro1.16.2-0ubuntu1~20.04.1+esm1vulnerable
Ubuntugolang-1.818.041.8.3-2ubuntu1vulnerable
Ubuntugolang-1.818.041.8.3-2ubuntu1.18.04.1vulnerable
Ubuntugolang-1.918.041.9.1-2ubuntu1vulnerable
Ubuntugolang-1.918.041.9.2-1ubuntu1vulnerable
Ubuntugolang-1.918.041.9.2-3ubuntu1vulnerable
Ubuntugolang-1.918.041.9.3-1ubuntu1vulnerable
Ubuntugolang-1.918.041.9.4-1ubuntu1vulnerable
Ubuntugolang-1.1320.041.13.1-1ubuntu1vulnerable
Ubuntugolang-1.1320.041.13.3-1ubuntu1vulnerable
Ubuntugolang-1.1320.041.13.4-1ubuntu1vulnerable
Ubuntugolang-1.1320.041.13.5-1ubuntu1vulnerable
Ubuntugolang-1.1320.041.13.6-1ubuntu1vulnerable
Ubuntugolang-1.1320.041.13.6-2ubuntu1vulnerable
Ubuntugolang-1.1320.041.13.7-1ubuntu1vulnerable
Ubuntugolang-1.1320.041.13.8-1ubuntu1vulnerable
Ubuntugolang-1.1320.041.13.8-1ubuntu1.1vulnerable
Ubuntugolang-1.1320.041.13.8-1ubuntu1.2vulnerable
Ubuntugolang-1.1420.041.14~beta1-1vulnerable
Ubuntugolang-1.1420.041.14~beta1-2vulnerable
Ubuntugolang-1.1420.041.14~rc1-1vulnerable
Ubuntugolang-1.1420.041.14-1vulnerable
Ubuntugolang-1.1420.041.14.1-1vulnerable
Ubuntugolang-1.1420.041.14.2-1vulnerable
Ubuntugolang-1.1420.041.14.2-1ubuntu1vulnerable
Ubuntugolang-1.1420.041.14.3-2ubuntu2~20.04.1vulnerable
Ubuntugolang-1.1420.041.14.3-2ubuntu2~20.04.2vulnerable
Ubuntugolang-1.1820.041.18.1-1ubuntu1~20.04.1vulnerable
Ubuntugolang-1.1820.041.18.1-1ubuntu1~20.04.2vulnerable
Ubuntugolang-1.1820.041.18.1-1ubuntu1~20.04.3vulnerable
Ubuntugolang-1.2020.041.20.3-1ubuntu0.1~20.04vulnerable
Ubuntugolang-1.2020.041.20.3-1ubuntu0.1~20.04.1vulnerable
Ubuntugolang-1.2120.041.21.1-1~ubuntu20.04.1vulnerable
Ubuntugolang-1.2120.041.21.1-1~ubuntu20.04.2vulnerable
Ubuntugolang-1.2120.041.21.1-1~ubuntu20.04.3vulnerable
Ubuntugolang-1.2220.041.22.2-2~20.04.1vulnerable
Ubuntugolang-1.2220.041.22.2-2~20.04.2vulnerable
Ubuntugolang-1.2220.041.22.2-2~20.04.3vulnerable
Ubuntugolang-1.1722.041.17-1ubuntu2vulnerable
Ubuntugolang-1.1722.041.17.3-1ubuntu1vulnerable
Ubuntugolang-1.1722.041.17.3-1ubuntu2vulnerable
Ubuntugolang-1.1722.041.17.13-3ubuntu1vulnerable
Ubuntugolang-1.1722.041.17.13-3ubuntu1.2vulnerable
Ubuntugolang-1.1722.041.17.13-3ubuntu1.3vulnerable
Ubuntugolang-1.1822.041.18~beta1-0ubuntu1vulnerable
Ubuntugolang-1.1822.041.18~beta2-1ubuntu1vulnerable
Ubuntugolang-1.1822.041.18~beta2-1ubuntu2vulnerable
Ubuntugolang-1.1822.041.18~rc1-1ubuntu1vulnerable
Ubuntugolang-1.1822.041.18-1ubuntu1vulnerable
Ubuntugolang-1.1822.041.18.1-1ubuntu1vulnerable
Ubuntugolang-1.1822.041.18.1-1ubuntu1.1vulnerable
Ubuntugolang-1.1822.041.18.1-1ubuntu1.2vulnerable
Ubuntugolang-1.1822.041.18.1-1ubuntu1.3vulnerable
Ubuntugolang-1.2022.041.20.3-1ubuntu0.1~22.04vulnerable
Ubuntugolang-1.2022.041.20.3-1ubuntu0.1~22.04.1vulnerable
Ubuntugolang-1.2122.041.21.1-1~ubuntu22.04.1vulnerable
Ubuntugolang-1.2122.041.21.1-1~ubuntu22.04.2vulnerable
Ubuntugolang-1.2122.041.21.1-1~ubuntu22.04.3vulnerable
Ubuntugolang-1.2122.041.21.1-1~ubuntu22.04.4vulnerable
Ubuntugolang-1.2222.041.22.2-2~22.04vulnerable
Ubuntugolang-1.2222.041.22.2-2~22.04.1vulnerable
Ubuntugolang-1.2222.041.22.2-2~22.04.2vulnerable
Ubuntugolang-1.2222.041.22.2-2~22.04.3vulnerable
Ubuntugolang-1.2222.041.22.2-2~22.04.4vulnerable
Ubuntugolang-1.2322.041.23.1-1~22.04vulnerable
Ubuntugolang-1.2322.041.23.1-1~22.04.2vulnerable
Ubuntugolang-1.2322.041.23.1-1~22.04.3vulnerable
Ubuntugolang-1.2422.041.24.4-1ubuntu1~22.04.1vulnerable
Ubuntugolang-1.2422.041.24.4-1ubuntu1~22.04.2vulnerable
Ubuntugolang-1.2422.041.24.13-2~22.04.1vulnerable
Ubuntugolang-1.2422.041.24.13-2~22.04.2vulnerable
Ubuntugolang-1.2522.041.25.14-1~ubuntu0.22.04.1vulnerable
Ubuntugolang-1.2124.041.21.1-1vulnerable
Ubuntugolang-1.2124.041.21.3-1vulnerable
Ubuntugolang-1.2124.041.21.4-1vulnerable
Ubuntugolang-1.2124.041.21.5-1vulnerable
Ubuntugolang-1.2124.041.21.6-1vulnerable
Ubuntugolang-1.2124.041.21.7-1vulnerable
Ubuntugolang-1.2124.041.21.7-2vulnerable
Ubuntugolang-1.2124.041.21.8-1vulnerable
Ubuntugolang-1.2124.041.21.8-1build1vulnerable
Ubuntugolang-1.2124.041.21.9-1vulnerable
Ubuntugolang-1.2124.041.21.9-1ubuntu0.1vulnerable
Ubuntugolang-1.2224.041.22~rc1-2vulnerable
Ubuntugolang-1.2224.041.22.0-1vulnerable
Ubuntugolang-1.2224.041.22.0-2vulnerable
Ubuntugolang-1.2224.041.22.1-1vulnerable
Ubuntugolang-1.2224.041.22.1-1build1vulnerable
Ubuntugolang-1.2224.041.22.2-2vulnerable
Ubuntugolang-1.2224.041.22.2-2ubuntu0.1vulnerable
Ubuntugolang-1.2224.041.22.2-2ubuntu0.2vulnerable
Ubuntugolang-1.2224.041.22.2-2ubuntu0.3vulnerable
Ubuntugolang-1.2224.041.22.2-2ubuntu0.4vulnerable
Ubuntugolang-1.2224.041.22.2-2ubuntu0.5vulnerable
Ubuntugolang-1.2324.041.23.1-1~24.04vulnerable
Ubuntugolang-1.2324.041.23.1-1~24.04.1vulnerable
Ubuntugolang-1.2424.041.24.4-1ubuntu1~24.04.1vulnerable
Ubuntugolang-1.2424.041.24.4-1ubuntu1~24.04.2vulnerable
Ubuntugolang-1.2424.041.24.13-2~24.04.1vulnerable
Ubuntugolang-1.2524.041.25.14-1~ubuntu0.24.04.1vulnerable
Ubuntugolang-1.2325.101.23.8-1vulnerable
Ubuntugolang-1.2325.101.23.10-1vulnerable
Ubuntugolang-1.2325.101.23.10-1ubuntu0.2vulnerable
Ubuntugolang-1.2425.101.24.2-1vulnerable
Ubuntugolang-1.2425.101.24.2-2vulnerable
Ubuntugolang-1.2425.101.24.4-1vulnerable
Ubuntugolang-1.2425.101.24.4-1ubuntu1vulnerable
Ubuntugolang-1.2525.101.25.0-0ubuntu1vulnerable
Ubuntugolang-1.2525.101.25.7-2~25.10.1vulnerable
Ubuntugolang-1.2326.041.23.10-1vulnerable
Ubuntugolang-1.2426.041.24.4-1ubuntu1vulnerable
Ubuntugolang-1.2426.041.24.9-1vulnerable
Ubuntugolang-1.2426.041.24.13-2vulnerable
Ubuntugolang-1.2526.041.25.0-0ubuntu1vulnerable
Ubuntugolang-1.2526.041.25.7-2vulnerable
Ubuntugolang-1.2526.041.25.14-1~ubuntu0.26.04.1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiangolang-1.19sourcebookwormNot affectedunimportantNot reportedNot reported
GostdlibGoNot reported1.27.0-rc.2Not reportedNot reportedNot reported
Opensuselokirpmtumbleweed3.7.4-1.1Not reportedOPENSUSE-SU-2026:11393-1Not reported
Susego1.26rpmlinux enterprise server 16.01.26.5-160000.1.1Not reportedSUSE-SU-2026:22656-1Not reported
Susego1.26rpmlinux enterprise server for sap applications 16.01.26.5-160000.1.1Not reportedSUSE-SU-2026:22656-1Not reported
Susego1.26-opensslrpmlinux enterprise server 16.01.26.5-160000.1.1Not reportedSUSE-SU-2026:22641-1Not reported
Susego1.26-opensslrpmlinux enterprise server for sap applications 16.01.26.5-160000.1.1Not reportedSUSE-SU-2026:22641-1Not reported
Opensusego1.26-opensslrpmleap 16.01.26.5-160000.1.1Not reportedOPENSUSE-SU-2026:21321-1Not reported
Opensusego1.26rpmleap 16.01.26.5-160000.1.1Not reportedOPENSUSE-SU-2026:21341-1Not reported
Opensusego1.26rpmtumbleweed1.26.5-1.1Not reportedOPENSUSE-SU-2026:11232-1Not reported
Susego1.26rpmlinux enterprise module for development tools 15 sp71.26.5-150000.1.18.1Not reportedSUSE-SU-2026:2818-1Not reported
Susego1.26rpmlinux enterprise high performance computing 15 sp4-espos1.26.5-150000.1.18.1Not reportedSUSE-SU-2026:2818-1Not reported
Susego1.26rpmlinux enterprise high performance computing 15 sp4-ltss1.26.5-150000.1.18.1Not reportedSUSE-SU-2026:2818-1Not reported
Susego1.26rpmlinux enterprise high performance computing 15 sp5-espos1.26.5-150000.1.18.1Not reportedSUSE-SU-2026:2818-1Not reported
Susego1.26rpmlinux enterprise high performance computing 15 sp5-ltss1.26.5-150000.1.18.1Not reportedSUSE-SU-2026:2818-1Not reported
Susego1.26rpmlinux enterprise server 15 sp4-ltss1.26.5-150000.1.18.1Not reportedSUSE-SU-2026:2818-1Not reported
Susego1.26rpmlinux enterprise server 15 sp5-ltss1.26.5-150000.1.18.1Not reportedSUSE-SU-2026:2818-1Not reported
Susego1.26rpmlinux enterprise server 15 sp6-ltss1.26.5-150000.1.18.1Not reportedSUSE-SU-2026:2818-1Not reported
Susego1.26rpmlinux enterprise server for sap applications 15 sp41.26.5-150000.1.18.1Not reportedSUSE-SU-2026:2818-1Not reported
Susego1.26rpmlinux enterprise server for sap applications 15 sp51.26.5-150000.1.18.1Not reportedSUSE-SU-2026:2818-1Not reported
Susego1.26rpmlinux enterprise server for sap applications 15 sp61.26.5-150000.1.18.1Not reportedSUSE-SU-2026:2818-1Not reported
Opensusego1.25rpmtumbleweed1.25.12-1.1Not reportedOPENSUSE-SU-2026:11212-1Not reported

OpenFactory catalog packages

[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

[openSUSE Tumbleweed]

  • [go1.25-doc]Unknown

    Source package: [go1.25]

    Details (1)
    • 1.25.14-1.1 · x86_64 · tumbleweed

      Unknown · Fixed: 1.25.12-1.1

      Version impact unknown

      nvd · go1.25 · opensuse · tumbleweed

  • [go1.25-race]Unknown

    Source package: [go1.25]

    Details (1)
    • 1.25.14-1.1 · x86_64 · tumbleweed

      Unknown · Fixed: 1.25.12-1.1

      Version impact unknown

      nvd · go1.25 · opensuse · tumbleweed

  • [go1.26-doc]Unknown

    Source package: [go1.26]

    Details (1)
    • 1.26.7-1.1 · x86_64 · tumbleweed

      Unknown · Fixed: 1.26.5-1.1

      Version impact unknown

      nvd · go1.26 · opensuse · tumbleweed

  • [go1.26-race]Unknown

    Source package: [go1.26]

    Details (1)
    • 1.26.7-1.1 · x86_64 · tumbleweed

      Unknown · Fixed: 1.26.5-1.1

      Version impact unknown

      nvd · go1.26 · opensuse · tumbleweed

  • [logcli]Unknown

    Source package: [loki]

    Details (1)
    • 3.7.6-1.1 · x86_64 · tumbleweed

      Unknown · Fixed: 3.7.4-1.1

      Version impact unknown

      nvd · loki · opensuse · tumbleweed

  • [lokitool]Unknown

    Source package: [loki]

    Details (1)
    • 3.7.6-1.1 · x86_64 · tumbleweed

      Unknown · Fixed: 3.7.4-1.1

      Version impact unknown

      nvd · loki · opensuse · tumbleweed

  • [go1.25]Fixed

    Source package: [go1.25]

    Details (1)
    • 1.25.14-1.1 · x86_64 · tumbleweed

      Fixed · Fixed: 1.25.12-1.1

      nvd · go1.25 · opensuse · tumbleweed

  • [go1.26]Fixed

    Source package: [go1.26]

    Details (1)
    • 1.26.7-1.1 · x86_64 · tumbleweed

      Fixed · Fixed: 1.26.5-1.1

      nvd · go1.26 · opensuse · tumbleweed

  • [loki]Fixed

    Source package: [loki]

    Details (1)
    • 3.7.6-1.1 · x86_64 · tumbleweed

      Fixed · Fixed: 3.7.4-1.1

      nvd · loki · opensuse · tumbleweed

[Debian 12 (Bookworm)]

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

      Not affected

      nvd · golang-1.19 · debian · bookworm

    • 1.19.8-2 · all · bookworm

      Not affected

      nvd · golang-1.19 · debian · bookworm

  • [golang-1.19-doc]Not affected

    Source package: [golang-1.19]

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

      Not affected

      nvd · golang-1.19 · debian · bookworm

    • 1.19.8-2 · all · bookworm

      Not affected

      nvd · golang-1.19 · debian · bookworm

  • [golang-1.19-go]Not affected

    Source package: [golang-1.19]

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

      Not affected

      nvd · golang-1.19 · debian · bookworm

    • 1.19.8-2 · arm64 · bookworm

      Not affected

      nvd · golang-1.19 · debian · bookworm

  • [golang-1.19-src]Not affected

    Source package: [golang-1.19]

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

      Not affected

      nvd · golang-1.19 · debian · bookworm

    • 1.19.8-2 · all · bookworm

      Not affected

      nvd · golang-1.19 · debian · bookworm

Observed:

References