cve.bz

CVE-2026-25542 linuxfoundation tekton pipelines: Incorrect Regular Expression

6.5 mediumExploit referenceEPSS 0.3%Fix available

Medium (6.5) in linuxfoundation tekton pipelines. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/tektoncd/pipeline 1.0.2, 1.11.1, 1.3.4.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 20th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-04-21. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-185 Incorrect Regular Expression
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-25542 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-25542?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-25542?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-25542 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linuxfoundation:tekton_pipelinesfrom 0.43.0 before 1.11.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-rmx9-2pp3-xhcrGogithub.com/tektoncd/pipeline>=0.43.0 <1.0.21.0.2
GHSA-rmx9-2pp3-xhcrGogithub.com/tektoncd/pipeline>=1.2.0 <1.3.41.3.4
GHSA-rmx9-2pp3-xhcrGogithub.com/tektoncd/pipeline>=1.4.0 <1.6.21.6.2
GHSA-rmx9-2pp3-xhcrGogithub.com/tektoncd/pipeline>=1.7.0 <1.9.31.9.3
GHSA-rmx9-2pp3-xhcrGogithub.com/tektoncd/pipeline>=1.10.0 <1.11.11.11.1
GO-2026-5630Gogithub.com/tektoncd/pipeline>=0.43.0 <1.0.2
>=1.1.0 <1.3.4
>=1.4.0 <1.6.2
>=1.7.0 <1.9.3
>=1.10.0 <1.11.1
1.0.2, 1.3.4, 1.6.2, 1.9.3, 1.11.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
openSUSELeap 16.0govulncheck-vulndb0.0.20260723T184607-160000.1.1openSUSE-SU-2026:21483-1

From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A Moderate security bypass flaw exists in Tekton Pipelines, impacting Red Hat products utilizing Tekton for CI/CD operations. An attacker can bypass trusted resource verification policies by crafting a malicious source string that exploits the `regexp.MatchString` function's behavior of matching patterns anywhere within a string. This can lead to unintended policy matches, potentially compromising the integrity of CI/CD pipelines in affected OpenShift Virtualization, Konflux, OpenShift Builds, Hosted OpenShift Clusters, OpenShift Pipelines, Red Hat OpenShift AI, Red Hat Trusted Artifact Signer, and OpenShift Serverless deployments.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-controller-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-git-cloner-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-image-bundler-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-image-processing-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-rhel9-operatorFix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-waiters-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-webhook-rhel9Fix deferred
OpenShift Lightspeedopenshift-lightspeed/openshift-mcp-server-rhel9Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-chains-controller-rhel8Fix deferred
OpenShift Pipelinesopenshift-pipelines/pipelines-chains-controller-rhel9Fix deferred
OpenShift Pipelinesopenshift-pipelines/pipelines-cli-tkn-rhel8Fix deferred
OpenShift Pipelinesopenshift-pipelines/pipelines-cli-tkn-rhel9Fix deferred
OpenShift Pipelinesopenshift-pipelines/pipelines-controller-rhel8Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-controller-rhel9Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-entrypoint-rhel8Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-entrypoint-rhel9Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-events-rhel8Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-events-rhel9Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-git-init-rhel8Fix deferred
OpenShift Pipelinesopenshift-pipelines/pipelines-git-init-rhel9Fix deferred
54 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-25542.

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON