CVE-2022-25197: Agent-to-controller security bypass in Jenkins HashiCorp Vault Plugin allows reading arbitrary files
5.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.69182%
CWE
Published
2/16/2022
Updated
12/28/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
com.datapipe.jenkins.plugins:hashicorp-vault-plugin | maven | <= 336.v182c0fbaaeb7 | 351.vdb_f83a_1c6a_9d |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The pre-patch implementation of getToken()
used Jenkins' FilePath.act()
method to read token files. FilePath
operations are designed to bridge agent/controller boundaries, but in this context allowed agent-initiated file reads on the controller. The vulnerability was fixed by removing the FilePath
usage and performing direct file access (which implicitly restricts execution to the controller). The commit message and CVE description both confirm this was an agent-to-controller security bypass via file read functionality.