{"id":"CVE-2026-25542","revision":"5f5ea76bbd23439c8f6f2357d0ccde71","records":[{"revision":"5f5ea76bbd23439c8f6f2357d0ccde71","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-25542","aliases":[],"title":"Tekton Pipelines: VerificationPolicy regex pattern bypass via substring matching","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.","state":0,"publishedAt":"2026-04-21T16:05:43.217+00:00","modifiedAt":"2026-05-22T16:06:24.202+00:00","affected":[{"ecosystem":"Vendor product","name":"pipeline","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"tektoncd\",\n                    \"product\": \"pipeline\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 0.43.0, < 1.0.2\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \">= 1.2.0, < 1.3.4\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \">= 1.4.0, < 1.6.2\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \">= 1.7.0, < 1.9.3\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \">= 1.10.0, < 1.11.1\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 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,"severity":"MEDIUM"}],"references":["https://github.com/tektoncd/pipeline/security/advisories/GHSA-rmx9-2pp3-xhcr","https://github.com/tektoncd/pipeline/commit/b8905600322aa86327baae0a7c04d6cf1207362a"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-25542","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-25542","identifiers":["CVE-2026-25542"]},"retained":false,"historicalAffected":[]}],"coverage":[]}