Bug 2548348 (CVE-2026-56857)

Summary: CVE-2026-56857 os: golang: golang: Directory traversal via Windows junction handling
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: aazores, abarbaro, akhatavk, akostadi, akoudelk, alebedev, alizardo, amasferr, amctagga, anjoseph, anpicker, ansingla, ansmith, anthomas, aoconnor, aos-team-art-private, aruklets, asatyam, asdas, ataylor, bbrownin, bcaton, blitton, bmuthuka, bniver, chfoley, ckandaga, cmah, cmyers, crizzo, dakwon, dhanak, diagrawa, dkeler, dmayorov, dnakabaa, doconnor, dpaolell, drosa, dschmidt, dsimansk, dymurray, eaguilar, ebaron, eborisov, eglynn, ehelms, ehugonne, flucifre, gbenhaim, ggainey, gmeno, gparvin, groman, hasun, ibolton, jbalunas, jbritton, jburrell, jcantril, jchui, jdelft, jfula, jhe, jjoyce, jlanda, jlledo, jmatsuok, jmatthew, jmitchel, jmontleo, jowilson, jpasqual, jprabhak, jpretori, jschluet, jtolenti, jturenov, jupierce, juwatts, kaycoth, kingland, kshier, ktsao, lball, lblicha, lbragsta, lcouzens, lgamliel, lgarciaa, lhh, mbarnett, mbenjamin, mbiarnes, mburns, mdellweg, mgarciac, mhackett, mhulan, mnovotny, mrunge, mszuc, mwringe, nboldt, ngough, niyer, nmoumoul, nyancey, oaljalju, ogajduse, ometelka, osousa, pantinor, pcreech, pgaikwad, pjindal, ppalepu, ppostler, prdhamdh, psrna, ptisnovs, pvasanth, pwambui, rbobbitt, rchan, rekumar, rgodfrey, rhaigner, rhel-process-autobot, rjohnson, rojacob, sabiswas, sakbas, sausingh, sbratsla, sdawley, sghai, sidsharm, simaishi, slakshmi, slucidi, smallamp, sostapov, sseago, stcannon, suppawar, swoodman, syedriko, thason, tmalecek, tsedmik, tsze, twaugh, tzivkovi, vereddy, veshanka, vimartin, vkarehfa, vlaad, vvoronko, watson-tool-maintainers, wenshen, whayutin, wscales, wtam, xdharmai, yguenane, zhunting
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in the Go standard library's file system operations on Windows. Scoped directory operations fail to properly restrict directory creation when processing Windows junction points (links redirecting to other folder locations) that point outside the designated root directory. An attacker can exploit this weakness to create directories outside the restricted boundary, bypassing intended directory confinement controls.
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-10-08 23:02:07 UTC
On Windows, when the target of Root.Mkdir or Root.MkdirAll is a junction pointing to an empty location, the operation can create a directory at the junction target even when that target is located outside the root. This only applies to operations where the last path component is a junction (path/to/junction, but not path/junction/target).