4.3medium
Jenkins Pipeline: Groovy Plugin vulnerable to unrestricted instantiation of types
- Severity
- 4.3medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.27% (higher than 21% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- jenkins
- Also known as
- GHSA-2w2h-gwwj-fh3q
Description
Jenkins Pipeline: Groovy Plugin 4331.v9d06ed4658ff and earlier does not restrict the types that can be instantiated through the Pipeline Snippet Generator, allowing attackers to instantiate types related to job or system configuration other than Pipeline steps.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Jenkins Project Jenkins Pipeline: Groovy Plugin | up to 4331.v9d06ed4658ff | CVE List |
| io.jenkins.plugins:pipeline-groovy-lib (Maven) | before 4331.4333 | GitHub Advisory Database |
| jenkins pipeline:_groovy | up to 4331.v9d06ed4658ff | NVD |
All scores
| CISA-ADP | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| GitHub | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
Jenkins Pipeline: Groovy Plugin 4331.v9d06ed4658ff and earlier does not restrict the types that can be instantiated through the Pipeline Snippet Generator, allowing attackers to instantiate types related to job or system configuration other than Pipeline steps.
GitHub Advisory Database
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.
NVD (es)
Jenkins Pipeline: Groovy Plugin 4331.v9d06ed4658ff y anteriores no restringe los tipos que pueden ser instanciados a través del Generador de Fragmentos de Pipeline, permitiendo a los atacantes instanciar tipos relacionados con la configuración de trabajos o del sistema distintos de los pasos de Pipeline.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-57284 changed 2026-06-24 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-2w2h-gwwj-fh3q changed 2026-09-25 | CC-BY-4.0 |
| NVD | CVE-2026-57284 changed 2026-10-25 | Public domain |