CVE-2026-59721 PUBLISHED

Hoppscotch: Admin RCE via MAILER_SMTP_URL nodemailer sendmail-transport injection

Assigner: GitHub_M
Reserved: 06.07.2026 Published: 09.07.2026 Updated: 09.07.2026

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

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
CVSS Score: 7.2

Product Status

Vendor hoppscotch
Product hoppscotch
Versions
  • Version < 2026.6.0 is affected

References

Problem Types

  • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') CWE
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') CWE
  • CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes CWE