Skip to main content

Tekton Pipelines CVE-2026-25542

| EUVDEUVD-2026-24151 MEDIUM
Incorrect Regular Expression (CWE-185)
2026-04-21 GitHub_M GHSA-rmx9-2pp3-xhcr
6.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Authenticate to Kubernetes cluster
  2. Delivery
    Create malicious pipeline resource with crafted refSource.URI
  3. Exploit
    Submit resource containing trusted pattern as substring
  4. Install
    Regex engine matches unanchored pattern
  5. C2
    System applies trusted verification mode
  6. Execute
    Inject unsigned or malicious code
  7. Impact
    Pipeline executes with elevated privileges

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Incorrect input validation
Exploitation Conditions

Exploitation requires all of the following: (1) the attacker must have authenticated access to a Kubernetes cluster running vulnerable Tekton Pipelines (PR:L per CVSS), (2) the target organization must have configured trusted resource verification policies using spec.resources[].pattern with unanchored regular expressions (this is the default behavior encouraged by documentation examples), and (3) the attacker must have the ability to create or modify Tekton Pipeline resources (typical PipelineRun or Task definitions) with attacker-controlled refSource.URI values. If the cluster administrator has explicitly anchored all patterns with ^ and $ delimiters despite Tekton's unanchored defaults, or has disabled trusted resource verification entirely, the vulnerability cannot be exploited. Non-default configurations that restrict pipeline resource creation to only a curated list of signed resources or that bypass the regex matching entirely in favor of exact-string comparison would also prevent exploitation.

Impact

CVSS 6.5 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N) indicates network-accessible, low-complexity exploitation requiring low authentication privileges with no user interaction, achieving high integrity impact within the same security scope. The vulnerability requires an authenticated attacker (PR:L) with ability to submit or control pipeline resources to the Kubernetes cluster. While CVSS indicates moderate risk, the integrity impact (I:H) is significant: successful exploitation allows an attacker to bypass verification policies and inject unverified or maliciously-signed pipeline code that the system treats as trusted. EPSS score and KEV status are not provided; however, the technical nature of the flaw-a direct bypass of a security-critical validation mechanism-combined with the low exploitation complexity and the fact that vulnerable versions span a wide range (0.43.0-1.11.0) across multiple Tekton releases, suggests this poses a real risk to any organization relying on Tekton's trusted resources verification for CI/CD security. The attack requires cluster access and authentication, limiting exposure to internal threat actors or compromised accounts; however, in multi-tenant Kubernetes environments or scenarios where untrusted developers have pipeline deployment rights, the risk escalates significantly. Defenders should not dismiss this as low-risk despite the authentication requirement, because the consequence-policy bypass enabling code injection into CI/CD pipelines-can have severe downstream impact on build integrity and artifact supply chain security.

Exploit ScenarioDerived

An authenticated attacker with Kubernetes API access submits a malicious Tekton pipeline resource that references an attacker-controlled source URI constructed as 'https://attacker.com/trusted-pattern-substring-here/malicious-code'. The trusted resource verification policy contains an unanchored pattern such as 'trusted-pattern-substring' (common in documentation examples). Tekton's verification engine calls regexp.MatchString(pattern, refSource.URI), which matches because the trusted pattern exists as a substring within the attacker's URI. The system incorrectly classifies the malicious pipeline as trusted and applies weak or no signature verification, allowing the attacker's unsigned or self-signed code to execute within the CI/CD pipeline with elevated privileges.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 21, 2026

Tekton Pipelines 0.43.0 through 1.11.0 allows authenticated attackers to bypass trusted resource verification policies via unanchored regular expression patterns that match substrings rather than exact resource sources, enabling policy manipulation and unauthorized verification mode changes. The vulnerability stems from Go's regexp.MatchString function matching patterns anywhere within a string rather than requiring full anchoring, permitting attackers to craft source URIs containing trusted patterns as substrings to trigger unintended policy matches and potentially apply weaker verification keys or modes.

RemediationAI

