Hoppscotch: Admin RCE via MAILER_SMTP_URL nodemailer sendmail-transport injection
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution, Tampering
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-77 and CWE-915.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| hoppscotch | hoppscotch | before 2026.6.0 | 2026.6.0 | Patch available | CNA |
- hoppscotch Vendorhoppscotch Affected before 2026.6.0 Fixed in 2026.6.0 Patch available CNA
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:hoppscotch:hoppscotch:*:*:*:*:*:*:*:* | — | — | hoppscotch |
- cpe:2.3:a:hoppscotch:hoppscotch:*:*:*:*:*:*:*:* Versions — — ·hoppscotch
Remediation
- Fix · CNA hoppscotch (hoppscotch) Fixed in 2026.6.0
Timeline
- 2026-10-02 Threatist record created from CVE-2026-59721
References
More hoppscotch vulnerabilities
- TI-2026-36924 Mass Assignment via Onboarding Endpoint Allows Unauthenticated JWT_SECRET Overwrite CVSS 3.1CRITICAL 10.0
- TI-2023-16943 Database password exposed in logs in hoppscotch CVSS 3.1HIGH 8.8
- TI-2026-42590 Hoppscotch: Insecure Default Configuration Allows Public Exposure of Private Collection Data via Mock Server CVSS 3.1HIGH 7.5
- TI-2026-32417 hoppscotch: Unauthenticated Onboarding Config Disclosure via Empty Recovery Token CVSS 3.1HIGH 7.5
- TI-2026-27155 hoppscotch: Improper loopback redirect_uri validation in device-login flow CVSS 4.0HIGH 8.5
- TI-2024-22688 @hoppscotch/cli affected by Sandbox Escape in @hoppscotch/js-sandbox leads to RCE CVSS 3.1HIGH 8.4
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences