Trusted-source policy bypass via substring regex matching
Published Apr 21, 2026 · Updated Apr 21, 2026
Incorrect regular-expression matching in Tekton Pipelines allows remote authenticated users to bypass trusted-source policy selection. The getMatchedPolicies function passes refSource.URI and each VerificationPolicy resource pattern to regexp.MatchString without enforcing a full-string match, so a malicious URI containing a trusted pattern is accepted. Exploitation requires permission to influence the resolved source URI and a deployment using unanchored patterns; a match can select unintended verification modes or keys and undermine pipeline-resource integrity.
Summary
What happened
Incorrect regular-expression matching in Tekton Pipelines allows remote authenticated users to bypass trusted-source policy selection. The getMatchedPolicies function passes refSource.URI and each VerificationPolicy resource pattern to regexp.MatchString without enforcing a full-string match, so a malicious URI containing a trusted pattern is accepted. Exploitation requires permission to influence the resolved source URI and a deployment using unanchored patterns; a match can select unintended verification modes or keys and undermine pipeline-resource integrity.
The record
- CVE
- CVE-2026-25542
- Published
- Apr 21, 2026
- Updated
- Apr 21, 2026
- Vendor
- Tekton
- Product
- Tekton Pipelines
- Classifications
- CWE-185, T1553.002
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 21, 2026CVE publishedPublication date reported by the CVE source.
- Apr 21, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 0.43.0, <= 1.11.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- VerificationPolicy regex bypass canonical proof bundleproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo