CVE-2026-25542
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.
Weakness
- CWE-185: Incorrect Regular Expression
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-04-21 |
Timeline
- 2026-04-21Published by the CNA16:05 UTC
- 2026-04-21GitHub advisory published (GHSA-rmx9-2pp3-xhcr)same day
- 2026-04-21CISA SSVC decision recordedsame day
Exploit and advisory records
GitHub advisory GHSA-rmx9-2pp3-xhcr, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Go github.com/tektoncd/pipeline | from 0.43.0 before 1.0.2 | 1.0.2 |
| Go github.com/tektoncd/pipeline | from 1.10.0 before 1.11.1 | 1.11.1 |
| Go github.com/tektoncd/pipeline | from 1.2.0 before 1.3.4 | 1.3.4 |
| Go github.com/tektoncd/pipeline | from 1.4.0 before 1.6.2 | 1.6.2 |
| Go github.com/tektoncd/pipeline | from 1.7.0 before 1.9.3 | 1.9.3 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| linuxfoundation tekton_pipelines | from 0.43.0 before 1.11.0fixed in 1.11.0 | 1.11.0 |
References
- https://github.com/tektoncd/pipeline/commit/b8905600322aa86327baae0a7c04d6cf1207362a
- https://github.com/tektoncd/pipeline/security/advisories/GHSA-rmx9-2pp3-xhcr
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-25542'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-25542'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-25542'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-25542'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).