{"id":"CVE-2026-54168","summary":"Pipelines-as-Code: Unscoped GitHub App installation token allows unauthorized access to private repositories via remote task resolution","details":"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.","aliases":["GHSA-6f2p-296r-cc28","GO-2026-6263"],"modified":"2026-09-18T03:30:27.523070875Z","published":"2026-09-15T14:27:44.344Z","related":["openSUSE-SU-2026:21761-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54168.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-269","CWE-862"]},"references":[{"type":"WEB","url":"https://github.com/tektoncd/pipelines-as-code/releases/tag/v0.37.8"},{"type":"WEB","url":"https://github.com/tektoncd/pipelines-as-code/releases/tag/v0.39.6"},{"type":"WEB","url":"https://github.com/tektoncd/pipelines-as-code/releases/tag/v0.42.1"},{"type":"WEB","url":"https://github.com/tektoncd/pipelines-as-code/releases/tag/v0.48.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54168.json"},{"type":"ADVISORY","url":"https://github.com/tektoncd/pipelines-as-code/security/advisories/GHSA-6f2p-296r-cc28"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54168"},{"type":"FIX","url":"https://github.com/tektoncd/pipelines-as-code/commit/001782829e82b83ecb3da903f5a024ca0826b64c"},{"type":"FIX","url":"https://github.com/tektoncd/pipelines-as-code/commit/40813976a77920feaf52671320d6d3c5ff08eb7e"},{"type":"FIX","url":"https://github.com/tektoncd/pipelines-as-code/commit/ac6fded6dfb69ade7197d4eeed6e90ddbe1b79bc"},{"type":"FIX","url":"https://github.com/tektoncd/pipelines-as-code/commit/e0c4a11ea3800ab9d26cf3a8ae92b74cf18527c3"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/tektoncd/pipelines-as-code","events":[{"introduced":"0"},{"introduced":"43a6811e19718fdab05280e188fe97be4d727565"},{"introduced":"9d60ff70fe50becee02ec2ead487bdfb1bd525e6"},{"introduced":"eff5928d5b1c3a816e2b0f61f2e53a1af6109161"},{"fixed":"bdd53809c46428a60974c1b327e4d381d972e554"},{"fixed":"af48fc833cddd3f4dc8fe315cfa3cf17148e1668"},{"fixed":"d4044f270cd09555ff745937fa0f5dcc1d7cd1da"},{"fixed":"402d5c7eeece881cb082ec68e9e8b61709e39ace"},{"fixed":"001782829e82b83ecb3da903f5a024ca0826b64c"},{"fixed":"40813976a77920feaf52671320d6d3c5ff08eb7e"},{"fixed":"ac6fded6dfb69ade7197d4eeed6e90ddbe1b79bc"},{"fixed":"e0c4a11ea3800ab9d26cf3a8ae92b74cf18527c3"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"0.37.8"},{"introduced":"0.38.0"},{"fixed":"0.39.6"},{"introduced":"0.40.0"},{"fixed":"0.42.1"},{"introduced":"0.43.0"},{"fixed":"0.48.0"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["v0.47.0","v0.46.0","v0.45.0","v0.44.0","v0.43.0","v0.42.0","v0.37.7","v0.39.5","v0.37.6","v0.41.1","v0.37.5","v0.39.4","v0.41.0","v0.40.0","v0.39.3","v0.37.4","v0.39.2","v0.39.1","v0.37.3","v0.37.2","v0.39.0","v0.37.1","v0.37.0","v0.38.0","v0.36.0","v0.35.0","v0.34.0","v0.33.0","v0.32.0","v0.31.0","v0.30.0","v0.29.0","v0.28.0","v0.27.2","v0.27.1","v0.27.0","v0.26.0","v0.25.0","v0.24.0","v0.23.0","v0.22.5","v0.22.1","v0.22.0","v0.21.2","v0.21.1","v0.21.0","v0.20.0","v0.19.0","v0.18.0","v0.17.1","v0.17.0","v0.16.0","v0.15.3","v0.15.2","v0.15.1","v0.15.0","v0.14.3","v0.14.2","v0.14.1","v0.13.1","v0.13.0","v0.11.0","0.10.0","0.9.0","0.8.0","0.7.1","0.6.1","0.6.0","0.5.3","0.5.2","0.5.1","0.5.0","0.4.2","0.4.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54168.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}