{"id":"CVE-2026-25542","published":"2026-04-21T16:05:43Z","modified":"2026-05-22T16:06:24Z","title":"Tekton Pipelines: VerificationPolicy regex pattern bypass via substring matching","vendor":"tektoncd","product":"pipeline","tier":"tail","description":{"text":"Tekton Pipelines project provides k8s-style resources for declaring CI/CD-style pipelines. Starting in version 0.43.0 and prior to versions 1.0.2, 1.3.4, 1.6.2, 1.9.3, and 1.11.1, 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. Versions 1.0.2, 1.3.4, 1.6.2, 1.9.3, and 1.11.1 fix the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00401,"percentile":0.25902,"provenance":"source"},"cwes":[{"id":"CWE-185","name":"Incorrect Regular Expression"}],"references":[{"url":"https://github.com/tektoncd/pipeline/security/advisories/GHSA-rmx9-2pp3-xhcr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tektoncd/pipeline/commit/b8905600322aa86327baae0a7c04d6cf1207362a","tags":["x_refsource_MISC"]}],"priority":{"score":9.7,"factors":[{"name":"EPSS percentile","points":5.18},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"tektoncd","affectedVersions":[{"vendor":"tektoncd","product":"pipeline","versions":[">= 0.43.0, < 1.0.2",">= 1.2.0, < 1.3.4",">= 1.4.0, < 1.6.2",">= 1.7.0, < 1.9.3",">= 1.10.0, < 1.11.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-21T16:48:04.873157Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/tektoncd/pipeline","vulnerableRanges":[">=0.43.0, <1.0.2",">=1.2.0, <1.3.4",">=1.4.0, <1.6.2",">=1.7.0, <1.9.3",">=1.10.0, <1.11.1",">=1.1.0, <1.3.4"],"patched":["1.0.2","1.3.4","1.6.2","1.9.3","1.11.1"],"from":["GHSA-rmx9-2pp3-xhcr","GO-2026-5630"],"provenance":"source"}],"summary":{"text":"The flaw is in the Tekton Pipelines project's trusted resources verification, where VerificationPolicy resources match a resource's source URI against spec.resources[].pattern using regexp.MatchString, which reports a match whenever the pattern appears anywhere in the string rather than matching the whole value. An attacker who can supply a resource source string containing a trusted pattern as a substring, with network access and low privileges and no user interaction required, can cause an unintended policy match that changes which verification mode and keys apply.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:11:07Z"},"euvd":{"id":"EUVD-2026-24151","exploited":false,"provenance":"source"}}