Directory Traversal Affecting trivy-operator package, versions <0.30.1-r10


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.01% (3rd 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 Learn

Learn about Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CHAINGUARDLATEST-TRIVYOPERATOR-16786648
  • published21 May 2026
  • disclosed27 May 2026

Introduced: 21 May 2026

NewCVE-2026-45571  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Chainguard trivy-operator to version 0.30.1-r10 or higher.

NVD Description

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

go-git is an extensible git implementation library written in pure Go. Prior to 5.19.1 and 6.0.0-alpha.4, a path validation issue in go-git could allow crafted repository data to affect files outside the intended checkout target, including the repository's .git directory. These validations were introduced in upstream Git years ago, so the vulnerability arose from go-git drifting from those checks. This vulnerability is fixed in 5.19.1 and 6.0.0-alpha.4.