Tekton Pipelines Unanchored Pattern Bypass Vulnerability in Trusted Resources Verification

Vulnerability

A vulnerability exists in Tekton Pipelines versions 0.43.0 through 1.11.0, allowing for bypassing trusted resources verification policies. The issue arises because the verification process uses unanchored regular expressions, which can be manipulated by embedding trusted substrings within attacker-controlled source strings. This unintended matching can alter the applied verification modes or keys.

Impact

Exploitation of this vulnerability allows an attacker to manipulate the trusted resources verification process, potentially leading to incorrect verification outcomes and unauthorized changes in the applied verification modes or keys.

Reproduction

The vulnerability can be reproduced by creating a trusted resources verification policy with an unanchored regular expression pattern. An attacker can then craft a source string that includes a substring matching the policy pattern, such as 'https://github.com/tektoncd/catalog.git', and use it in a way that is accepted by the Tekton Pipelines verification process. This can be automated with a provided proof of concept that demonstrates the vulnerability.

Remediation

To address this vulnerability, it is recommended to anchor verification policy resource patterns so that they must match the full source string. For example, patterns can be updated to 'https://github.com/tektoncd/catalog.git'.

Added: Apr 21, 2026, 7:11 PM
Updated: Apr 21, 2026, 7:11 PM

Vulnerability Rating

Custom Algorithm
spread
4.2
impact
0.6
exploitability
6.0
remediation
7.9
relevance
6.4
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.