# CVE-2026-59721: Hoppscotch: Admin RCE via MAILER_SMTP_URL nodemailer sendmail-transport injection

- Severity: High 7.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-09T17:24:46.098Z
- Modified: 2026-07-10T19:15:15.780Z
- Weaknesses: CWE-77, CWE-78, CWE-915
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- hoppscotch hoppscotch: < 2026.6.0

## References

- <https://github.com/hoppscotch/hoppscotch/security/advisories/GHSA-v7q6-r45w-2c6r> (exploit)
- <https://github.com/hoppscotch/hoppscotch/pull/6413>
- <https://github.com/hoppscotch/hoppscotch/commit/73a88c82b1b2cada26cc4b2bc095b54554242239>
- <https://github.com/hoppscotch/hoppscotch/releases/tag/2026.6.0>

## Sources

- CVE List: [CVE-2026-59721](https://www.cve.org/CVERecord?id=CVE-2026-59721), CVE Terms of Use, modified 2026-07-09
- NVD: [CVE-2026-59721](https://nvd.nist.gov/vuln/detail/CVE-2026-59721), Public domain, modified 2026-07-10

---

Page: https://cve.day/CVE-2026-59721 · Whole record: https://cve.day/CVE-2026-59721.json · Rebuilt by cve.day 2026-11-25T22:59:27.527Z
