Untrusted Search Path Affecting ory-kratos package, versions <25.4.0-r3


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.01% (1st 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-CHAINGUARDLATEST-ORYKRATOS-15366452
  • published1 Mar 2026
  • disclosed2 Feb 2026

Introduced: 2 Feb 2026

CVE-2026-24051  (opens in a new tab)
CWE-426  (opens in a new tab)

How to fix?

Upgrade Chainguard ory-kratos to version 25.4.0-r3 or higher.

NVD Description

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

OpenTelemetry-Go is the Go implementation of OpenTelemetry. The OpenTelemetry Go SDK in version v1.20.0-1.39.0 is vulnerable to Path Hijacking (Untrusted Search Paths) on macOS/Darwin systems. The resource detection code in sdk/resource/host_id.go executes the ioreg system command using a search path. An attacker with the ability to locally modify the PATH environment variable can achieve Arbitrary Code Execution (ACE) within the context of the application. A fix was released with v1.40.0.