CVE-2026-57284

Unrestricted Type Instantiation via Jenkins Pipeline Groovy Plugin Snippet Generator

Published Jun 24, 2026 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The Jenkins Pipeline Groovy Plugin does not restrict the Java types that can be instantiated through the Pipeline Snippet Generator, which allows an attacker to create objects of classes related to job or system configuration instead of normal Pipeline steps. This weakness can enable an attacker to modify job definitions or alter system settings, potentially leading to unauthorized configuration changes or arbitrary code execution if malicious classes are instantiated. The flaw represents a CWE‑470 type of vulnerability involving insecure type instantiation.

Affected Systems

Jenkins Pipeline Groovy Plugin versions 4331.v9d06ed4658ff and earlier are affected. Users should check the installed plugin version and plan an upgrade to a later release that limits the classes that can be created through the Snippet Generator.

Risk and Exploitability

The CVSS score of 4.3 indicates moderate severity. No EPSS score is available and the vulnerability is not listed in the CISA KEV catalog. The attack route involves interacting with the Pipeline Snippet Generator, which typically requires user authentication and appropriate permissions within Jenkins; hence it is inferred that an authenticated user with at least view or build rights could exploit the flaw, but the description does not explicitly confirm this. The lack of type restrictions provides a defined path for configuration tampering or possible code execution, though such outcomes are not explicitly stated in the advisory and are noted as a likely consequence.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Jenkins Pipeline Groovy Plugin to a version newer than 4331.v9d06ed4658ff.
  • Restrict access to the Pipeline Snippet Generator by configuring role‑based permissions so that only administrators or trusted users can activate it.
  • Monitor Jenkins job and system configuration files and logs for unexpected changes and review them regularly for signs of tampering.

Generated by OpenCVE AI on June 24, 2026 at 16:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-2w2h-gwwj-fh3q Jenkins Pipeline: Groovy Plugin vulnerable to unrestricted instantiation of types
History
Type Values Removed Values Added
First Time appeared Jenkins Project
Jenkins Project jenkins Pipeline Groovy Libraries Plugin
Vendors & Products Jenkins Project
Jenkins Project jenkins Pipeline Groovy Libraries Plugin
Type Values Removed Values Added
Title Unrestricted Type Instantiation via Jenkins Pipeline Groovy Plugin Snippet Generator
Type Values Removed Values Added
Weaknesses CWE-470
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
References
Weaknesses
  • CWE-470

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

Sources

Status
PUBLISHED
Assigner
jenkins
Published
Updated
Jun 24, 2026, 1:59 PM
Reserved
Jun 24, 2026, 8:41 AM
Status
Analyzed
Published
Jun 24, 2026, 2:17 PM
Modified
Oct 25, 2026, 11:10 PM