Bug 2498152 (CVE-2026-39822)

Summary: CVE-2026-39822 golang: Go os.Root: Symlink following vulnerability allows directory traversal
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: aazores, abarbaro, abuckta, akhatavk, akostadi, akoudelk, alebedev, alizardo, amasferr, amctagga, anjoseph, anpicker, ansmith, anthomas, aoconnor, aos-team-art-private, aprice, aruklets, asatyam, asdas, ataylor, bbrownin, bniver, chfoley, ckandaga, cmah, crizzo, dakwon, dfreiber, dhanak, diagrawa, dkeler, dkuc, dmayorov, doconnor, dpaolell, drosa, drow, dschmidt, dsimansk, dymurray, eaguilar, ebaron, eborisov, eglynn, ehelms, ehugonne, flucifre, gbenhaim, ggainey, gmeno, gparvin, groman, hasun, ibolton, ikhan, jbalunas, jbritton, jburrell, jcantril, jchui, jdelft, jeder, jfula, jhe, jjoyce, jlanda, jlledo, jmatsuok, jmatthew, jmontleo, jolong, jowilson, jpasqual, jprabhak, jpretori, jsamir, jschluet, jtolenti, jturenov, jupierce, juwatts, kaycoth, kingland, kshier, ktsao, lball, lbragsta, lgamliel, lgarciaa, lhh, manissin, mbenjamin, mbiarnes, mbocek, mburns, mdellweg, mgarciac, mhackett, mhulan, mnovotny, mrunge, mwringe, nboldt, ngough, niyer, nmoumoul, nyancey, oaljalju, oezr, ometelka, orabin, osousa, pantinor, pcreech, pgaikwad, pjindal, ppalepu, ppostler, prdhamdh, psrna, ptisnovs, pvasanth, rbobbitt, rchan, rekumar, rgodfrey, rhaigner, rhel-process-autobot, rjohnson, rojacob, sabiswas, sakbas, sausingh, sbratsla, sdawley, sghai, sidsharm, simaishi, slucidi, smallamp, sostapov, sseago, stcannon, suppawar, swoodman, syedriko, teagle, thason, tmalecek, tsedmik, tsze, twaugh, tzivkovi, vereddy, veshanka, vimartin, vkarehfa, vkumar, vlaad, vvoronko, watson-tool-maintainers, wenshen, whayutin, wtam, xdharmai, yguenane
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in the `os.Root` functionality of Go on Unix systems. This vulnerability allows an attacker to bypass intended directory restrictions by crafting a path that ends with a symbolic link and a trailing slash. When a file is opened in `os.Root` with such a path, the symbolic link is improperly followed, potentially leading to access to locations outside of the defined root directory. This could result in information disclosure or unauthorized file system access.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-07-08 17:02:16 UTC
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.

Comment 2 errata-xmlrpc 2026-07-09 19:42:38 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:37436 https://access.redhat.com/errata/RHSA-2026:37436

Comment 3 errata-xmlrpc 2026-07-09 19:53:32 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:37435 https://access.redhat.com/errata/RHSA-2026:37435

Comment 4 errata-xmlrpc 2026-07-13 03:27:06 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:38494 https://access.redhat.com/errata/RHSA-2026:38494

Comment 5 errata-xmlrpc 2026-07-13 05:03:37 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:38495 https://access.redhat.com/errata/RHSA-2026:38495

Comment 6 errata-xmlrpc 2026-07-13 05:25:07 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:38493 https://access.redhat.com/errata/RHSA-2026:38493

Comment 7 errata-xmlrpc 2026-07-13 13:18:18 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:38878 https://access.redhat.com/errata/RHSA-2026:38878

Comment 8 errata-xmlrpc 2026-07-13 14:12:38 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:38995 https://access.redhat.com/errata/RHSA-2026:38995

Comment 9 errata-xmlrpc 2026-08-03 15:59:59 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.0 Extended Update Support

Via RHSA-2026:49702 https://access.redhat.com/errata/RHSA-2026:49702

Comment 10 errata-xmlrpc 2026-08-03 17:34:32 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.6 Extended Update Support

Via RHSA-2026:49712 https://access.redhat.com/errata/RHSA-2026:49712

Comment 12 errata-xmlrpc 2026-08-20 18:47:36 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions

Via RHSA-2026:57649 https://access.redhat.com/errata/RHSA-2026:57649

Comment 13 errata-xmlrpc 2026-08-25 10:29:38 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.22

Via RHSA-2026:57361 https://access.redhat.com/errata/RHSA-2026:57361

Comment 14 errata-xmlrpc 2026-08-31 04:06:29 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2026:61253 https://access.redhat.com/errata/RHSA-2026:61253

Comment 16 Jon Orris 2026-09-15 09:23:24 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.21

Via RHSA-2026:66350 https://access.redhat.com/errata/RHSA-2026:66350

Comment 17 Jon Orris 2026-09-15 09:25:52 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.20

Via RHSA-2026:66375 https://access.redhat.com/errata/RHSA-2026:66375