{"id":"CVE-2026-57284","aliases":["GHSA-2w2h-gwwj-fh3q"],"title":"Jenkins Pipeline: Groovy Plugin vulnerable to unrestricted instantiation of types","summary":"Jenkins Pipeline: Groovy Plugin vulnerable to unrestricted instantiation of types","severity":"medium","cvss":4.3,"cwe":["CWE-470"],"vendor":"jenkins","product":"io.jenkins.plugins:pipeline-groovy-lib","ecosystem":"maven","affected":["io.jenkins.plugins:pipeline-groovy-lib < 4331.4333"],"patched":["io.jenkins.plugins:pipeline-groovy-lib 4331.4333"],"published":"2026-06-24","updated":"2026-09-25","sourceUpdated":"2026-09-25T18:08:13Z","source":"GHSA","sourceUrl":"https://github.com/advisories/GHSA-2w2h-gwwj-fh3q","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57284"},{"url":"https://www.jenkins.io/security/advisory/2026-06-24/#SECURITY-3677"},{"url":"https://github.com/jenkinsci/workflow-cps-plugin/commit/50ab076c519907ebc0f63c8d73f37fcb81686b99"},{"url":"https://github.com/jenkinsci/workflow-cps-plugin/releases/tag/4331.4333.v50a_b_076c5199"},{"url":"https://github.com/advisories/GHSA-2w2h-gwwj-fh3q"}],"tags":["ghsa","maven"],"epss":0.00338,"epssPercentile":0.24476,"ingestedAt":"2026-09-25T18:14:20.393Z","slug":"CVE-2026-57284","body":"## Overview\n\nJenkins Pipeline: Groovy Plugin 4331.v9d06ed4658ff and earlier does not restrict the types that can be instantiated through the Pipeline Snippet Generator, instantiating any type with a constructor annotated with @DataBoundConstructor in response to a request.\n\nThis allows attackers to have Pipeline: Groovy Plugin instantiate types related to job or system configuration other than Pipeline steps.\n\nAdditionally, this HTTP endpoint can be accessed using the GET method and does not require POST requests, resulting in a cross-site request forgery (CSRF) vulnerability. This allows attackers to create a script approval request attributed to another user, impersonating a trusted user when social engineering an administrator into approving a malicious script.\n\nThis vulnerability has been reported through the Jenkins Bug Bounty Program sponsored by the European Commission.\nPipeline: Groovy Plugin 4331.4333.v50a_b_076c5199 only instantiates Pipeline steps and metastep delegates through the Snippet Generator, and requires POST requests for the affected HTTP endpoint.\n\n## Affected packages\n\n- `io.jenkins.plugins:pipeline-groovy-lib < 4331.4333`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `io.jenkins.plugins:pipeline-groovy-lib 4331.4333`","depth":"sunlit","depthScore":24,"depthScoreParts":{"impact":23.7,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}