CVE-2026-25542: CWE-185: Incorrect Regular Expression in tektoncd pipeline
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.
AI Analysis
Technical Summary
Tekton Pipelines uses Go's regexp.MatchString function to verify trusted resources by matching a resource source string against configured patterns. Because regexp.MatchString returns true if the pattern matches anywhere in the string, unanchored patterns can be bypassed by crafted source strings containing the pattern as a substring. This leads to unintended policy matches that may change the verification mode or keys applied to resources. The vulnerability affects multiple version ranges before fixed releases 1.0.2, 1.3.4, 1.6.2, 1.9.3, and 1.11.1, which address this issue.
Potential Impact
An attacker controlling resource source strings can bypass trusted resource verification policies by exploiting the unanchored regular expression matching. This can cause the system to apply incorrect verification modes or keys, potentially allowing unauthorized or malicious resources to be treated as trusted. The CVSS score of 6.5 reflects a medium severity with no confidentiality or availability impact but a high integrity impact. No known exploits in the wild have been reported.
Mitigation Recommendations
Fixed versions 1.0.2, 1.3.4, 1.6.2, 1.9.3, and 1.11.1 of Tekton Pipelines address this vulnerability. Users should upgrade to one of these versions or later to remediate the issue. Patch status is not explicitly stated beyond these fixed versions; therefore, verify with the vendor advisory for the latest remediation guidance. No alternative mitigations are indicated in the advisory.
CVE-2026-25542: CWE-185: Incorrect Regular Expression in tektoncd pipeline
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.
CVSS v3.1
Score 6.5medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Tekton Pipelines uses Go's regexp.MatchString function to verify trusted resources by matching a resource source string against configured patterns. Because regexp.MatchString returns true if the pattern matches anywhere in the string, unanchored patterns can be bypassed by crafted source strings containing the pattern as a substring. This leads to unintended policy matches that may change the verification mode or keys applied to resources. The vulnerability affects multiple version ranges before fixed releases 1.0.2, 1.3.4, 1.6.2, 1.9.3, and 1.11.1, which address this issue.
Potential Impact
An attacker controlling resource source strings can bypass trusted resource verification policies by exploiting the unanchored regular expression matching. This can cause the system to apply incorrect verification modes or keys, potentially allowing unauthorized or malicious resources to be treated as trusted. The CVSS score of 6.5 reflects a medium severity with no confidentiality or availability impact but a high integrity impact. No known exploits in the wild have been reported.
Mitigation Recommendations
Fixed versions 1.0.2, 1.3.4, 1.6.2, 1.9.3, and 1.11.1 of Tekton Pipelines address this vulnerability. Users should upgrade to one of these versions or later to remediate the issue. Patch status is not explicitly stated beyond these fixed versions; therefore, verify with the vendor advisory for the latest remediation guidance. No alternative mitigations are indicated in the advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-02-02T19:59:47.375Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e7a64f19fe3cd2cde569b8
Added to database: 4/21/2026, 4:31:11 PM
Last enriched: 5/23/2026, 6:15:15 AM
Last updated: 6/4/2026, 5:44:07 PM
Views: 47
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.