Hoppscotch
Hoppscotch: Admin RCE via MAILER_SMTP_URL nodemailer sendmail-transport injection
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.2high · scored by CNA · CWE-77
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
hoppscotch hoppscotch
- < 2026.6.0
Fixed in 2026.6.0
Mitigation
Upgrade hoppscotch to 2026.6.0 or later.
References
- Vendor advisory github.com/hoppscotch/hoppscotch/security/advi…
- Patch github.com/hoppscotch/hoppscotch/pull/6413
- Patch github.com/hoppscotch/hoppscotch/commit/73a88c…
1 more
- Release notes github.com/hoppscotch/hoppscotch/releases/tag/…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.