Untrusted Search Path Affecting docker-compose package, versions <5.1.0-r2


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-DOCKERCOMPOSE-15366181
  • published1 Mar 2026
  • disclosed2 Feb 2026

Introduced: 2 Feb 2026

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

How to fix?

Upgrade Chainguard docker-compose to version 5.1.0-r2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream docker-compose package and not the docker-compose 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.