CVE-2022-25197 is a medium-severity (CVSS 5.3) vulnerability in com.datapipe.jenkins.plugins:hashicorp-vault-plugin. A fix is available for com.datapipe.jenkins.plugins:hashicorp-vault-plugin — see the affected versions and patch details below.
Agent-to-controller security bypass in Jenkins HashiCorp Vault Plugin allows reading arbitrary files
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2022-25197 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.
Where this sits among everything scored
Of 385,738 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.
Real-World Exposure
com.datapipe.jenkins.plugins:hashicorp-vault-pluginReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
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.
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 Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | com.datapipe.jenkins.plugins:hashicorp-vault-plugin | all versions | 351.vdb_f83a_1c6a_9dcom.datapipe.jenkins.plugins:hashicorp-vault-plugin:351.vdb_f83a_1c6a_9d |
Affected Products
hashicorp vaultjenkinsDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for com.datapipe.jenkins.plugins:hashicorp-vault-plugin, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update com.datapipe.jenkins.plugins:hashicorp-vault-plugin to 351.vdb_f83a_1c6a_9d or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2022-25197 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is CVE-2022-25197 in your dependencies?
Find it across Maven, including transitive dependencies.