Improper Encoding or Escaping of Output Affecting trufflehog-fips package, versions <3.94.3-r6


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.37% (29th 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-TRUFFLEHOGFIPS-16789271
  • published21 May 2026
  • disclosed27 May 2026

Introduced: 21 May 2026

NewCVE-2026-45570  (opens in a new tab)
CWE-116  (opens in a new tab)

How to fix?

Upgrade Chainguard trufflehog-fips to version 3.94.3-r6 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream trufflehog-fips package and not the trufflehog-fips 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, go-git's SSH transport constructs the remote exec command by wrapping the repository path in single quotes without escaping single quotes embedded inside the path. A repository path containing a single quote can therefore break out of the quoted region in the exec command and be appended as additional shell tokens. This vulnerability is fixed in 5.19.1 and 6.0.0-alpha.4.

CVSS Base Scores

version 3.1