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 · GitHub Advisory
Share

Severity by source

GitHub Advisory PRIMARY
6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
SUSE
MEDIUM
qualitative
Red Hat
6.5 MEDIUM
qualitative

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

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

Lifecycle Timeline

5
Patch released
Apr 21, 2026 - 20:30 nvd
Patch available
Analysis Generated
Apr 21, 2026 - 16:59 vuln.today
EUVD ID Assigned
Apr 21, 2026 - 16:30 euvd
EUVD-2026-24151
Analysis Generated
Apr 21, 2026 - 16:30 vuln.today
CVE Published
Apr 21, 2026 - 16:05 nvd
MEDIUM 6.5

DescriptionGitHub Advisory

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.

AnalysisAI

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.

Technical ContextAI

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.

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.

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-2026-22039 CRITICAL POC
9.9 Jan 27

Kyverno Kubernetes policy engine prior to 1.x has a privilege escalation vulnerability (CVSS 9.9) allowing policy bypass

Vendor StatusVendor

SUSE

Severity: Medium

Share

CVE-2026-25542 vulnerability details – vuln.today

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