{"answers":{"affected":"2 open source packages ship an affected version, including com.datapipe.jenkins.plugins:hashicorp-vault-plugin. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-25186 in the wild and no public exploit code.","fix":"Upgrade com.datapipe.jenkins.plugins:hashicorp-vault-plugin to 336.v182c0fbaaeb7 or later.","what":"CVE-2022-25186 is a medium-severity vulnerability in Jenkins HashiCorp Vault Plugin, published on 15 Feb 2022. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-25186 and fix it if it is affected.\n\nWhat it is: CVE-2022-25186 is a medium-severity vulnerability in Jenkins HashiCorp Vault Plugin, published on 15 Feb 2022. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-25186 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- com.datapipe.jenkins.plugins:hashicorp-vault-plugin (Maven): affected all versions; fixed in 336.v182c0fbaaeb7\n- com.datapipe.jenkins.plugins:hashicorp-vault-plugin (Maven): affected all versions; fixed in 336.v182c0fbaaeb7\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-25186/ (Markdown: https://insights.sbomify.com/CVE-2022-25186/index.md)","id":"CVE-2022-25186","markdown":"https://insights.sbomify.com/CVE-2022-25186/index.md","name":"CVE-2022-25186","record":{"aliases":["GHSA-fm6q-97gw-c4wh"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Jenkins Vault Plugin","requires_auth":"low_privilege","summary":"Attackers controlling Jenkins agent processes can retrieve arbitrary HashiCorp Vault secrets, exposing sensitive credentials.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"jenkins","cpe":[{"product":"hashicorp_vault","vendor":"jenkins"}],"cvss":{"score":6.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[],"description":"Jenkins HashiCorp Vault Plugin 3.8.0 and earlier implements functionality that allows agent processes to retrieve any Vault secrets for use on the agent, allowing attackers able to control agent processes to obtain Vault secrets for an attacker-specified path and key.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Agent-to-controller security bypass in Jenkins HashiCorp Vault Plugin","id":"CVE-2022-25186","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"information_disclosure","year":"2022"},"n_packages":2,"n_references":1,"next":{"headline":"Jenkins Support Core Plugin stores sensitive data in plain text","id":"CVE-2022-25187"},"packages":[{"ecosystem":"Maven","fixed":["336.v182c0fbaaeb7"],"introduced":["0"],"last_affected":[],"package":"com.datapipe.jenkins.plugins:hashicorp-vault-plugin","purl":null,"source":"GHSA-fm6q-97gw-c4wh"},{"ecosystem":"Maven","fixed":["336.v182c0fbaaeb7"],"introduced":["0"],"last_affected":[],"package":"com.datapipe.jenkins.plugins:hashicorp-vault-plugin","purl":"pkg:maven/com.datapipe.jenkins.plugins/hashicorp-vault-plugin","source":"GHSA-fm6q-97gw-c4wh"}],"prev":{"headline":"Stored XSS vulnerability in Jenkins Generic Webhook Trigger Plugin","id":"CVE-2022-25185"},"products":["Jenkins HashiCorp Vault Plugin"],"published":"2022-02-15","related":[{"cvss_score":7.5,"headline":"Jenkins HashiCorp Vault Plugin has improper masking of credentials","id":"CVE-2023-33001","kev_date_added":null,"published":"2023-05-16"},{"cvss_score":6.5,"headline":"Jenkins HashiCorp Vault Plugin does not perform permission checks in several HTTP endpoints that perform Vault connection tests","id":"CVE-2022-36888","kev_date_added":null,"published":"2022-07-27"},{"cvss_score":6.5,"headline":"Agent-to-controller security bypass in Jenkins HashiCorp Vault Plugin allows reading arbitrary files","id":"CVE-2022-25197","kev_date_added":null,"published":"2022-02-15"},{"cvss_score":6.5,"headline":"Improper credentials masking in Jenkins HashiCorp Vault Plugin","id":"CVE-2022-23109","kev_date_added":null,"published":"2022-01-12"},{"cvss_score":4.3,"headline":"Jenkins HashiCorp Vault Plugin exposes system-scoped Vault credentials","id":"CVE-2025-67642","kev_date_added":null,"published":"2025-12-10"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["Jenkins project"]},"summary":"Attackers controlling Jenkins agent processes can retrieve arbitrary HashiCorp Vault secrets, exposing sensitive credentials.","url":"https://insights.sbomify.com/CVE-2022-25186/"}