Server-side Request Forgery (SSRF) Affecting github.com/tektoncd/pipeline/pkg/resolution/resolver/git package, versions <1.12.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.26% (18th 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-GOLANG-GITHUBCOMTEKTONCDPIPELINEPKGRESOLUTIONRESOLVERGIT-16316399
  • published28 Apr 2026
  • disclosed21 Apr 2026
  • creditkodareef5

Introduced: 21 Apr 2026

CVE-2026-40161  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade github.com/tektoncd/pipeline/pkg/resolution/resolver/git to version 1.12.0 or higher.

Overview

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) in the serverURL parameter when it is set to an attacker-controlled endpoint. An attacker can obtain sensitive API tokens by crafting a resource that omits the Git API token parameter, causing the system-configured token to be sent to the attacker's server.

CVSS Base Scores

version 4.0
version 3.1