{"answers":{"affected":"11 open source packages ship an affected version, including github.com/tektoncd/pipeline. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-25542 in the wild and no public exploit code.","fix":"Upgrade github.com/tektoncd/pipeline to a fixed version for your release line: 1.0.2, 1.3.4, 1.6.2 or 1.9.3.","what":"CVE-2026-25542 is a medium-severity vulnerability in tektoncd pipeline, published on 21 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-25542 and fix it if it is affected.\n\nWhat it is: CVE-2026-25542 is a medium-severity vulnerability in tektoncd pipeline, published on 21 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-25542 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/tektoncd/pipeline (Go): affected from 0.43.0; fixed in 1.0.2, 1.3.4, 1.6.2, 1.9.3, 1.11.1\n- github.com/tektoncd/pipeline (Go): affected from 0.43.0; fixed in 1.0.2\n- github.com/tektoncd/pipeline (Go): affected from 0.43.0; fixed in 1.0.2\n- github.com/tektoncd/pipeline (Go): affected from 1.10.0; fixed in 1.11.1\n- github.com/tektoncd/pipeline (Go): affected from 1.10.0; fixed in 1.11.1\n- github.com/tektoncd/pipeline (Go): affected from 1.2.0; fixed in 1.3.4\n- github.com/tektoncd/pipeline (Go): affected from 1.2.0; fixed in 1.3.4\n- github.com/tektoncd/pipeline (Go): affected from 1.4.0; fixed in 1.6.2\n- github.com/tektoncd/pipeline (Go): affected from 1.4.0; fixed in 1.6.2\n- github.com/tektoncd/pipeline (Go): affected from 1.7.0; fixed in 1.9.3\n- github.com/tektoncd/pipeline (Go): affected from 1.7.0; fixed in 1.9.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-25542/ (Markdown: https://insights.sbomify.com/CVE-2026-25542/index.md)","id":"CVE-2026-25542","markdown":"https://insights.sbomify.com/CVE-2026-25542/index.md","name":"CVE-2026-25542","record":{"aliases":["CLEANSTART-2026-VQ84921","GHSA-rmx9-2pp3-xhcr","GO-2026-5630"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Tekton Pipelines","requires_auth":"low_privilege","summary":"Attackers can bypass trusted resource verification policies in Tekton Pipelines by using substring matching in regex patterns, altering which verification keys apply.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"tekton_pipelines","vendor":"linuxfoundation"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-185","name":"Incorrect Regular Expression"}],"description":"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Tekton Pipelines: VerificationPolicy regex pattern bypass via substring matching","id":"CVE-2026-25542","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"security_feature_bypass","year":"2026"},"n_packages":11,"n_references":2,"next":{"headline":"HtmlSanitizer has a bypass via template tag","id":"CVE-2026-25543"},"packages":[{"ecosystem":"Go","fixed":["1.0.2","1.3.4","1.6.2","1.9.3","1.11.1"],"introduced":["0.43.0","1.1.0","1.4.0","1.7.0","1.10.0"],"last_affected":[],"package":"github.com/tektoncd/pipeline","purl":"pkg:golang/github.com/tektoncd/pipeline","source":"GO-2026-5630"},{"ecosystem":"Go","fixed":["1.0.2"],"introduced":["0.43.0"],"last_affected":[],"package":"github.com/tektoncd/pipeline","purl":null,"source":"GHSA-rmx9-2pp3-xhcr"},{"ecosystem":"Go","fixed":["1.0.2"],"introduced":["0.43.0"],"last_affected":[],"package":"github.com/tektoncd/pipeline","purl":"pkg:golang/github.com/tektoncd/pipeline","source":"GHSA-rmx9-2pp3-xhcr"},{"ecosystem":"Go","fixed":["1.11.1"],"introduced":["1.10.0"],"last_affected":[],"package":"github.com/tektoncd/pipeline","purl":null,"source":"GHSA-rmx9-2pp3-xhcr"},{"ecosystem":"Go","fixed":["1.11.1"],"introduced":["1.10.0"],"last_affected":[],"package":"github.com/tektoncd/pipeline","purl":"pkg:golang/github.com/tektoncd/pipeline","source":"GHSA-rmx9-2pp3-xhcr"},{"ecosystem":"Go","fixed":["1.3.4"],"introduced":["1.2.0"],"last_affected":[],"package":"github.com/tektoncd/pipeline","purl":null,"source":"GHSA-rmx9-2pp3-xhcr"},{"ecosystem":"Go","fixed":["1.3.4"],"introduced":["1.2.0"],"last_affected":[],"package":"github.com/tektoncd/pipeline","purl":"pkg:golang/github.com/tektoncd/pipeline","source":"GHSA-rmx9-2pp3-xhcr"},{"ecosystem":"Go","fixed":["1.6.2"],"introduced":["1.4.0"],"last_affected":[],"package":"github.com/tektoncd/pipeline","purl":null,"source":"GHSA-rmx9-2pp3-xhcr"},{"ecosystem":"Go","fixed":["1.6.2"],"introduced":["1.4.0"],"last_affected":[],"package":"github.com/tektoncd/pipeline","purl":"pkg:golang/github.com/tektoncd/pipeline","source":"GHSA-rmx9-2pp3-xhcr"},{"ecosystem":"Go","fixed":["1.9.3"],"introduced":["1.7.0"],"last_affected":[],"package":"github.com/tektoncd/pipeline","purl":null,"source":"GHSA-rmx9-2pp3-xhcr"},{"ecosystem":"Go","fixed":["1.9.3"],"introduced":["1.7.0"],"last_affected":[],"package":"github.com/tektoncd/pipeline","purl":"pkg:golang/github.com/tektoncd/pipeline","source":"GHSA-rmx9-2pp3-xhcr"}],"prev":{"headline":"Bytes is vulnerable to integer overflow in BytesMut::reserve","id":"CVE-2026-25541"},"products":["pipeline"],"published":"2026-04-21","related":[{"cvss_score":9.6,"headline":"Tekton Pipelines git resolver has path traversal that allows reading arbitrary files from the resolver pod","id":"CVE-2026-33211","kev_date_added":null,"published":"2026-03-23"},{"cvss_score":7.7,"headline":"Tekton Pipelines: Git resolver API mode leaks system-configured API token to user-controlled serverURL","id":"CVE-2026-40161","kev_date_added":null,"published":"2026-04-21"},{"cvss_score":7.5,"headline":"Tekton Pipelines: Git Resolver Unsanitized Revision Parameter Enables git Argument Injection Leading to RCE","id":"CVE-2026-40938","kev_date_added":null,"published":"2026-04-21"},{"cvss_score":6.5,"headline":"Tekton Pipelines: HTTP Resolver Unbounded Response Body Read Enables Denial of Service via Memory Exhaustion","id":"CVE-2026-40924","kev_date_added":null,"published":"2026-04-21"},{"cvss_score":6.5,"headline":"Tekton Pipelines: Controller can panic when setting long resolver names in TaskRun/PipelineRun","id":"CVE-2026-33022","kev_date_added":null,"published":"2026-03-20"},{"cvss_score":5.4,"headline":"Tekton Pipelines: VolumeMount path restriction bypass via missing filepath.Clean in /tekton/ check","id":"CVE-2026-40923","kev_date_added":null,"published":"2026-04-21"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-22","vendors":["tektoncd"]},"summary":"Attackers can bypass trusted resource verification policies in Tekton Pipelines by using substring matching in regex patterns, altering which verification keys apply.","url":"https://insights.sbomify.com/CVE-2026-25542/"}