{"cve":"CVE-2026-25542","nvd":{"published":"2026-04-21T17:16:24.213","modified":"2026-10-26T22:10:00.163","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5},"cwes":["CWE-185"],"references":["https://github.com/tektoncd/pipeline/commit/b8905600322aa86327baae0a7c04d6cf1207362a","https://github.com/tektoncd/pipeline/security/advisories/GHSA-rmx9-2pp3-xhcr"],"products":["linuxfoundation:tekton_pipelines"],"source":"nvd","synced_at":"2026-10-26T22:26:44.656832877+00:00"},"epss":{"cve":"CVE-2026-25542","score":0.00264,"percentile":0.18061,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-rmx9-2pp3-xhcr","url":"https://osv.dev/vulnerability/GHSA-rmx9-2pp3-xhcr","summary":"Tekton Pipelines has VerificationPolicy regex pattern bypass via substring matching","modified":"2026-09-10T03:51:03.127944585Z","packages":[{"ecosystem":"Go","name":"github.com/tektoncd/pipeline","purl":"pkg:golang/github.com/tektoncd/pipeline","ranges":[">=0.43.0 <1.0.2"],"fixed":["1.0.2"]},{"ecosystem":"Go","name":"github.com/tektoncd/pipeline","purl":"pkg:golang/github.com/tektoncd/pipeline","ranges":[">=1.2.0 <1.3.4"],"fixed":["1.3.4"]},{"ecosystem":"Go","name":"github.com/tektoncd/pipeline","purl":"pkg:golang/github.com/tektoncd/pipeline","ranges":[">=1.4.0 <1.6.2"],"fixed":["1.6.2"]},{"ecosystem":"Go","name":"github.com/tektoncd/pipeline","purl":"pkg:golang/github.com/tektoncd/pipeline","ranges":[">=1.7.0 <1.9.3"],"fixed":["1.9.3"]},{"ecosystem":"Go","name":"github.com/tektoncd/pipeline","purl":"pkg:golang/github.com/tektoncd/pipeline","ranges":[">=1.10.0 <1.11.1"],"fixed":["1.11.1"]}]},{"id":"GO-2026-5630","url":"https://osv.dev/vulnerability/GO-2026-5630","summary":"Tekton Pipelines has VerificationPolicy regex pattern bypass via substring matching in github.com/tektoncd/pipeline","modified":"2026-07-23T19:00:12.992086604Z","packages":[{"ecosystem":"Go","name":"github.com/tektoncd/pipeline","purl":"pkg:golang/github.com/tektoncd/pipeline","ranges":[">=0.43.0 <1.0.2",">=1.1.0 <1.3.4",">=1.4.0 <1.6.2",">=1.7.0 <1.9.3",">=1.10.0 <1.11.1"],"fixed":["1.0.2","1.3.4","1.6.2","1.9.3","1.11.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}