RCE in Hoppscotch

CVE-2026-59721

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.

Vulnerability class: Command Injection (OS Command Injection)

EPSS: 0.005 (41.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-59721?
CVE-2026-59721 is a high-severity vulnerability in Hoppscotch, classified under Command Injection. CVSS score: 7.2/10. Published 2026-07-09.
How severe is CVE-2026-59721?
High severity. CVSS v3 base score is 7.2 out of 10.