Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate to Kubernetes cluster
-
DeliveryCreate malicious pipeline resource with crafted refSource.URI
-
ExploitSubmit resource containing trusted pattern as substring
-
InstallRegex engine matches unanchored pattern
-
C2System applies trusted verification mode
-
ExecuteInject unsigned or malicious code
-
ImpactPipeline 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
More in Kubernetes
View allA critical vulnerability in Kubernetes ingress-nginx controller allows unauthenticated attackers with pod network access
Credential-harvesting malware compromised 84 versions of 42 TanStack npm packages on 2026-05-11 via chained GitHub Actio
Kubernetes ingress-nginx contains a configuration injection vulnerability via the mirror-target and mirror-host Ingress
A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-url` Ingres
A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-tls-match-c
Kubernetes API server in all versions allow an attacker who is able to create a ClusterIP service and set the spec.exter
A security issue was discovered in Kubernetes where a user that can create pods on Windows nodes may be able to escalate
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Rated critical severity (CVSS 9.9), this vulne
Unauthenticated remote attackers can trigger complete database overwrites, server-side file reads, and SSRF attacks agai
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
Fluentd configuration injection in the kube-logging Logging operator before 6.6.0 allows a namespace-scoped user who can
Authenticated Typebot users can abuse the webhook block (HTTP Request component) in versions prior to 3.13.1 to issue ar
EUVD-2026-24151
GHSA-rmx9-2pp3-xhcr
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB