CVE-2026-59721
JSON

7.2high

Hoppscotch: Admin RCE via MAILER_SMTP_URL nodemailer sendmail-transport injection

Severity
7.2high CVSS:3.1 by GitHub_M
Exploit likelihood
0.52% (higher than 45% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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.

Affected

Product or packageVersionsReported by
hoppscotch hoppscotch< 2026.6.0CVE List

Classification

CWE-77CWE-78CWE-915

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-59721 changed 2026-07-09CVE Terms of Use
NVDCVE-2026-59721 changed 2026-07-10Public domain