{"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-54168 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-54168 is a medium-severity missing authorization vulnerability in tektoncd pipelines-as-code, published on 15 Sep 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-54168 and fix it if it is affected.\n\nWhat it is: CVE-2026-54168 is a medium-severity missing authorization vulnerability in tektoncd pipelines-as-code, published on 15 Sep 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-54168 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-54168/ (Markdown: https://insights.sbomify.com/CVE-2026-54168/index.md)","id":"CVE-2026-54168","markdown":"https://insights.sbomify.com/CVE-2026-54168/index.md","name":"CVE-2026-54168","record":{"aliases":["GHSA-6f2p-296r-cc28","GO-2026-6263"],"analysis":{"component_type":"cloud_service","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"Tekton CI/CD system","requires_auth":"low_privilege","summary":"Attackers with push access to one repository can read private Tekton definitions from other repositories in the same GitHub App installation due to unscoped tokens.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"},{"id":"CWE-269","name":"Improper Privilege Management"}],"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, a GitHub App installation token created during webhook processing is not scoped to the repository that triggered the event when the App is installed across multiple repositories. A user with push access to one repository can submit a PipelineRun containing a pipelinesascode.tekton.dev/task remote task annotation that targets a private repository in the same installation. When ScopeTokenToListOfRepos returns no explicit scope, the missing triggering repository ID leaves the token able to access the entire installation. Pipelines-as-Code resolves and inlines the remote private task with that token, disclosing the repository's Tekton definitions. The demonstrated impact is read-only and does not provide write access. 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":"Tekton Pipelines-as-Code: Unscoped GitHub App installation token allows unauthorized access to private repositories via remote task resolution","id":"CVE-2026-54168","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"missing_authorization","year":"2026"},"n_packages":9,"n_references":9,"next":{"headline":"Excon: redact additional sensitive/risky headers when following redirects","id":"CVE-2026-54171"},"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-6263"},{"ecosystem":"Go","fixed":["0.37.8"],"introduced":["0"],"last_affected":[],"package":"github.com/openshift-pipelines/pipelines-as-code","purl":null,"source":"GHSA-6f2p-296r-cc28"},{"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-6f2p-296r-cc28"},{"ecosystem":"Go","fixed":["0.39.6"],"introduced":["0.38.0"],"last_affected":[],"package":"github.com/openshift-pipelines/pipelines-as-code","purl":null,"source":"GHSA-6f2p-296r-cc28"},{"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-6f2p-296r-cc28"},{"ecosystem":"Go","fixed":["0.42.1"],"introduced":["0.40.0"],"last_affected":[],"package":"github.com/openshift-pipelines/pipelines-as-code","purl":null,"source":"GHSA-6f2p-296r-cc28"},{"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-6f2p-296r-cc28"},{"ecosystem":"Go","fixed":["0.48.0"],"introduced":["0.43.0"],"last_affected":[],"package":"github.com/openshift-pipelines/pipelines-as-code","purl":null,"source":"GHSA-6f2p-296r-cc28"},{"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-6f2p-296r-cc28"}],"prev":{"headline":"Pipelines-as-Code GitHub App token request can be redirected via untrusted Enterprise Host header","id":"CVE-2026-54167"},"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-17","vendors":["tektoncd"]},"summary":"Attackers with push access to one repository can read private Tekton definitions from other repositories in the same GitHub App installation due to unscoped tokens.","url":"https://insights.sbomify.com/CVE-2026-54168/"}