{"id":"CVE-2026-54168","published":"2026-09-15T14:27:44Z","modified":"2026-09-17T14:30:57Z","title":"Pipelines-as-Code: Unscoped GitHub App installation token allows unauthorized access to private repositories via…","vendor":"tektoncd","product":"pipelines-as-code","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00587,"percentile":0.42013,"provenance":"source"},"cwes":[{"id":"CWE-269","name":"Improper Privilege Management"},{"id":"CWE-862","name":"Missing Authorization"}],"references":[{"url":"https://github.com/tektoncd/pipelines-as-code/security/advisories/GHSA-6f2p-296r-cc28","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tektoncd/pipelines-as-code/commit/001782829e82b83ecb3da903f5a024ca0826b64c","tags":["x_refsource_MISC"]},{"url":"https://github.com/tektoncd/pipelines-as-code/commit/40813976a77920feaf52671320d6d3c5ff08eb7e","tags":["x_refsource_MISC"]},{"url":"https://github.com/tektoncd/pipelines-as-code/commit/ac6fded6dfb69ade7197d4eeed6e90ddbe1b79bc","tags":["x_refsource_MISC"]},{"url":"https://github.com/tektoncd/pipelines-as-code/commit/e0c4a11ea3800ab9d26cf3a8ae92b74cf18527c3","tags":["x_refsource_MISC"]},{"url":"https://github.com/tektoncd/pipelines-as-code/releases/tag/v0.37.8","tags":["x_refsource_MISC"]},{"url":"https://github.com/tektoncd/pipelines-as-code/releases/tag/v0.39.6","tags":["x_refsource_MISC"]},{"url":"https://github.com/tektoncd/pipelines-as-code/releases/tag/v0.42.1","tags":["x_refsource_MISC"]},{"url":"https://github.com/tektoncd/pipelines-as-code/releases/tag/v0.48.0","tags":["x_refsource_MISC"]}],"priority":{"score":13.0,"factors":[{"name":"EPSS percentile","points":8.4},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"tektoncd","affectedVersions":[{"vendor":"tektoncd","product":"pipelines-as-code","versions":["< 0.37.8",">= 0.38.0, < 0.39.6",">= 0.40.0, < 0.42.1",">= 0.43.0, < 0.48.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-17T14:30:42.954463Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/openshift-pipelines/pipelines-as-code","vulnerableRanges":["<0.37.8",">=0.38.0, <0.39.6",">=0.40.0, <0.42.1",">=0.43.0, <0.48.0"],"patched":["0.37.8","0.39.6","0.42.1","0.48.0"],"from":["GHSA-6f2p-296r-cc28","GO-2026-6263"],"provenance":"source"}],"summary":{"text":"Pipelines-as-Code, a CI/CD system that defines Tekton pipelines in source repositories, has a flaw in which the GitHub App installation token created during webhook processing is not scoped to the triggering repository when the App is installed across multiple repositories. An attacker with push access to one repository can exploit this over the network with low complexity and no user interaction by submitting a PipelineRun with a remote task annotation pointing at a private repository in the same installation, which causes the token to be used to read that repository's Tekton definitions.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:37:13Z"},"euvd":{"id":"EUVD-2026-78586","exploited":false,"provenance":"source"}}