Vulnerabilidades de Go standard library os (CVE)

Registros CVE publicados para Go standard library os, los más recientes primero. Siga el producto para recibir un correo con cada nueva.

6 resultados
9.8Crítica
CVE-2026-56857

Root.Mkdir(All) can follow junctions out of the root on Windows in os

Go standard library os; Go standard library internal/syscall/windows

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 la…

7.8Alta
CVE-2026-39822

Root escape via symlink plus trailing slash in os

Go standard library os

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 whe…

2.5Baja
CVE-2026-27139

FileInfo can escape from a Root in os

Go standard library os

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 …

3.8Baja
CVE-2025-22873

Improper access to parent directory of root in os

Go standard library os

It 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 parent directory of the Root. This escape only permits opening the parent directory itself, not ancesto…

7.5Alta
CVE-2022-41720

Restricted file access on Windows in os and net/http

Go standard library os; Go standard library net/http

On 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 given directory. These functions permit access to Windows device files under that root. For example, …

1.3%EPSS