{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-59721 exists.","fix":"No fix has been published for CVE-2026-59721 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-59721 is a high-severity command injection vulnerability in hoppscotch, published on 9 Jul 2026. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-59721 and fix it if it is affected.\n\nWhat it is: CVE-2026-59721 is a high-severity command injection vulnerability in hoppscotch, published on 9 Jul 2026. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-59721 exists.\n\nAffected product: hoppscotch. 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-2026-59721/ (Markdown: https://insights.sbomify.com/CVE-2026-59721/index.md)","id":"CVE-2026-59721","markdown":"https://insights.sbomify.com/CVE-2026-59721/index.md","name":"CVE-2026-59721","record":{"aliases":["GHSA-v7q6-r45w-2c6r"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Hoppscotch API tool","requires_auth":"high_privilege","summary":"An admin can execute arbitrary commands as root by injecting malicious options into the SMTP URL configuration, requiring an upgrade to fix.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.2,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-915","name":"Improperly Controlled Modification of Dynamically-Determined Object Attributes"},{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"},{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"description":"Hoppscotch is an open source API development ecosystem. Prior to 2026.6.0, the updateInfraConfigs GraphQL mutation in admin/infra.resolver.ts accepts an attacker-controlled MAILER_SMTP_URL value, and validateSMTPUrl in utils.ts permits path, query, or fragment content that nodemailer parses into sendmail transport options, allowing an admin to execute arbitrary commands as root in the backend container after restart and mail sending. This issue is fixed in version 2026.6.0.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Hoppscotch: Admin RCE via MAILER_SMTP_URL nodemailer sendmail-transport injection","id":"CVE-2026-59721","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":0,"n_references":4,"next":{"headline":"Cline: Cross-Origin WebSocket Hijacking in Cline Hub Dashboard (`/browser` endpoint)","id":"CVE-2026-59723"},"packages":[],"prev":{"headline":"Hoppscotch: Insecure Default Configuration Allows Public Exposure of Private Collection Data via Mock Server","id":"CVE-2026-59720"},"products":["hoppscotch"],"published":"2026-07-09","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)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-07-09","vendors":["hoppscotch"]},"summary":"An admin can execute arbitrary commands as root by injecting malicious options into the SMTP URL configuration, requiring an upgrade to fix.","url":"https://insights.sbomify.com/CVE-2026-59721/"}