{"answers":{"affected":"9 open source packages ship an affected version, including github.com/openshift-pipelines/pipelines-as-code.","exploited":"There is no known exploitation of CVE-2026-54167 in the wild and no public exploit code.","fix":"Upgrade github.com/openshift-pipelines/pipelines-as-code to a fixed version for your release line: 0.37.8, 0.39.6, 0.42.1 or 0.48.0.","what":"CVE-2026-54167 is a high-severity server-side request forgery vulnerability in tektoncd pipelines-as-code, published on 15 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-54167 and fix it if it is affected.\n\nWhat it is: CVE-2026-54167 is a high-severity server-side request forgery vulnerability in tektoncd pipelines-as-code, published on 15 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-54167 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/openshift-pipelines/pipelines-as-code (Go): affected all versions; fixed in 0.37.8, 0.39.6, 0.42.1, 0.48.0\n- github.com/openshift-pipelines/pipelines-as-code (Go): affected all versions; fixed in 0.37.8\n- github.com/openshift-pipelines/pipelines-as-code (Go): affected all versions; fixed in 0.37.8\n- github.com/openshift-pipelines/pipelines-as-code (Go): affected from 0.38.0; fixed in 0.39.6\n- github.com/openshift-pipelines/pipelines-as-code (Go): affected from 0.38.0; fixed in 0.39.6\n- github.com/openshift-pipelines/pipelines-as-code (Go): affected from 0.40.0; fixed in 0.42.1\n- github.com/openshift-pipelines/pipelines-as-code (Go): affected from 0.40.0; fixed in 0.42.1\n- github.com/openshift-pipelines/pipelines-as-code (Go): affected from 0.43.0; fixed in 0.48.0\n- github.com/openshift-pipelines/pipelines-as-code (Go): affected from 0.43.0; fixed in 0.48.0\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-54167/ (Markdown: https://insights.sbomify.com/CVE-2026-54167/index.md)","id":"CVE-2026-54167","markdown":"https://insights.sbomify.com/CVE-2026-54167/index.md","name":"CVE-2026-54167","record":{"aliases":["GHSA-f5f4-3hh4-f54m","GO-2026-6266"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Tekton CI/CD system","requires_auth":"none","summary":"An attacker can redirect GitHub App token requests to a malicious host via the Enterprise Host header, potentially exposing JWTs for token minting.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.2,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"}],"description":"Pipelines-as-Code is a CI/CD system that lets users define Tekton pipelines in source code repositories. Prior to 0.37.8, 0.39.6, 0.42.1, and 0.48.0, the GitHub App provider accepts X-GitHub-Enterprise-Host as the API host while processing webhook events containing an installation.id, before webhook signature validation or confirmation that the host matches the repository URL in the signed payload. An unauthenticated attacker who can reach the webhook endpoint can select an attacker-controlled host and cause the controller to send a locally signed GitHub App JWT to that service. The exposed JWT may be used to attempt to mint installation access tokens during its validity window, subject to the GitHub App installation and permissions. The incoming webhook installation-lookup path is also affected, but exploitation of that path requires the valid incoming webhook secret for the target Repository CR. This issue is fixed in versions 0.37.8, 0.39.6, 0.42.1, and 0.48.0.","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":"Pipelines-as-Code GitHub App token request can be redirected via untrusted Enterprise Host header","id":"CVE-2026-54167","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"ssrf","year":"2026"},"n_packages":9,"n_references":9,"next":{"headline":"Tekton Pipelines-as-Code: Unscoped GitHub App installation token allows unauthorized access to private repositories via remote task resolution","id":"CVE-2026-54168"},"packages":[{"ecosystem":"Go","fixed":["0.37.8","0.39.6","0.42.1","0.48.0"],"introduced":["0","0.38.0","0.40.0","0.43.0"],"last_affected":[],"package":"github.com/openshift-pipelines/pipelines-as-code","purl":"pkg:golang/github.com/openshift-pipelines/pipelines-as-code","source":"GO-2026-6266"},{"ecosystem":"Go","fixed":["0.37.8"],"introduced":["0"],"last_affected":[],"package":"github.com/openshift-pipelines/pipelines-as-code","purl":null,"source":"GHSA-f5f4-3hh4-f54m"},{"ecosystem":"Go","fixed":["0.37.8"],"introduced":["0"],"last_affected":[],"package":"github.com/openshift-pipelines/pipelines-as-code","purl":"pkg:golang/github.com/openshift-pipelines/pipelines-as-code","source":"GHSA-f5f4-3hh4-f54m"},{"ecosystem":"Go","fixed":["0.39.6"],"introduced":["0.38.0"],"last_affected":[],"package":"github.com/openshift-pipelines/pipelines-as-code","purl":null,"source":"GHSA-f5f4-3hh4-f54m"},{"ecosystem":"Go","fixed":["0.39.6"],"introduced":["0.38.0"],"last_affected":[],"package":"github.com/openshift-pipelines/pipelines-as-code","purl":"pkg:golang/github.com/openshift-pipelines/pipelines-as-code","source":"GHSA-f5f4-3hh4-f54m"},{"ecosystem":"Go","fixed":["0.42.1"],"introduced":["0.40.0"],"last_affected":[],"package":"github.com/openshift-pipelines/pipelines-as-code","purl":null,"source":"GHSA-f5f4-3hh4-f54m"},{"ecosystem":"Go","fixed":["0.42.1"],"introduced":["0.40.0"],"last_affected":[],"package":"github.com/openshift-pipelines/pipelines-as-code","purl":"pkg:golang/github.com/openshift-pipelines/pipelines-as-code","source":"GHSA-f5f4-3hh4-f54m"},{"ecosystem":"Go","fixed":["0.48.0"],"introduced":["0.43.0"],"last_affected":[],"package":"github.com/openshift-pipelines/pipelines-as-code","purl":null,"source":"GHSA-f5f4-3hh4-f54m"},{"ecosystem":"Go","fixed":["0.48.0"],"introduced":["0.43.0"],"last_affected":[],"package":"github.com/openshift-pipelines/pipelines-as-code","purl":"pkg:golang/github.com/openshift-pipelines/pipelines-as-code","source":"GHSA-f5f4-3hh4-f54m"}],"prev":{"headline":"Shelf Vulnerable to Server-Side Request Forgery (SSRF) via Asset CSV Import imageUrl Validation Bypass","id":"CVE-2026-54166"},"products":["pipelines-as-code"],"published":"2026-09-15","related":[],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-15","vendors":["tektoncd"]},"summary":"An attacker can redirect GitHub App token requests to a malicious host via the Enterprise Host header, potentially exposing JWTs for token minting.","url":"https://insights.sbomify.com/CVE-2026-54167/"}