CVE-2026-57282

Unescaped Workspace Name Enables Arbitrary OS Command Execution on Jenkins Agent

Published Jun 24, 2026 CVSS 3.1 · 5 Medium EPSS < 1% KEV · Not listed
Description
Jenkins Git client Plugin 6.6.0 and earlier does not correctly escape the workspace directory name when it is embedded into a generated SSH wrapper script, allowing attackers able to control the name of a build's working directory to execute arbitrary operating system commands on the agent.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-wp5x-hrrw-6r4g Jenkins Git client Plugin has an OS command injection vulnerability on agents
History
Type Values Removed Values Added
First Time appeared Jenkins Project
Jenkins Project jenkins Git Client Plugin
Vendors & Products Jenkins Project
Jenkins Project jenkins Git Client Plugin
Type Values Removed Values Added
Title Unescaped Workspace Name Enables Arbitrary OS Command Execution on Jenkins Agent
Type Values Removed Values Added
Weaknesses CWE-78
Metrics cvssV3_1

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

ssvc

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

Type Values Removed Values Added
Description Jenkins Git client Plugin 6.6.0 and earlier does not correctly escape the workspace directory name when it is embedded into a generated SSH wrapper script, allowing attackers able to control the name of a build's working directory to execute arbitrary operating system commands on the agent.
References
Weaknesses

Sources

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