CVE-2026-59721 Details
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.
A remote code execution vulnerability exists in Hoppscotch versions prior to 2026.6.0. The issue arises from the 'updateInfraConfigs' GraphQL mutation, which accepts an attacker-controlled 'MAILER_SMTP_URL' value. The 'validateSMTPUrl' function fails to properly sanitize the URL, allowing an admin to execute arbitrary commands as root in the backend container after a restart and the sending of an email. This vulnerability is present in the self-hosted Hoppscotch backend Docker image, all versions through 2026.5.0.
Users can upgrade to Hoppscotch version 2026.6.0 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 9, 2026CISA-ADP
Assessed Jul 9, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/hoppscotch/hoppscotch/security/advisories/GHSA-v7q6-r45w-2c6r | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/hoppscotch/hoppscotch/commit/73a88c82b1b2cada26cc4b2bc095b54554242239 | [email protected] | Source CodeVendor |
| https://github.com/hoppscotch/hoppscotch/pull/6413 | [email protected] | Issue TrackingVendor |
| https://github.com/hoppscotch/hoppscotch/releases/tag/2026.6.0 | [email protected] | Release NotesVendor |
| https://github.com/hoppscotch/hoppscotch/security/advisories/GHSA-v7q6-r45w-2c6r | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-77 | Improper Neutralization of Special Elements used in a Command ('Command Injection') | [email protected] |
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
| CWE-915 | Improperly Controlled Modification of Dynamically-Determined Object Attributes | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Hoppscotch | <= 2026.5.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 9, 2026 | CVE Modified | CISA-ADP |
| Jul 9, 2026 | New CVE Received | [email protected] |
Volerion