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

Published Jul 9, 2026
·
Updated

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

Affected Software

1 affected component
hoppscotch hoppscotch<2026.6.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Hoppscotch to a version that resolves this vulnerability.

    Fixed in 2026.6.0

Event History

Jul 9, 2026
CVE Published
via MITRE·05:24 PM
Data Sourced
via MITRE·05:24 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-59721?

The severity of CVE-2026-59721 is classified as high with a score of 7.2.

2

How do I fix CVE-2026-59721?

To address CVE-2026-59721, update to version 2026.6.0 or later of Hoppscotch where the vulnerability is patched.

3

What are the potential impacts of CVE-2026-59721?

CVE-2026-59721 can lead to remote code execution through administrator access when the MAILER_SMTP_URL is manipulated.

4

Which software is affected by CVE-2026-59721?

CVE-2026-59721 affects the Hoppscotch API development ecosystem prior to version 2026.6.0.

5

What type of vulnerability is CVE-2026-59721?

CVE-2026-59721 is categorized as a command injection vulnerability, specifically an OS command injection risk.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203