CVE-2025-22873 — CVE-2025-22873: It was possible to improperly access the parent directory of an os.Root by opening a filename ending in "../". For ex...
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 ancestors of the parent or files contained within the parent.
Product
Affected Versions
Upstream Patched Versions
go
>= 1.24.0, < 1.24.3
1.24.3
Trigger Conditions & Triage Notes
Verify whether deployed Go Toolchain & Stdlib versions fall within: go (>= 1.24.0, < 1.24.3 → Fixed: 1.24.3).
Mitigation & Workarounds
Upgrade to the upstream patched release or apply your Linux distribution's security package update.
Linux Distribution Backport Notice: If you install packages (such as OpenSSL, Nginx, or PHP) via Ubuntu/Debian apt or RHEL/AlmaLinux dnf, security patches are typically backported into older upstream version numbers. Verify your OS vendor security tracker before compiling from source.