Upgrade Tekton Pipelines to version 1.12.0 or later, which includes the fix for unanchored regex matching in trusted resource verification policies. The upstream fix (GitHub commit b8905600322aa86327baae0a7c04d6cf1207362a) addresses the root cause by properly anchoring regex patterns during verification. There is no workaround available for versions prior to 1.12.0 that remains deployed; however, defenders can implement a compensating control by manually reviewing and explicitly anchoring all patterns in spec.resources[].pattern with ^ and $ delimiters to prevent substring matching. This control has a trade-off: operators must audit and update all existing pipeline policy definitions, a potentially labor-intensive task in large deployments. Additionally, restrict cluster-wide pipeline deployment permissions to trusted administrators only and implement image scanning and provenance verification tools downstream of the pipeline to catch injected unsigned artifacts even if Tekton's verification is bypassed. See the official advisory at https://github.com/tektoncd/pipeline/security/advisories/GHSA-rmx9-2pp3-xhcr for additional context and guidance on policy re-anchoring.

Affected VersionsENISA

pipeline 0.43.0, ≤ 1.11.0

Affected Packages

go github.com/tektoncd/pipeline fix: 1.0.2, 1.3.4, 1.6.2, 1.9.3, 1.11.1
euvd pipeline_0_43_0 no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Tekton Pipelines uses Kubernetes-style resources to declare CI/CD pipelines. The trusted resources verification system enforces security policies by matching a resource source URI (refSource.URI) against configured patterns in spec.resources[].pattern using Go's regexp.MatchString function. The vulnerability arises from a fundamental regex matching semantic: regexp.MatchString returns true if the pattern matches anywhere in the target string, not just at anchored boundaries. Common documentation examples and user-provided patterns typically lack anchors (^ and $), allowing attackers to construct source URIs that contain the trusted pattern as a substring while including additional attacker-controlled content. This causes the verification system to incorrectly match malicious resources against trusted patterns, altering which cryptographic keys or verification modes apply to the resource validation process. The root cause maps to CWE-185 (Incorrect Regular Expression), a classification for regex logic flaws that fail to properly validate input due to improper pattern construction or usage.

Know when Kubernetes gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
SUSE MEDIUM
Red Hat 6.5 MEDIUM

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch released
Apr 21, 2026 - 20:30 nvd
Patch available
CVE Published
Apr 21, 2026 - 16:05 nvd
MEDIUM 6.5

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2025-1974 CRITICAL POC
9.8 Mar 25

A critical vulnerability in Kubernetes ingress-nginx controller allows unauthenticated attackers with pod network access

CVE-2026-45321 CRITICAL POC
9.6 May 12

Credential-harvesting malware compromised 84 versions of 42 TanStack npm packages on 2026-05-11 via chained GitHub Actio

CVE-2025-1098 HIGH POC
8.8 Mar 25

Kubernetes ingress-nginx contains a configuration injection vulnerability via the mirror-target and mirror-host Ingress

CVE-2025-24514 HIGH POC
8.8 Mar 25

A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-url` Ingres

CVE-2025-1097 HIGH POC
8.8 Mar 25

A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-tls-match-c

CVE-2020-8554 MEDIUM POC
6.3 Jan 21

Kubernetes API server in all versions allow an attacker who is able to create a ClusterIP service and set the spec.exter

CVE-2023-3676 HIGH POC
8.8 Oct 31

A security issue was discovered in Kubernetes where a user that can create pods on Windows nodes may be able to escalate

CVE-2025-55190 CRITICAL POC
9.9 Sep 04

Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Rated critical severity (CVSS 9.9), this vulne

CVE-2026-34976 CRITICAL POC
10.0 Apr 02

Unauthenticated remote attackers can trigger complete database overwrites, server-side file reads, and SSRF attacks agai

CVE-2018-18843 CRITICAL POC
10.0 Dec 04

The Kubernetes integration in GitLab Enterprise Edition 11.x before 11.2.8, 11.3.x before 11.3.9, and 11.4.x before 11.4

CVE-2026-54680 CRITICAL POC
9.9 Jul 29

Fluentd configuration injection in the kube-logging Logging operator before 6.6.0 allows a namespace-scoped user who can

CVE-2025-64709 CRITICAL POC
9.9 Nov 13

Authenticated Typebot users can abuse the webhook block (HTTP Request component) in versions prior to 3.13.1 to issue ar

Vendor StatusVendor

SUSE

Severity: Medium

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy