# CVE-2022-25186: Agent-to-controller security bypass in Jenkins HashiCorp Vault Plugin

Source: https://junglewise.ai/threats/cve-2022-25186-agent-to-controller-security-bypass-in-jenkins-hashicorp-vault  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-02-16  
License: CC BY 4.0 with a link back

CVE-2022-25186 · Severity: low · CVSS 3.1 · Published 2022-02-16

Agent-to-controller security bypass in Jenkins HashiCorp Vault Plugin

Technologies: [com.datapipe.jenkins.plugins:hashicorp-vault-plugin (Maven)](https://junglewise.ai/threats/technologies/com-datapipe-jenkins-plugins-hashicorp-vault-plugin). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2022-25186 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-25186 being exploited in the wild.

**How severe is CVE-2022-25186?** Low severity, with a CVSS score of 3.1, published 16 February 2022.

**Which products and versions are affected?** com.datapipe.jenkins.plugins:hashicorp-vault-plugin (Maven) ECOSYSTEM:introduced=0,fixed=336.v182c0fbaaeb7.

**Is there a fix for CVE-2022-25186?** Yes. com.datapipe.jenkins.plugins:hashicorp-vault-plugin (Maven): upgrade to 336.v182c0fbaaeb7 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-25186?** Check whether you run com.datapipe.jenkins.plugins:hashicorp-vault-plugin (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- com.datapipe.jenkins.plugins:hashicorp-vault-plugin (Maven): upgrade to 336.v182c0fbaaeb7 or later

  ```sh
  # set com.datapipe.jenkins.plugins:hashicorp-vault-plugin to 336.v182c0fbaaeb7 in your pom.xml or build.gradle
  ```


## Affected products

- com.datapipe.jenkins.plugins:hashicorp-vault-plugin (Maven) ECOSYSTEM:introduced=0,fixed=336.v182c0fbaaeb7

## Identifiers

- CVE-2022-25186
- GHSA-fm6q-97gw-c4wh

## Related threats

- [Jenkins HashiCorp Vault Plugin exposes system-scoped Vault credentials](https://junglewise.ai/threats/cve-2025-67642-jenkins-hashicorp-vault-plugin-exposes-system-scoped-vault)
- [Jenkins HashiCorp Vault Plugin has improper masking of credentials](https://junglewise.ai/threats/cve-2023-33001-jenkins-hashicorp-vault-plugin-has-improper-masking-of)
- [Jenkins HashiCorp Vault Plugin does not perform permission checks in several HTTP endpoints that perform Vault connection tests](https://junglewise.ai/threats/cve-2022-36888-jenkins-hashicorp-vault-plugin-does-not-perform-permission-checks)
- [Agent-to-controller security bypass in Jenkins HashiCorp Vault Plugin allows reading arbitrary files](https://junglewise.ai/threats/cve-2022-25197-agent-to-controller-security-bypass-in-jenkins-hashicorp-vault)
- [Improper credentials masking in Jenkins HashiCorp Vault Plugin](https://junglewise.ai/threats/cve-2022-23109-improper-credentials-masking-in-jenkins-hashicorp-vault-plugin)
