Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. io.jenkins.plugins/pipeline-groovy-lib
  4. ›
  5. CVE-2026-57284

CVE-2026-57284: Jenkins Pipeline: Groovy Plugin vulnerable to unrestricted instantiation of types

June 24, 2026 (updated September 25, 2026)

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

  • github.com/advisories/GHSA-2w2h-gwwj-fh3q
  • github.com/jenkinsci/workflow-cps-plugin/commit/50ab076c519907ebc0f63c8d73f37fcb81686b99
  • github.com/jenkinsci/workflow-cps-plugin/releases/tag/4331.4333.v50a_b_076c5199
  • nvd.nist.gov/vuln/detail/CVE-2026-57284
  • www.jenkins.io/security/advisory/2026-06-24/

Code Behaviors & Features

Detect and mitigate CVE-2026-57284 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4331.4333.0

Fixed versions

  • 4331.4333.0

Solution

Upgrade to version 4331.4333.0 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-470: Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')

Source file

maven/io.jenkins.plugins/pipeline-groovy-lib/CVE-2026-57284.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 07 Oct 2026 00:17:27 +0000.