{"api_version":"1","generated_at":"2026-07-10T12:42:03+00:00","cve":"CVE-2026-59721","urls":{"html":"https://cve.report/CVE-2026-59721","api":"https://cve.report/api/cve/CVE-2026-59721.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-59721","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-59721"},"summary":{"title":"Hoppscotch: Admin RCE via MAILER_SMTP_URL nodemailer sendmail-transport injection","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.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-07-09 18:16:57","updated_at":"2026-07-09 20:16:30"},"problem_types":["CWE-77","CWE-78","CWE-915","CWE-77 CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')","CWE-78 CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","CWE-915 CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","score":"7.2","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","baseScore":7.2,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.2","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","data":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.2,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://github.com/hoppscotch/hoppscotch/commit/73a88c82b1b2cada26cc4b2bc095b54554242239","name":"https://github.com/hoppscotch/hoppscotch/commit/73a88c82b1b2cada26cc4b2bc095b54554242239","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/hoppscotch/hoppscotch/security/advisories/GHSA-v7q6-r45w-2c6r","name":"https://github.com/hoppscotch/hoppscotch/security/advisories/GHSA-v7q6-r45w-2c6r","refsource":"134c704f-9b21-4f2e-91b3-4a467353bcc0","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/hoppscotch/hoppscotch/pull/6413","name":"https://github.com/hoppscotch/hoppscotch/pull/6413","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/hoppscotch/hoppscotch/releases/tag/2026.6.0","name":"https://github.com/hoppscotch/hoppscotch/releases/tag/2026.6.0","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-59721","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59721","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"hoppscotch","product":"hoppscotch","version":"affected < 2026.6.0","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2026-59721","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","timestamp":"2026-07-09T19:12:47.044468Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-07-09T19:13:03.635Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"references":[{"tags":["exploit"],"url":"https://github.com/hoppscotch/hoppscotch/security/advisories/GHSA-v7q6-r45w-2c6r"}],"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"product":"hoppscotch","vendor":"hoppscotch","versions":[{"status":"affected","version":"< 2026.6.0"}]}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.2,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-77","description":"CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-78","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-915","description":"CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-07-09T17:24:46.098Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/hoppscotch/hoppscotch/security/advisories/GHSA-v7q6-r45w-2c6r","tags":["x_refsource_CONFIRM"],"url":"https://github.com/hoppscotch/hoppscotch/security/advisories/GHSA-v7q6-r45w-2c6r"},{"name":"https://github.com/hoppscotch/hoppscotch/pull/6413","tags":["x_refsource_MISC"],"url":"https://github.com/hoppscotch/hoppscotch/pull/6413"},{"name":"https://github.com/hoppscotch/hoppscotch/commit/73a88c82b1b2cada26cc4b2bc095b54554242239","tags":["x_refsource_MISC"],"url":"https://github.com/hoppscotch/hoppscotch/commit/73a88c82b1b2cada26cc4b2bc095b54554242239"},{"name":"https://github.com/hoppscotch/hoppscotch/releases/tag/2026.6.0","tags":["x_refsource_MISC"],"url":"https://github.com/hoppscotch/hoppscotch/releases/tag/2026.6.0"}],"source":{"advisory":"GHSA-v7q6-r45w-2c6r","discovery":"UNKNOWN"},"title":"Hoppscotch: Admin RCE via MAILER_SMTP_URL nodemailer sendmail-transport injection"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-59721","datePublished":"2026-07-09T17:24:46.098Z","dateReserved":"2026-07-06T15:34:16.916Z","dateUpdated":"2026-07-09T19:13:03.635Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-07-09 18:16:57","lastModifiedDate":"2026-07-09 20:16:30","problem_types":["CWE-77","CWE-78","CWE-915","CWE-77 CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')","CWE-78 CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","CWE-915 CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","baseScore":7.2,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.2,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-07-09T19:12:47.044468Z","id":"CVE-2026-59721","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"59721","Ordinal":"1","Title":"Hoppscotch: Admin RCE via MAILER_SMTP_URL nodemailer sendmail-tr","CVE":"CVE-2026-59721","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"59721","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Hoppscotch: Admin RCE via MAILER_SMTP_URL nodemailer sendmail-tr"}]}}}