Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.0%top 88%

CVE-2026-25542: CWE-185: Incorrect Regular Expression in tektoncd pipeline

0
Medium
VulnerabilityCVE-2026-25542cvecve-2026-25542cwe-185
Published: Tue Apr 21 2026 (04/21/2026, 16:05:43 UTC)
Source: CVE Database V5
Vendor/Project: tektoncd
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/23/2026, 06:15:15 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses