# CVE-2026-25542: Tekton Pipelines: VerificationPolicy regex pattern bypass via substring matching

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 21% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-21T16:05:43.217Z
- Modified: 2026-10-26T22:10:00.163Z
- Also known as: GHSA-rmx9-2pp3-xhcr, GO-2026-5630
- Weaknesses: CWE-185
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- tektoncd pipeline: >= 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
- github.com/tektoncd/pipeline (Go): from 0.43.0 before 1.0.2; from 1.2.0 before 1.3.4; from 1.4.0 before 1.6.2; from 1.7.0 before 1.9.3; from 1.10.0 before 1.11.1; from 1.1.0 before 1.3.4
- linuxfoundation tekton_pipelines: from 0.43.0 before 1.11.0

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/tektoncd/pipeline/security/advisories/GHSA-rmx9-2pp3-xhcr> (exploit, advisory, vendor-advisory, web)
- <https://github.com/tektoncd/pipeline/commit/b8905600322aa86327baae0a7c04d6cf1207362a> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-25542> (advisory)
- <https://github.com/tektoncd/pipeline/commit/2c398711e6e9e232180508f0648425a8ea34dc9e> (fix, web)
- <https://github.com/tektoncd/pipeline> (package)
- <https://github.com/tektoncd/pipeline/releases/tag/v1.11.0> (web)

## Sources

- CVE List: [CVE-2026-25542](https://www.cve.org/CVERecord?id=CVE-2026-25542), CVE Terms of Use, modified 2026-05-22
- GitHub Advisory Database: [GHSA-rmx9-2pp3-xhcr](https://github.com/advisories/GHSA-rmx9-2pp3-xhcr), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2026-5630](https://pkg.go.dev/vuln/GO-2026-5630), CC-BY-4.0, modified 2026-07-23
- NVD: [CVE-2026-25542](https://nvd.nist.gov/vuln/detail/CVE-2026-25542), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-25542 · Whole record: https://cve.day/CVE-2026-25542.json · Rebuilt by cve.day 2026-11-25T22:59:19.111Z
