External Control of File Name or Path Affecting argocd-3.4-compat package, versions <3.4.5-r2


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.37% (30th 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-MINIMOSLATEST-ARGOCD34COMPAT-17941690
  • published11 Jul 2026
  • disclosed17 Jul 2026

Introduced: 11 Jul 2026

NewCVE-2026-50162  (opens in a new tab)
CWE-73  (opens in a new tab)

How to fix?

Upgrade Minimos:latest argocd-3.4-compat to version 3.4.5-r2 or higher.

NVD Description

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

oras-go is a Go library for managing OCI artifacts. Prior to 2.6.1, resolveWritePath() in content/file/file.go uses a lexical filepath.Rel check for workingDir and does not account for symlink traversal, so when AllowPathTraversalOnWrite=false an attacker-controlled blob title through ocispec.AnnotationTitle such as out/pwn.txt can follow a workingDir symlink out -> /some/outside/dir and cause pushFile() to create /some/outside/dir/pwn.txt outside workingDir. This issue is fixed in version 2.6.1.

CVSS Base Scores

version 3.1