CVE-2025-22873: Golang 1.24 · It was possible to improperly access the parent directory of an os.Root by opening a
Affects golang-1.24Source GCVE Database
Not known to be exploited · CVSS 3.8 Low.
Data as of 24 Nov 2026, 21:15 UTC
Thin evidence
One scorer or none| CISA-ADP | CVSS 3.1 | 3.8 |
|---|
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 14% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 4 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSgolang-1.24pkg:deb/ubuntu/golang-1.24?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10golang-1.24pkg:deb/ubuntu/golang-1.24?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSgolang-1.24pkg:deb/ubuntu/golang-1.24?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSgolang-1.24pkg:deb/ubuntu/golang-1.24?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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.
References
- ubuntu.com/security/CVE-2025-22873 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-22873 (opens in a new tab)
- groups.google.com/g/golang-announce/c/UZoIkUT367A/m/5WDxKizJAQAJ (opens in a new tab)
- github.com/golang/go/issues/73555 (opens in a new tab)
- github.com/golang/go/commit/8947f3395eb24dce6a5749517c0b40204b585f0a (opens in a new tab)