Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain admin GraphQL access
-
DeliverySubmit updateInfraConfigs with malicious MAILER_SMTP_URL
-
ExploitBypass validateSMTPUrl via path/query/fragment
-
ExecutionInject nodemailer sendmail options
-
PersistTrigger restart and mail send
-
ImpactExecute arbitrary command as root
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated admin account able to call the updateInfraConfigs GraphQL mutation (CVSS PR:H), so this is not exploitable by anonymous users. The attacker must set the MAILER_SMTP_URL infra configuration to a malicious URL whose path, query, or fragment encodes nodemailer sendmail transport options. Exploitation is further gated on two operational triggers: the backend service must restart to load the new configuration, and a mail-sending event must occur to invoke the sendmail transport that runs the injected command. Limiting factors are therefore the admin-privilege prerequisite, the dependency on the sendmail/nodemailer mail path being active, and the restart-plus-mail timing; deployments that never restart with the poisoned value or never send mail are not affected. |
| Impact | The CVSS 3.1 base score is 7.2 (High) with vector AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H - network-reachable, low-complexity, no user interaction, but gated behind high privileges (PR:H), namely an existing admin account. That privilege requirement is the dominant limiting factor: this is a privilege-escalation/persistence primitive for an admin who already controls infra configuration, not an unauthenticated internet-facing RCE. There is no KEV listing and no known POC, so no public exploit is identified at time of analysis, and no EPSS score was provided, leaving the statistical exploitation-probability signal absent. The realistic threat is an insider, a compromised admin credential, or a chained attack that first obtains admin GraphQL access. Impact once triggered is severe (root command execution, C:H/I:H/A:H), so despite the moderate score it warrants priority on any multi-tenant or shared Hoppscotch deployment where admin access is not strictly trusted. Note exploitation is not instantaneous: it requires a service restart and a mail-send event to fire, slightly reducing immediacy. |
| Exploit ScenarioDerived | An attacker who has obtained Hoppscotch admin access (via credential theft, a rogue administrator, or a chained flaw) submits an updateInfraConfigs GraphQL mutation setting MAILER_SMTP_URL to a crafted value whose fragment or query embeds sendmail transport options pointing at an arbitrary command. After the backend restarts and the next email is dispatched, nodemailer executes the injected command as root inside the container. No public POC is currently identified, but the attack is low-complexity for anyone holding the required admin token. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 09, 2026
Command injection in self-hosted Hoppscotch instances prior to 2026.6.0 allows an authenticated administrator to achieve root-level code execution in the backend container. The updateInfraConfigs GraphQL mutation accepts an attacker-controlled MAILER_SMTP_URL whose path, query, or fragment is parsed by nodemailer into sendmail transport options, turning SMTP configuration into arbitrary command execution once the service restarts and sends mail. No public exploit identified at time of analysis, but the flaw is confirmed and patched upstream in release 2026.6.0.
RemediationAI
Vendor-released patch: 2026.6.0 - upgrade all self-hosted Hoppscotch backend containers to 2026.6.0 or later, which corrects validateSMTPUrl to reject path/query/fragment content that nodemailer would treat as sendmail options (fix commit 73a88c82b1b2cada26cc4b2bc095b54554242239, PR https://github.com/hoppscotch/hoppscotch/pull/6413, advisory https://github.com/hoppscotch/hoppscotch/security/advisories/GHSA-v7q6-r45w-2c6r). If immediate patching is not possible, restrict and audit who holds admin/infra-configuration rights since the mutation requires admin privileges, keep the admin GraphQL endpoint off untrusted networks, and treat the MAILER_SMTP_URL value as security-sensitive by validating that it is a plain host:port SMTP URL with no path, query string, or fragment before it is applied; these controls only reduce exposure and do not close the underlying injection, so upgrading remains the only complete fix. Because the payload fires on restart and mail send, also review the current MAILER_SMTP_URL setting for any injected sendmail options before the next restart.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Hoppscotch is an open-source API development platform (a self-hosted Postman/Insomnia alternative) whose admin backend exposes a GraphQL API for runtime configuration. The vulnerable path lives in admin/infra.resolver.ts, where the updateInfraConfigs mutation persists the MAILER_SMTP_URL value used to configure outbound email. The validateSMTPUrl routine in utils.ts is too permissive: it accepts URL path, query, and fragment components that nodemailer subsequently interprets as sendmail transport options rather than as a benign SMTP endpoint. Because nodemailer's sendmail transport can be pointed at an arbitrary binary with attacker-supplied arguments, this maps to CWE-77 (Command Injection) - untrusted input flows into a command the mail subsystem executes, in this case as root inside the backend container.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Admin-only infra mutation makes PR:H; network-reachable GraphQL with a straightforward payload gives AV:N/AC:L, and root command execution yields full C/I/A:H.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
1DescriptionCVE.org
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.
Executive ViewAI
Hoppscotch self-hosted versions prior to 2026.6.0 contain a command injection flaw allowing authenticated administrators to achieve root-level code execution on backend infrastructure. No public exploit has been identified, but a patch is available. Insider threats or compromised admin accounts could seize container control, access sensitive data, and disrupt API testing operations.
Apply vendor patch to Hoppscotch 2026.6.0 or later. Interim: Restrict Hoppscotch administrator access to essential personnel only and implement real-time monitoring of configuration mutation events to detect exploitation attempts.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
EUVD-2026-42653
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB