# Command Injection in Jenkins via Git Parameter (CVE-2025-53652)

DevFeed: [Command Injection in Jenkins via Git Parameter (CVE-2025-53652)](<https://devfeed.tech/articles/command-injection-in-jenkins-via-git-parameter-cve-2025-53652-91498.md>)

Original publisher: [Read original article](<https://www.vulncheck.com/blog/git-parameter-rce>)

Author: Jacob Baines

Published: 2025-08-07T00:00:00Z

Content type: article

Language: en

Sources: [VulnCheck](<https://devfeed.tech/sources/vulncheck.md>)

Topics: [Jenkins](<https://devfeed.tech/topics/jenkins.md>), [Git](<https://devfeed.tech/topics/git.md>)

Tags: [2025](<https://devfeed.tech/tags/2025.md>), [code-execution](<https://devfeed.tech/tags/code-execution.md>), [command-injection](<https://devfeed.tech/tags/command-injection.md>), [cve](<https://devfeed.tech/tags/cve.md>), [execution](<https://devfeed.tech/tags/execution.md>), [git](<https://devfeed.tech/tags/git.md>), [jenkins](<https://devfeed.tech/tags/jenkins.md>), [parameter](<https://devfeed.tech/tags/parameter.md>), [remote-code-execution](<https://devfeed.tech/tags/remote-code-execution.md>), [vulnerability](<https://devfeed.tech/tags/vulnerability.md>)

## AI overview

CVE-2025-53652 in Jenkins Git Parameter allows command injection because arbitrary parameter values are used directly in shell commands. The article demonstrates a reverse shell running as the Jenkins user. Exploitation requires a build name, a session cookie, and a Jenkins crumb; it requires credentials when Jenkins authentication is enabled, while disabled authentication can make it reachable without credentials. The article says upgrading may not eliminate the issue if the plugin's `allowAnyParameterValue` setting disables validation. Defenders can look for injected values in HTTP traffic with the provided Suricata rule and in Jenkins job logs on disk.

## Source excerpt

CVE-2025-53652 was disclosed as a medium-severity vulnerability in the Jenkins Git Parameter plugin but it enables command injection and remote code execution when this popular plugin is installed. We break down the vulnerability and share detection guidance for defenders.