# CVE-2026-25542

> Vulnerability · severity: **MEDIUM** (CVSS 6.5).

## Description

Tekton Pipelines project provides k8s-style resources for declaring CI/CD-style pipelines. From 0.43.0 to 1.11.0, 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.

## Key facts

- **CVE ID:** CVE-2026-25542
- **Published:** 2026-04-21
- **CVSS severity:** MEDIUM
- **CVSS base score:** 6.5
- **CWE codes:** CWE-185

## Affected products

- `linuxfoundation:tekton_pipelines`

## Primary sources

- NIST NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-25542

## Citation

> AI Analytics. CVE-2026-25542. Retrieved 2026-07-28 from https://api.ai-analytics.org/cve/CVE-2026-25542. Derived from NIST NVD. Licensed CC0.

---

*[Dataset catalog](https://api.ai-analytics.org/datasets/) · [AI Analytics](https://api.ai-analytics.org/) · CC0 1.0*