{"id":"CVE-2026-50240","summary":"Pipelines-as-code: openshift-pipelines-operator-rh: pipelines-as-code: repository users can trigger namespace edit-equivalent execution via auto-provisioned pipeline serviceaccount","details":"A flaw was found in OpenShift Pipelines-as-Code (PAC). PAC does not verify whether the creator of a Repository custom resource has permission to create PipelineRuns. A namespace user with only Repository and Secret create/delete permissions can cause PAC to execute attacker-controlled PipelineRuns as the auto-provisioned pipeline ServiceAccount, which carries ClusterRole/edit by default. This results in namespace-scoped privilege escalation, enabling Secret read, resource creation/modification/deletion, and potential supply chain injection in CI/CD namespaces.","aliases":["GHSA-8m5v-wh4r-5j96"],"modified":"2026-11-12T02:30:59.965373997Z","published":"2026-11-06T21:53:53.997Z","database_specific":{"cna_assigner":"redhat","cwe_ids":["CWE-862"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50240.json"},"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-50240"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50240.json"},{"type":"ADVISORY","url":"https://github.com/tektoncd/pipelines-as-code/security/advisories/GHSA-8m5v-wh4r-5j96"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50240"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2484752"},{"type":"FIX","url":"https://github.com/openshift-pipelines/pipelines-as-code/commit/ac1ff2337fce1ffdf888f513c6202caa95853927"},{"type":"PACKAGE","url":"https://github.com/tektoncd/pipelines-as-code"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/tektoncd/pipelines-as-code","events":[{"introduced":"0"},{"fixed":"bbb3f0e97923de9c0ddb3f70e84866502b8599d6"},{"introduced":"eff5928d5b1c3a816e2b0f61f2e53a1af6109161"},{"fixed":"481e8a8042b1be59e5cd27cc099a2b15d0a51145"},{"introduced":"1433ee8668857940524d58b6c8510d4d8552d7b8"},{"fixed":"095f1851c539cc1fc31de9928c91ca60cbcd757c"},{"fixed":"ac1ff2337fce1ffdf888f513c6202caa95853927"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"0.42.4"}],"source":"AFFECTED_FIELD"},{"range":[{"introduced":"0.43.0"},{"fixed":"0.48.2"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"introduced":"0.49.0"},{"fixed":"0.50.1"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"ac1ff2337fce1ffdf888f513c6202caa95853927"}]}]}}],"versions":["v0.50.0","v0.48.1","v0.42.3","v0.49.0","v0.42.2","v0.42.1","v0.48.0","v0.47.0","v0.46.0","v0.45.0","v0.44.0","v0.43.0","v0.42.0","v0.41.1","v0.41.0","v0.40.0","v0.39.2","v0.39.1","v0.39.0","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-50240.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}