CVE-2025-22873 Affecting golang-1.24 package, versions <1.24.3


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.24% (14th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-GOLANG124-18766895
  • published14 Aug 2026
  • disclosed4 Feb 2026

Introduced: 4 Feb 2026

CVE-2025-22873  (opens in a new tab)

How to fix?

Upgrade Echo:latest golang-1.24 to version 1.24.3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang-1.24 package and not the golang-1.24 package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1