CVE-2026-50240

Source
https://cve.org/CVERecord?id=CVE-2026-50240
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-50240.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-50240
Aliases
  • GHSA-8m5v-wh4r-5j96
Published
2026-11-06T21:53:53Z
Modified
2026-11-12T02:30:59Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
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.

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

Affected packages

Git / github.com/tektoncd/pipelines-as-code

Affected ranges

Type
GIT
Repo
https://github.com/tektoncd/pipelines-as-code
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "0.42.4"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "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"
        },
        {
            "range":  [
                {
                    "fixed":  "ac1ff2337fce1ffdf888f513c6202caa95853927"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

0.*
0.10.0
0.4.1
0.4.2
0.5.0
0.5.1
0.5.2
0.5.3
0.6.0
0.6.1
0.7.1
0.8.0
0.9.0
v0.*
v0.11.0
v0.13.0
v0.13.1
v0.14.1
v0.14.2
v0.14.3
v0.15.0
v0.15.1
v0.15.2
v0.15.3
v0.16.0
v0.17.0
v0.17.1
v0.18.0
v0.19.0
v0.20.0
v0.21.0
v0.21.1
v0.21.2
v0.22.0
v0.22.1
v0.22.5
v0.23.0
v0.24.0
v0.25.0
v0.26.0
v0.27.0
v0.27.1
v0.27.2
v0.28.0
v0.29.0
v0.30.0
v0.31.0
v0.32.0
v0.33.0
v0.34.0
v0.35.0
v0.36.0
v0.37.0
v0.38.0
v0.39.0
v0.39.1
v0.39.2
v0.40.0
v0.41.0
v0.41.1
v0.42.0
v0.42.1
v0.42.2
v0.42.3
v0.43.0
v0.44.0
v0.45.0
v0.46.0
v0.47.0
v0.48.0
v0.48.1
v0.49.0
v0.50.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-50240.json"