Skip to main content
← All vulnerabilities
CVE-2026-59721

Hoppscotch: Admin RCE via MAILER_SMTP_URL nodemailer sendmail-transport injection

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2026.6.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • hoppscotch hoppscotch

    fixed in 2026.6.0

References 4

GitHub · hoppscotch/hoppscotch