# CVE-2022-25197: Agent-to-controller security bypass in Jenkins HashiCorp Vault Plugin allows reading arbitrary files

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.81%, higher than 58% of CVEs (2026-12-01)
- Published: 2022-02-15T16:11:28.000Z
- Modified: 2026-06-17T04:33:11.467Z
- Also known as: GHSA-2587-w93g-63m2
- Weaknesses: CWE-693
- Assigned by: jenkins

## Description

Jenkins HashiCorp Vault Plugin 336.v182c0fbaaeb7 and earlier implements functionality that allows agent processes to read arbitrary files on the Jenkins controller file system.

(As written by CVE List.)

## Affected

- Jenkins project Jenkins HashiCorp Vault Plugin: from unspecified up to 336.v182c0fbaaeb7; from next of 336.v182c0fbaaeb7 before unspecified
- com.datapipe.jenkins.plugins:hashicorp-vault-plugin (Maven): before 351.vdb_f83a_1c6a_9d
- jenkins hashicorp_vault: up to 336.v182c0fbaaeb7

## Every score

- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N`

## References

- <https://www.jenkins.io/security/advisory/2022-02-15/#SECURITY-2521> (issue-tracking, patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-25197> (advisory)
- <https://github.com/jenkinsci/hashicorp-vault-plugin/commit/c564958154e5b2eccb2423b0aaabd01b928f71fc> (web)
- <https://github.com/jenkinsci/hashicorp-vault-plugin> (package)
- <https://github.com/jenkinsci/hashicorp-vault-plugin/releases/tag/351.vdb_f83a_1c6a_9d> (web)

## Sources

- CVE List: [CVE-2022-25197](https://www.cve.org/CVERecord?id=CVE-2022-25197), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-2587-w93g-63m2](https://github.com/advisories/GHSA-2587-w93g-63m2), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2022-25197](https://nvd.nist.gov/vuln/detail/CVE-2022-25197), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-25197 · Whole record: https://cve.day/CVE-2022-25197.json · Rebuilt by cve.day 2026-11-25T22:58:09.704Z
