{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-54168","id":"CVE-2026-54168","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 cont","descriptionLong":"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.","published":"2026-09-15T14:27:44.344Z","updated":"2026-10-28T02:30:39.822587963Z","reserved":"2026-06-11T21:46:52.381Z","status":"Awaiting Analysis","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["tektoncd pipelines-as-code"],"affectedProducts":[{"vendor":"tektoncd","product":"pipelines-as-code","defaultStatus":null,"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"}],"platforms":[]}],"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"],"advisory":"GHSA-6f2p-296r-cc28"}],"cwes":["CWE-269","CWE-862"],"aliases":["GHSA-6f2p-296r-cc28","GO-2026-6263"],"references":[{"url":"https://github.com/tektoncd/pipelines-as-code/security/advisories/GHSA-6f2p-296r-cc28","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/tektoncd/pipelines-as-code/commit/001782829e82b83ecb3da903f5a024ca0826b64c","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/tektoncd/pipelines-as-code/commit/40813976a77920feaf52671320d6d3c5ff08eb7e","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/tektoncd/pipelines-as-code/commit/ac6fded6dfb69ade7197d4eeed6e90ddbe1b79bc","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/tektoncd/pipelines-as-code/commit/e0c4a11ea3800ab9d26cf3a8ae92b74cf18527c3","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/tektoncd/pipelines-as-code/releases/tag/v0.37.8","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/tektoncd/pipelines-as-code/releases/tag/v0.39.6","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/tektoncd/pipelines-as-code/releases/tag/v0.42.1","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/tektoncd/pipelines-as-code/releases/tag/v0.48.0","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54168.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54168","tags":["advisory"]},{"url":"https://github.com/tektoncd/pipelines-as-code","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00587,"epssPercentile":0.48848,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-54168","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54168","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-54168","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-6f2p-296r-cc28","ok":true,"note":"GHSA-6f2p-296r-cc28"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-54168","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}