7.8Yüksek

CVE-2026-39822Root escape via symlink plus trailing slash in os

Go standard library os Yayım: (4 ay önce)

Açıklama

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.

Zayıflık türü (CWE): CWE-61

Veri: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Bilgiler kaynaktaki haliyle, İngilizce yayımlanır.

Etkilenen ürünler ve sürümler

ÜreticiÜrünSürümler
Go standard library os < 1.25.12, 1.26.0-0 – < 1.26.5, 1.27.0-0 – < 1.27.0-rc.2
golang go 1.24.0 – < 1.25.12

Kaynaklar ve yamalar

CPE eşleşmeleri (NVD) (3)

  • cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* ≥ 1.24.0 < 1.25.12
  • cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* ≥ 1.26.0 < 1.26.5
  • cpe:2.3:a:golang:go:1.27:rc1:*:*:*:*:*:*