{"answers":{"affected":"2 open source packages ship an affected version, including org.jenkins-ci.plugins:credentials-binding. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-42520 in the wild and no public exploit code.","fix":"Upgrade org.jenkins-ci.plugins:credentials-binding to 720.v3f6decef43ea or later.","what":"CVE-2026-42520 is a high-severity path traversal vulnerability in Jenkins Credentials Binding Plugin, published on 29 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-42520 and fix it if it is affected.\n\nWhat it is: CVE-2026-42520 is a high-severity path traversal vulnerability in Jenkins Credentials Binding Plugin, published on 29 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-42520 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.jenkins-ci.plugins:credentials-binding (Maven): affected all versions; fixed in 720.v3f6decef43ea\n- org.jenkins-ci.plugins:credentials-binding (Maven): affected all versions; fixed in 720.v3f6decef43ea\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-2026-42520/ (Markdown: https://insights.sbomify.com/CVE-2026-42520/index.md)","id":"CVE-2026-42520","markdown":"https://insights.sbomify.com/CVE-2026-42520/index.md","name":"CVE-2026-42520","record":{"aliases":["GHSA-p2rf-wpxj-mx2g"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":true,"product_category":"Jenkins Credentials Plugin","requires_auth":"low_privilege","summary":"Attackers can write files to arbitrary locations via unsanitized credential names, potentially achieving remote code execution on Jenkins nodes.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"jenkins","cpe":[{"product":"credentials_binding","vendor":"jenkins"}],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"Jenkins Credentials Binding Plugin 719.v80e905ef14eb_ and earlier does not sanitize file names for file and zip file credentials, allowing attackers able to provide credentials to a job to write files to arbitrary locations on the node filesystem, which can lead to remote code execution if Jenkins is configured to allow a low-privileged user to configure file or zip file credentials used for a job running on the built-in node.","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":"Jenkins Credentials Binding Plugin has a path traversal vulnerability","id":"CVE-2026-42520","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":2,"n_references":1,"next":{"headline":"Jenkins Matrix Authorization Strategy Plugin: Unsafe deserialization allows invocation of parameterless constructors","id":"CVE-2026-42521"},"packages":[{"ecosystem":"Maven","fixed":["720.v3f6decef43ea"],"introduced":["0"],"last_affected":[],"package":"org.jenkins-ci.plugins:credentials-binding","purl":null,"source":"GHSA-p2rf-wpxj-mx2g"},{"ecosystem":"Maven","fixed":["720.v3f6decef43ea"],"introduced":["0"],"last_affected":[],"package":"org.jenkins-ci.plugins:credentials-binding","purl":"pkg:maven/org.jenkins-ci.plugins/credentials-binding","source":"GHSA-p2rf-wpxj-mx2g"}],"prev":{"headline":"Jenkins Script Security Plugin: Missing permission checks allow enumeration of pending and approved classpaths","id":"CVE-2026-42519"},"products":["Jenkins Credentials Binding Plugin"],"published":"2026-04-29","related":[{"cvss_score":7.5,"headline":"Jenkins Credentials Binding Plugin does not properly sanitize file names for file and zip file credentials","id":"CVE-2026-48922","kev_date_added":null,"published":"2026-05-27"},{"cvss_score":7.3,"headline":"Jenkins Credentials Binding Plugin vulnerability can expose sensitive information in logger messages","id":"CVE-2025-53650","kev_date_added":null,"published":"2025-07-09"},{"cvss_score":6.5,"headline":"Secrets are not masked by Jenkins Credentials Binding Plugin in builds without build steps","id":"CVE-2020-2181","kev_date_added":null,"published":"2020-05-06"},{"cvss_score":6.5,"headline":"Jenkins Credentials Binding Plugin Stores Passwords in a Recoverable Format","id":"CVE-2019-1010241","kev_date_added":null,"published":"2019-07-19"},{"cvss_score":4.3,"headline":"Incorrect Permission Assignment for Critical Resource in Jenkins Credentials Binding Plugin","id":"CVE-2022-20616","kev_date_added":null,"published":"2022-01-12"},{"cvss_score":4.3,"headline":"Improper masking of some secrets in Jenkins Credentials Binding Plugin","id":"CVE-2020-2182","kev_date_added":null,"published":"2020-05-06"}],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-04-29","vendors":["Jenkins Project"]},"summary":"Attackers can write files to arbitrary locations via unsanitized credential names, potentially achieving remote code execution on Jenkins nodes.","url":"https://insights.sbomify.com/CVE-2026-42520/"}