Original 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 software
- Hoppscotch Community Edition * repository or package match
Details
- Published
- 2026-07-10
- Last modified
- 2026-07-10
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H- CWE
- CWE-77, CWE-78, CWE-915
- EPSS (30-day exploit probability)
- 1.01% (percentile 64)
References
- cve.org/CVE-2026-59721
- nvd.nist.gov/vuln/detail/CVE-2026-59721
- github.com/hoppscotch/hoppscotch/security/advisories/GHSA-v7q6-r45w-2c6r
- github.com/hoppscotch/hoppscotch/pull/6413
- github.com/hoppscotch/hoppscotch/commit/73a88c82b1b2cada26cc4b2bc095b54554242239
- github.com/hoppscotch/hoppscotch/releases/tag/2026.6.0
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.