{"id":"CVE-2026-25542","aliases":["GHSA-rmx9-2pp3-xhcr","GO-2026-5630"],"url":"https://o3.security/vulnerability/CVE-2026-25542","summary":"Tekton Pipelines: VerificationPolicy regex pattern bypass via substring matching","details":"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.","published":"2026-04-21T16:05:43.217Z","modified":"2026-07-31T18:31:28.280714664Z","cvss":{"score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"},"epss":{"score":0.00264,"percentile":0.18046,"asOf":"2026-08-08"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/tektoncd/pipeline","fixedVersion":"1.0.2"},{"ecosystem":"Go","name":"github.com/tektoncd/pipeline","fixedVersion":"1.3.4"},{"ecosystem":"Go","name":"github.com/tektoncd/pipeline","fixedVersion":"1.6.2"},{"ecosystem":"Go","name":"github.com/tektoncd/pipeline","fixedVersion":"1.9.3"},{"ecosystem":"Go","name":"github.com/tektoncd/pipeline","fixedVersion":"1.11.1"}],"fix":{"url":"https://github.com/tektoncd/pipeline/commit/b8905600322aa86327baae0a7c04d6cf1207362a","label":"tektoncd/pipeline@b890560"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25542.json"},{"type":"ADVISORY","url":"https://github.com/tektoncd/pipeline/security/advisories/GHSA-rmx9-2pp3-xhcr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25542"},{"type":"FIX","url":"https://github.com/tektoncd/pipeline/commit/b8905600322aa86327baae0a7c04d6cf1207362a"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-31T18:31:28.280714664Z"}}