{"id":"CVE-2026-50240","aliases":[],"summary":"Pipelines-as-code: openshift-pipelines-operator-rh: pipelines-as-code: repository users can trigger namespace edit-equivalent execution via auto-provisioned pipeline serviceaccount","published_at":"2026-08-27T00:00:00Z","modified_at":"2026-11-10T08:08:55.224Z","products":[{"slug":"openshift","name":"OpenShift","category":"kubernetes-container"},{"slug":"rhel","name":"Red Hat Enterprise Linux","category":"red-hat"}],"rating":{"severity":"high","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attack_path":"internet_authenticated","user_interaction":false,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"Red Hat","rating":"Important"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.004410000052303076,"percentile":0.3905099928379059,"date":"2026-11-19T00:00:00Z"},"priority":9.8,"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.","affected_stack":[{"ecosystem":"CVE","package":"Red Hat/OpenShift Pipelines","provider":"cvelistv5","source":"CVE-2026-50240","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/OpenShift Pipelines","provider":"cvelistv5","source":"CVE-2026-50240","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/OpenShift Pipelines","provider":"cvelistv5","source":"CVE-2026-50240","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/OpenShift Pipelines","provider":"cvelistv5","source":"CVE-2026-50240","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/OpenShift Pipelines","provider":"cvelistv5","source":"CVE-2026-50240","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/OpenShift Pipelines","provider":"cvelistv5","source":"CVE-2026-50240","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/OpenShift Pipelines","provider":"cvelistv5","source":"CVE-2026-50240","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/OpenShift Pipelines","provider":"cvelistv5","source":"CVE-2026-50240","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/OpenShift Pipelines","provider":"cvelistv5","source":"CVE-2026-50240","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/OpenShift Pipelines","provider":"cvelistv5","source":"CVE-2026-50240","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/OpenShift Pipelines","provider":"cvelistv5","source":"CVE-2026-50240","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/OpenShift Pipelines","provider":"cvelistv5","source":"CVE-2026-50240","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/OpenShift Pipelines","provider":"cvelistv5","source":"CVE-2026-50240","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/OpenShift Pipelines","provider":"cvelistv5","source":"CVE-2026-50240","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/OpenShift Serverless","provider":"cvelistv5","source":"CVE-2026-50240","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/OpenShift Serverless","provider":"cvelistv5","source":"CVE-2026-50240","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/OpenShift Serverless","provider":"cvelistv5","source":"CVE-2026-50240","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/Red Hat OpenShift Dev Spaces","provider":"cvelistv5","source":"CVE-2026-50240","relation":"self"},{"ecosystem":"Red Hat:openshift_pipelines:1","package":"openshift-pipelines-client","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2026-50240","relation":"self"},{"ecosystem":"Red Hat:serverless:1","package":"openshift-serverless-clients","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2026-50240","relation":"self"}],"affected_other":[{"ecosystem":"CVE","package":"Red Hat/Builds for Red Hat OpenShift","provider":"cvelistv5","source":"CVE-2026-50240","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/Red Hat Web Terminal","provider":"cvelistv5","source":"CVE-2026-50240","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Builds for Red Hat OpenShift","cpe":"cpe:/a:redhat:openshift_builds:1","status":"affected","packages":["openshift-builds/openshift-builds-rhel9-operator"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2026-50240"},{"vendor":"Red Hat","product":"OpenShift Pipelines","cpe":"cpe:/a:redhat:openshift_pipelines:1","status":"affected","packages":["openshift-pipelines-client","openshift-pipelines/pipelines-cli-tkn-rhel8","openshift-pipelines/pipelines-operator-proxy-rhel8","openshift-pipelines/pipelines-operator-webhook-rhel8","openshift-pipelines/pipelines-rhel8-operator"],"package_count":5,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2026-50240"},{"vendor":"Red Hat","product":"OpenShift Pipelines","cpe":"cpe:/a:redhat:openshift_pipelines:1","status":"affected","packages":["openshift-pipelines/pipelines-cli-tkn-rhel9","openshift-pipelines/pipelines-opc-rhel9","openshift-pipelines/pipelines-operator-proxy-rhel9","openshift-pipelines/pipelines-operator-webhook-rhel9","openshift-pipelines/pipelines-pipelines-as-code-cli-rhel9","openshift-pipelines/pipelines-pipelines-as-code-controller-rhel9","openshift-pipelines/pipelines-pipelines-as-code-watcher-rhel9","openshift-pipelines/pipelines-pipelines-as-code-webhook-rhel9","openshift-pipelines/pipelines-rhel9-operator"],"package_count":9,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-50240"},{"vendor":"Red Hat","product":"OpenShift Pipelines","cpe":"cpe:/a:redhat:openshift_pipelines:1","status":"not_affected","packages":["openshift-pipelines/pipelines-pipelines-as-code-cli-rhel8","openshift-pipelines/pipelines-pipelines-as-code-controller-rhel8","openshift-pipelines/pipelines-pipelines-as-code-watcher-rhel8","openshift-pipelines/pipelines-pipelines-as-code-webhook-rhel8"],"package_count":4,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-50240"},{"vendor":"Red Hat","product":"OpenShift Serverless","cpe":"cpe:/a:redhat:serverless:1","status":"affected","packages":["openshift-serverless-1/kn-client-kn-rhel9","openshift-serverless-1/kn-plugin-func-func-util-rhel9","openshift-serverless-clients"],"package_count":3,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-50240"},{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces","cpe":"cpe:/a:redhat:openshift_devspaces:3","status":"affected","packages":["devspaces/udi-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-50240"},{"vendor":"Red Hat","product":"Red Hat Web Terminal","cpe":"cpe:/a:redhat:webterminal:1","status":"affected","packages":["web-terminal/web-terminal-tooling-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-50240"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2026-50240","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-50240","license":"CC-BY-4.0","published_at":"2026-11-06T21:53:53.997Z","modified_at":"2026-11-10T08:08:55.224Z","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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"CVE-2026-50240"}],"affected":[{"ecosystem":"CVE","package":"Red Hat/Builds for Red Hat OpenShift","provider":"cvelistv5","source":"CVE-2026-50240","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/OpenShift Pipelines","provider":"cvelistv5","source":"CVE-2026-50240","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/OpenShift Pipelines","provider":"cvelistv5","source":"CVE-2026-50240","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/OpenShift Pipelines","provider":"cvelistv5","source":"CVE-2026-50240","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/OpenShift Pipelines","provider":"cvelistv5","source":"CVE-2026-50240","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/OpenShift Pipelines","provider":"cvelistv5","source":"CVE-2026-50240","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/OpenShift Pipelines","provider":"cvelistv5","source":"CVE-2026-50240","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/OpenShift Pipelines","provider":"cvelistv5","source":"CVE-2026-50240","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/OpenShift Pipelines","provider":"cvelistv5","source":"CVE-2026-50240","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/OpenShift Pipelines","provider":"cvelistv5","source":"CVE-2026-50240","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/OpenShift Pipelines","provider":"cvelistv5","source":"CVE-2026-50240","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/OpenShift Pipelines","provider":"cvelistv5","source":"CVE-2026-50240","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/OpenShift Pipelines","provider":"cvelistv5","source":"CVE-2026-50240","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/OpenShift Pipelines","provider":"cvelistv5","source":"CVE-2026-50240","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/OpenShift Pipelines","provider":"cvelistv5","source":"CVE-2026-50240","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/OpenShift Serverless","provider":"cvelistv5","source":"CVE-2026-50240","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/OpenShift Serverless","provider":"cvelistv5","source":"CVE-2026-50240","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/OpenShift Serverless","provider":"cvelistv5","source":"CVE-2026-50240","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/Red Hat OpenShift Dev Spaces","provider":"cvelistv5","source":"CVE-2026-50240","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/Red Hat Web Terminal","provider":"cvelistv5","source":"CVE-2026-50240","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-50240"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2484752"},{"type":"WEB","url":"https://github.com/openshift-pipelines/pipelines-as-code/commit/ac1ff2337fce1ffdf888f513c6202caa95853927"},{"type":"WEB","url":"https://github.com/tektoncd/pipelines-as-code/security/advisories/GHSA-8m5v-wh4r-5j96"}]},{"provider":"redhat-vex","source_id":"CVE-2026-50240","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-50240","license":"CC-BY-4.0","published_at":"2026-08-27T00:00:00Z","modified_at":"2026-11-06T22:00:57Z","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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"CVE-2026-50240"},{"type":"Red Hat","score":"Important","source":"CVE-2026-50240"}],"affected":[{"ecosystem":"Red Hat:openshift_pipelines:1","package":"openshift-pipelines-client","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2026-50240","relation":"self"},{"ecosystem":"Red Hat:serverless:1","package":"openshift-serverless-clients","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2026-50240","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Builds for Red Hat OpenShift","cpe":"cpe:/a:redhat:openshift_builds:1","status":"affected","packages":["openshift-builds/openshift-builds-rhel9-operator"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2026-50240"},{"vendor":"Red Hat","product":"OpenShift Pipelines","cpe":"cpe:/a:redhat:openshift_pipelines:1","status":"affected","packages":["openshift-pipelines-client","openshift-pipelines/pipelines-cli-tkn-rhel8","openshift-pipelines/pipelines-operator-proxy-rhel8","openshift-pipelines/pipelines-operator-webhook-rhel8","openshift-pipelines/pipelines-rhel8-operator"],"package_count":5,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2026-50240"},{"vendor":"Red Hat","product":"OpenShift Pipelines","cpe":"cpe:/a:redhat:openshift_pipelines:1","status":"affected","packages":["openshift-pipelines/pipelines-cli-tkn-rhel9","openshift-pipelines/pipelines-opc-rhel9","openshift-pipelines/pipelines-operator-proxy-rhel9","openshift-pipelines/pipelines-operator-webhook-rhel9","openshift-pipelines/pipelines-pipelines-as-code-cli-rhel9","openshift-pipelines/pipelines-pipelines-as-code-controller-rhel9","openshift-pipelines/pipelines-pipelines-as-code-watcher-rhel9","openshift-pipelines/pipelines-pipelines-as-code-webhook-rhel9","openshift-pipelines/pipelines-rhel9-operator"],"package_count":9,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-50240"},{"vendor":"Red Hat","product":"OpenShift Pipelines","cpe":"cpe:/a:redhat:openshift_pipelines:1","status":"not_affected","packages":["openshift-pipelines/pipelines-pipelines-as-code-cli-rhel8","openshift-pipelines/pipelines-pipelines-as-code-controller-rhel8","openshift-pipelines/pipelines-pipelines-as-code-watcher-rhel8","openshift-pipelines/pipelines-pipelines-as-code-webhook-rhel8"],"package_count":4,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-50240"},{"vendor":"Red Hat","product":"OpenShift Serverless","cpe":"cpe:/a:redhat:serverless:1","status":"affected","packages":["openshift-serverless-1/kn-client-kn-rhel9","openshift-serverless-1/kn-plugin-func-func-util-rhel9","openshift-serverless-clients"],"package_count":3,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-50240"},{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces","cpe":"cpe:/a:redhat:openshift_devspaces:3","status":"affected","packages":["devspaces/udi-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-50240"},{"vendor":"Red Hat","product":"Red Hat Web Terminal","cpe":"cpe:/a:redhat:webterminal:1","status":"affected","packages":["web-terminal/web-terminal-tooling-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-50240"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-50240.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-50240"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2484752"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-50240"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50240"},{"type":"WEB","url":"https://github.com/openshift-pipelines/pipelines-as-code/commit/ac1ff2337fce1ffdf888f513c6202caa95853927"},{"type":"WEB","url":"https://github.com/tektoncd/pipelines-as-code/security/advisories/GHSA-8m5v-wh4r-5j96"}]}],"references":[{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-50240"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2484752"},{"type":"WEB","url":"https://github.com/openshift-pipelines/pipelines-as-code/commit/ac1ff2337fce1ffdf888f513c6202caa95853927"},{"type":"WEB","url":"https://github.com/tektoncd/pipelines-as-code/security/advisories/GHSA-8m5v-wh4r-5j96"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-50240.json"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-50240"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50240"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2026-50240","url":"https://www.cve.org/CVERecord?id=CVE-2026-50240","license":"CC-BY-4.0","modified_at":"2026-11-10T08:08:55.224Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-50240","url":"https://access.redhat.com/security/cve/CVE-2026-50240","license":"CC-BY-4.0","modified_at":"2026-11-06T22:00:57Z","relation":"self"}]}
