CVE 6.5 MEDIUM

Tekton Pipelines: VerificationPolicy regex pattern bypass via substring matching_CVE-2026-25542

6.5 / 10
MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Description

Tekton Pipelines project provides k8s-style resources for declaring CI/CD-style pipelines. From 0.43.0 to 1.11.0, trusted resources verification policies match a resource source string (refSource.URI) against spec.resources[].pattern using regexp.MatchString. In Go, regexp.MatchString reports a match if the pattern matches anywhere in the string, so common unanchored patterns (including examples in tekton documentation) can be bypassed by attacker-controlled source strings that contain the trusted pattern as a substring. This can cause an unintended policy match and change which verification mode/keys apply.

Basic Information

ID CVE-2026-25542
Source GitHub_M
Published Apr 21, 2026 at 16:05

Affected Product

Vendor tektoncd
Product pipeline
Version >= 0.43.0, <= 1.11.0
Affected Versions tektoncd pipeline >= 0.43.0, <= 1.11.0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.