CVE-2026-57284
JSON

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 packageVersionsReported by
Jenkins Project Jenkins Pipeline: Groovy Pluginup to 4331.v9d06ed4658ffCVE List
io.jenkins.plugins:pipeline-groovy-lib (Maven)before 4331.4333GitHub Advisory Database
jenkins pipeline:_groovyup to 4331.v9d06ed4658ffNVD

All scores

CISA-ADP4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
GitHub4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Classification

CWE-470

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

SourceRecordLicence
CVE ListCVE-2026-57284 changed 2026-06-24CVE Terms of Use
GitHub Advisory DatabaseGHSA-2w2h-gwwj-fh3q changed 2026-09-25CC-BY-4.0
NVDCVE-2026-57284 changed 2026-10-25Public domain