Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/hoppscotch/hoppscotch/commit/73a88c82b1b2cada26cc4b2bc095b545
- https://github.com/hoppscotch/hoppscotch/pull/6413
- https://github.com/hoppscotch/hoppscotch/releases/tag/2026.6.0
- https://github.com/hoppscotch/hoppscotch/security/advisories/GHSA-v7q6-r45w-2c6r
- https://github.com/hoppscotch/hoppscotch/security/advisories/GHSA-v7q6-r45w-2c6r
FAQ
What is CVE-2026-59721?
CVE-2026-59721 is a vulnerability with a CVSS score of 7.2 (HIGH). 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 ...
How severe is CVE-2026-59721?
CVE-2026-59721 has been rated HIGH with a CVSS base score of 7.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-59721?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.