{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-5082 exists.","fix":"No fix has been published for CVE-2024-5082 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-5082 is a high-severity code injection vulnerability in Sonatype Nexus Repository, published on 14 Nov 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-5082 and fix it if it is affected.\n\nWhat it is: CVE-2024-5082 is a high-severity code injection vulnerability in Sonatype Nexus Repository, published on 14 Nov 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-5082 exists.\n\nAffected product: Sonatype Nexus Repository. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2024-5082/ (Markdown: https://insights.sbomify.com/CVE-2024-5082/index.md)","id":"CVE-2024-5082","markdown":"https://insights.sbomify.com/CVE-2024-5082/index.md","name":"CVE-2024-5082","record":{"aliases":["GHSA-6q5h-c4ff-f2vc"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Nexus Repository","requires_auth":"low_privilege","summary":"Attackers can execute arbitrary code on Sonatype Nexus Repository 2 servers, requiring an upgrade to a supported version.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Sonatype","cpe":[],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:L/SA:N","version":"4.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"A Remote Code Execution vulnerability has been discovered in Sonatype Nexus Repository 2. \n\nThis issue affects Nexus Repository 2 OSS/Pro versions up to and including 2.15.1.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-07-15","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":1,"refs":[{"date":"2026-07-15T12:57:00Z","kind":"github_poc","ref":"https://github.com/h4mr3r/CVE-2024-5082","stars":0,"title":"Sonatype Nexus 2 - Authorized RCE POC"},{"date":null,"kind":"nuclei","ref":"http/cves/2024/CVE-2024-5082.yaml","stars":null,"title":"Nexus Repository 2 - Remote Code Execution"}],"tier":"weaponised"},"has_fix":null,"headline":"Nexus Repository 2 - Remote Code Execution","id":"CVE-2024-5082","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"Nexus Repository 2 - Stored XSS","id":"CVE-2024-5083"},"packages":[],"prev":{"headline":"WP eMember \u003c= v10.7.0 - Stored XSS via CSRF","id":"CVE-2024-5081"},"products":["Nexus Repository"],"published":"2024-11-14","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-11-21","vendors":["Sonatype"]},"summary":"Attackers can execute arbitrary code on Sonatype Nexus Repository 2 servers, requiring an upgrade to a supported version.","url":"https://insights.sbomify.com/CVE-2024-5082/"}