Agent-to-controller security bypass in Jenkins HashiCorp Vault Plugin allows reading arbitrary files
Jenkins HashiCorp Vault Plugin 336.v182c0fbaaeb7 and earlier implements functionality that allows agent processes to read arbitrary files on the Jenkins controller file system.
This allows attackers able to control agent processes to read arbitrary files on the Jenkins controller file system.
This vulnerability is only exploitable in Jenkins 2.318 and earlier, LTS 2.303.2 and earlier. See the LTS upgrade guide.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | com.datapipe.jenkins.plugins:hashicorp-vault-plugin | < 351.vdb_f83a_1c6a_9d | 351.vdb_f83a_1c6a_9d |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-25197
- https://github.com/jenkinsci/hashicorp-vault-plugin/commit/c564958154e5b2eccb2423b0aaabd01b928f71fc
- https://github.com/jenkinsci/hashicorp-vault-plugin
- https://github.com/jenkinsci/hashicorp-vault-plugin/releases/tag/351.vdb_f83a_1c6a_9d
- https://www.jenkins.io/security/advisory/2022-02-15/#SECURITY-2521
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N- Weakness (CWE)
CWE-693- Platform
- Java / Kotlin (Maven)
- Package
com.datapipe.jenkins.plugins:hashicorp-vault-plugin- Disclosed
- 16.02.2022
- Updated
- 11.10.2026 11:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-2587-w93g-63m2 - CC BY 4.0
Vulnerability history: com.datapipe.jenkins.plugins:hashicorp-vault-plugin
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 6
- First → latest
- 01.2022 12.2025
- Without a fix
- 2
- Exploited in attacks
- 0
Severity breakdown
- Medium 5
- Low 1
Disclosures per year
- 2022: 4
- 2023: 1
- 2024: 0
- 2025: 1
- 2026: 0
-
Agent-to-controller security bypass in Jenkins HashiCorp Vault Plugin allows reading arbitrary files this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.