{"id":"CVE-2026-54168","state":"PUBLISHED","title":"Pipelines-as-Code: Unscoped GitHub App installation token allows unauthorized access to private repositories via remote task resolution","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.","publishedAt":"2026-09-15T14:27:44.344Z","updatedAt":"2026-09-17T14:30:57.237Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["tektoncd pipelines-as-code"],"affected":[{"vendor":"tektoncd","product":"pipelines-as-code","versions":[{"version":"< 0.37.8","status":"affected"},{"version":">= 0.38.0, < 0.39.6","status":"affected"},{"version":">= 0.40.0, < 0.42.1","status":"affected"},{"version":">= 0.43.0, < 0.48.0","status":"affected"}]}],"references":["https://github.com/tektoncd/pipelines-as-code/security/advisories/GHSA-6f2p-296r-cc28","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","https://github.com/tektoncd/pipelines-as-code/releases/tag/v0.39.6","https://github.com/tektoncd/pipelines-as-code/releases/tag/v0.42.1","https://github.com/tektoncd/pipelines-as-code/releases/tag/v0.48.0"],"weaknesses":["CWE-269","CWE-862"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/54xxx/CVE-2026-54168.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-54168","state":"PUBLISHED","datePublished":"2026-09-15T14:27:44.344Z","dateUpdated":"2026-09-17T14:30:57.237Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-11T21:46:52.381Z"},"containers":{"cna":{"title":"Pipelines-as-Code: Unscoped GitHub App installation token allows unauthorized access to private repositories via remote task resolution","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"tektoncd","product":"pipelines-as-code","versions":[{"version":"< 0.37.8","status":"affected"},{"version":">= 0.38.0, < 0.39.6","status":"affected"},{"version":">= 0.40.0, < 0.42.1","status":"affected"},{"version":">= 0.43.0, < 0.48.0","status":"affected"}]}],"references":[{"url":"https://github.com/tektoncd/pipelines-as-code/security/advisories/GHSA-6f2p-296r-cc28","name":"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","name":"https://github.com/tektoncd/pipelines-as-code/commit/001782829e82b83ecb3da903f5a024ca0826b64c","tags":["x_refsource_MISC"]},{"url":"https://github.com/tektoncd/pipelines-as-code/commit/40813976a77920feaf52671320d6d3c5ff08eb7e","name":"https://github.com/tektoncd/pipelines-as-code/commit/40813976a77920feaf52671320d6d3c5ff08eb7e","tags":["x_refsource_MISC"]},{"url":"https://github.com/tektoncd/pipelines-as-code/commit/ac6fded6dfb69ade7197d4eeed6e90ddbe1b79bc","name":"https://github.com/tektoncd/pipelines-as-code/commit/ac6fded6dfb69ade7197d4eeed6e90ddbe1b79bc","tags":["x_refsource_MISC"]},{"url":"https://github.com/tektoncd/pipelines-as-code/commit/e0c4a11ea3800ab9d26cf3a8ae92b74cf18527c3","name":"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","name":"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","name":"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","name":"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","name":"https://github.com/tektoncd/pipelines-as-code/releases/tag/v0.48.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-269","lang":"en","description":"CWE-269: Improper Privilege Management","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-862","lang":"en","description":"CWE-862: Missing Authorization","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-09-15T14:27:44.344Z"},"source":{"advisory":"GHSA-6f2p-296r-cc28","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-17T14:30:42.954463Z","id":"CVE-2026-54168","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-17T14:30:57.237Z"}}]}}}