Hoppscotch: Admin RCE via MAILER_SMTP_URL nodemailer sendmail-transport injection
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-59721
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 16:39 UTC · Revision 1
Source evidence
Hoppscotch: Admin RCE via MAILER_SMTP_URL nodemailer sendmail-transport injection
core-osv · Original sourcePublished 9 Jul 2026, 17:24 UTC
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.
osv:CVE-2026-59721
Complete source record
{
"id": "7b9c8566a919c9b91c141670b84ade1acfce96bb3bad0f67cec9ba9e14ccabe9",
"url": "https://osv.dev/vulnerability/CVE-2026-59721",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Hoppscotch: Admin RCE via MAILER_SMTP_URL nodemailer sendmail-transport injection",
"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.",
"evidence": "osv:CVE-2026-59721",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-59721",
"aliases": [
"CVE-2026-59721",
"GHSA-v7q6-r45w-2c6r"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/hoppscotch/hoppscotch",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "afc2cf181c16e56647b099e5d18cfe55710c6cdd"
},
{
"fixed": "73a88c82b1b2cada26cc4b2bc095b54554242239"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "2026.6.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "73a88c82b1b2cada26cc4b2bc095b54554242239"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "afc2cf181c16e56647b099e5d18cfe55710c6cdd"
}
],
"source": "REFERENCES_TAG",
"original_tag": "2026.6.0"
}
]
}
}
],
"versions": [
"2026.5.0",
"2026.4.0",
"2026.3.1",
"2026.3.0",
"2026.2.1",
"2026.2.0",
"2026.1.1",
"2026.1.0",
"2025.12.1",
"2025.12.0",
"2025.11.2",
"2025.11.1",
"2025.11.0",
"2025.10.1",
"2025.10.0",
"2025.9.2",
"2025.9.1",
"2025.9.0",
"2025.8.1",
"2025.8.0",
"2025.7.1",
"2025.7.0",
"2025.6.1",
"2025.6.0",
"2025.5.1",
"2025.5.0",
"2025.4.0",
"2025.3.2",
"2025.3.1",
"2025.3.0",
"2025.2.1",
"2025.2.0",
"2025.1.1",
"2025.1.0",
"2024.12.2",
"2024.12.1",
"2024.12.0",
"2024.11.0",
"2024.10.1",
"2024.10.0",
"2024.9.2",
"2024.9.1",
"2024.9.0",
"2024.8.3",
"2024.8.2",
"2024.8.1",
"2024.8.0",
"2024.7.1",
"2024.7.0",
"2024.6.0",
"2024.3.3",
"2024.3.2",
"2024.3.1",
"2024.3.0",
"2023.12.3",
"2023.12.2",
"2023.12.1",
"2023.12.0",
"2023.8.2",
"2023.8.1",
"2023.8.0",
"2023.4.5",
"2023.4.4",
"2023.4.3",
"2023.4.2",
"2023.4.1",
"2023.4.0",
"v3.0.1",
"v3.0.0",
"v2.2.1",
"v2.2.0",
"v2.1.0",
"v2.0.0",
"v1.12.0",
"v1.10.0",
"v1.9.9",
"v1.9.7",
"v1.9.5",
"v1.9.0",
"v1.5.0",
"v1.0.0",
"v0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-59721.json"
}
}
],
"modified": "2026-10-28T02:30:37.421854975Z",
"provider": "osv",
"references": [
"https://github.com/hoppscotch/hoppscotch/releases/tag/2026.6.0",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59721.json",
"https://github.com/hoppscotch/hoppscotch/security/advisories/GHSA-v7q6-r45w-2c6r",
"https://nvd.nist.gov/vuln/detail/CVE-2026-59721",
"https://github.com/hoppscotch/hoppscotch/commit/73a88c82b1b2cada26cc4b2bc095b54554242239",
"https://github.com/hoppscotch/hoppscotch/pull/6413"
],
"provider_metadata": {
"cwe_ids": [
"CWE-77",
"CWE-78",
"CWE-915"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59721.json"
}
},
"related_cves": [
{
"value": "CVE-2026-59721",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 504787,
"published_at": "2026-07-09T17:24:46.098+00:00"
}