Skip to main content
VulnerabilityPublished Updated

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

0
Compare
Authoritative record:CVE-2025-22873· Low 3.8

Not known to be exploited · CVSS 3.8 Low.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
3.8Low
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CISA-ADPCVSS 3.13.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Ubuntu 26.04 LTSgolang-1.24pkg:deb/ubuntu/golang-1.24?arch=source&distro=resoluteOther threatsAffected
  • =1.24.4-1ubuntu1
  • =1.24.9-1
  • =1.24.13-2
Fixed in–
Ubuntu 25.10golang-1.24pkg:deb/ubuntu/golang-1.24?arch=source&distro=questingOther threatsAffected
  • 1.24.2-1 – 1.24.4-1ubuntu1
4 affected builds
Fixed in–
Ubuntu 24.04 LTSgolang-1.24pkg:deb/ubuntu/golang-1.24?arch=source&distro=nobleOther threatsAffected
  • =1.24.4-1ubuntu1~24.04.1
  • =1.24.4-1ubuntu1~24.04.2
  • =1.24.13-2~24.04.1
Fixed in–
Ubuntu 22.04 LTSgolang-1.24pkg:deb/ubuntu/golang-1.24?arch=source&distro=jammyOther threatsAffected
  • 1.24.4-1ubuntu1~22.04.1 – 1.24.13-2~22.04.2
4 affected builds
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

Community reviews

Loading reviews…