Go Standard Library OS

5 CVEs affecting Go Standard Library OS. Latest disclosed: 2026-07-08. Critical: 0, High: 2.

Top CVEs affecting Go Standard Library OS
CVESeverityScorePublishedSummary
CVE-2026-39822High7.82026-07-08On 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 sym…
CVE-2022-41720High7.52022-12-07On Windows, restricted files can be accessed via os.DirFS and http.Dir. The os.DirFS function and http.Dir type provide access to a tree of files rooted at a g…
CVE-2025-0913Medium5.52025-06-11os.OpenFile(path, os.O_CREATE|O_EXCL) behaved differently on Unix and Windows systems when the target path was a dangling symlink. On Unix systems, OpenFile wi…
CVE-2025-22873Low3.82026-02-04It was possible to improperly access the parent directory of an os.Root by opening a filename ending in "../". For example, Root.Open("../") would open the par…
CVE-2026-27139Low2.52026-03-06On 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…