CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2025 · Golang

CVE-2025-22873
Golang Go vulnerability

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.

Affected products

Go. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Golang Go runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Golang products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.