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…

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. 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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/21/2026, 16:47:20 UTC

Technical Analysis

Tekton Pipelines uses regexp.MatchString to verify trusted resource sources against configured patterns. Because regexp.MatchString returns true if the pattern matches anywhere in the string, unanchored patterns can be bypassed by attacker-controlled source strings that embed the trusted pattern as a substring. This incorrect regular expression usage (CWE-185) can cause unintended policy matches, potentially altering which verification mode or keys are applied to resources. Affected versions are from 0.43.0 up to and including 1.11.0. The vulnerability was published on 2026-04-21 with a CVSS 3.1 score of 6.5 (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N). No patch or remediation level is currently documented.

Potential Impact

The vulnerability allows an attacker with some level of privilege (PR:L) to bypass trusted resource verification policies by crafting source strings that contain the trusted pattern as a substring, causing unintended policy matches. This can lead to the application of incorrect verification modes or keys, potentially enabling integrity verification bypass or unauthorized resource acceptance. There is no direct confidentiality or availability impact reported. No known exploits have been observed in the wild.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should review and tighten their regular expression patterns to ensure anchoring and avoid unintentional substring matches. Avoid relying on unanchored patterns for critical verification policies. Monitor official Tekton Pipelines communications for updates on patches or recommended fixes.

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: 4/21/2026, 4:47:20 PM

Last updated: 4/22/2026, 7:16:49 AM

Views: 9

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