Jenkins Pipeline: Groovy Plugin has a CSRF vulnerability
GHSA-72c8-3wwg-r59w · CVE-2026-57283
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
Description
Jenkins 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.
This allows attackers to have Pipeline: Groovy Plugin instantiate types related to job or system configuration other than Pipeline steps.
Additionally, 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.
This vulnerability has been reported through the Jenkins Bug Bounty Program sponsored by the European Commission.
Pipeline: 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.
References
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-57283
- WEB https://github.com/jenkinsci/workflow-cps-plugin/commit/50ab076c519907ebc0f63c8d73f37fcb81686b99
- PACKAGE https://github.com/jenkinsci/workflow-cps-plugin
- WEB https://github.com/jenkinsci/workflow-cps-plugin/releases/tag/4331.4333.v50a_b_076c5199
- WEB https://www.jenkins.io/security/advisory/2026-06-24/#SECURITY-3677
Ready to move
Start Securing
Free, no credit card | First findings in minutes