{"cve":"CVE-2026-54168","nvd":{"published":"2026-09-15T15:17:17.887","modified":"2026-09-30T17:43:24.057","status":"Awaiting Analysis","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5},"cwes":["CWE-269","CWE-862"],"references":["https://github.com/tektoncd/pipelines-as-code/commit/001782829e82b83ecb3da903f5a024ca0826b64c","https://github.com/tektoncd/pipelines-as-code/commit/40813976a77920feaf52671320d6d3c5ff08eb7e","https://github.com/tektoncd/pipelines-as-code/commit/ac6fded6dfb69ade7197d4eeed6e90ddbe1b79bc","https://github.com/tektoncd/pipelines-as-code/commit/e0c4a11ea3800ab9d26cf3a8ae92b74cf18527c3","https://github.com/tektoncd/pipelines-as-code/releases/tag/v0.37.8"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:53:43.293028046+00:00"},"epss":{"cve":"CVE-2026-54168","score":0.00587,"percentile":0.47779,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-6f2p-296r-cc28","url":"https://osv.dev/vulnerability/GHSA-6f2p-296r-cc28","summary":"Tekton Pipelines-as-Code: Unscoped GitHub App installation token allows unauthorized access to private repositories via remote task resolution","modified":"2026-09-10T03:51:13.112551358Z","packages":[{"ecosystem":"Go","name":"github.com/openshift-pipelines/pipelines-as-code","purl":"pkg:golang/github.com/openshift-pipelines/pipelines-as-code","ranges":["<0.37.8"],"fixed":["0.37.8"]},{"ecosystem":"Go","name":"github.com/openshift-pipelines/pipelines-as-code","purl":"pkg:golang/github.com/openshift-pipelines/pipelines-as-code","ranges":[">=0.38.0 <0.39.6"],"fixed":["0.39.6"]},{"ecosystem":"Go","name":"github.com/openshift-pipelines/pipelines-as-code","purl":"pkg:golang/github.com/openshift-pipelines/pipelines-as-code","ranges":[">=0.40.0 <0.42.1"],"fixed":["0.42.1"]},{"ecosystem":"Go","name":"github.com/openshift-pipelines/pipelines-as-code","purl":"pkg:golang/github.com/openshift-pipelines/pipelines-as-code","ranges":[">=0.43.0 <0.48.0"],"fixed":["0.48.0"]}]},{"id":"GO-2026-6263","url":"https://osv.dev/vulnerability/GO-2026-6263","summary":"Tekton Pipelines-as-Code: Unscoped GitHub App installation token allows unauthorized access to private repositories via remote task resolution in github.com/openshift-pipelines/pipelines-as-code","modified":"2026-08-26T01:21:30.248528398Z","packages":[{"ecosystem":"Go","name":"github.com/openshift-pipelines/pipelines-as-code","purl":"pkg:golang/github.com/openshift-pipelines/pipelines-as-code","ranges":["<0.37.8",">=0.38.0 <0.39.6",">=0.40.0 <0.42.1",">=0.43.0 <0.48.0"],"fixed":["0.37.8","0.39.6","0.42.1","0.48.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}