CVE-2026-50160
CVE-2026-50160 is a critical-severity vulnerability in Hoppscotch with a CVSS 3.x base score of 10.0. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-915.
Key facts
- Severity: Critical (CVSS 3.x base score 10.0)
- EPSS exploit prediction: 1% (44th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-915
- Affected product: Hoppscotch
- Published:
- Last modified:
Description
Hoppscotch is an API development ecosystem. In self-hosted deployments of hoppscotch-backend from version 2026.4.1 and earlier, the unauthenticated POST /v1/onboarding/config endpoint is vulnerable to mass assignment. The global NestJS ValidationPipe is configured without whitelist: true, so extra properties on the request body that are not declared in SaveOnboardingConfigRequest are not stripped and are iterated in the service layer as if they were legitimate InfraConfig entries. Because keys such as JWT_SECRET and SESSION_SECRET are valid InfraConfigEnum values and are not explicitly rejected during validation, an unauthenticated attacker who can reach a fresh instance before onboarding completes (or when no users exist) can overwrite these values in the database. Overwriting JWT_SECRET gives the attacker control of the JWT signing key, allowing them to forge tokens for any user, including administrators, and results in full server compromise. The issue is fixed in hoppscotch 2026.5.0.
Frequently asked questions
- What is CVE-2026-50160?
- Hoppscotch is an API development ecosystem. In self-hosted deployments of hoppscotch-backend from version 2026.4.1 and earlier, the unauthenticated POST /v1/onboarding/config endpoint is vulnerable to mass assignment. The global NestJS ValidationPipe is configured without whitelist: true, so extra properties on the request body that are not declared in SaveOnboardingConfigRequest are not stripped and are iterated in the service layer as if they were legitimate InfraConfig entries. Because keys such as JWT_SECRET and SESSION_SECRET are valid InfraConfigEnum values and are not explicitly rejected during validation, an unauthenticated attacker who can reach a fresh instance before onboarding completes (or when no users exist) can overwrite these values in the database. Overwriting JWT_SECRET gives the attacker control of the JWT signing key, allowing them to forge tokens for any user, including administrators, and results in full server compromise. The issue is fixed in hoppscotch 2026.5.0.
- How severe is CVE-2026-50160?
- CVE-2026-50160 has a CVSS 3.x base score of 10.0, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability none.
- Is CVE-2026-50160 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (44th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-50160?
- CVE-2026-50160 affects Hoppscotch. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-50160?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- When was CVE-2026-50160 published?
- CVE-2026-50160 was published on 2026-07-01 and last updated on 2026-07-02.
References
- https://github.com/hoppscotch/hoppscotch/pull/6171
- https://github.com/hoppscotch/hoppscotch/security/advisories/GHSA-j542-4rch-8hwf
- http://www.openwall.com/lists/oss-security/2026/06/23/7
Affected products (1)
- cpe:2.3:a:hoppscotch:hoppscotch:*:*:*:*:*:*:*:*
More vulnerabilities in Hoppscotch
- CVE-2026-34931 — Critical (CVSS 9.6): hoppscotch is an open source API development ecosystem. Prior to version 2026.3.0, there is an open redirect…
- CVE-2026-34932 — Critical (CVSS 9.3): hoppscotch is an open source API development ecosystem. Prior to version 2026.3.0, there is a stored XSS vulnerability…
- CVE-2026-28215 — Critical (CVSS 9.1): hoppscotch is an open source API development ecosystem. Prior to version 2026.2.0, an unauthenticated attacker can…
- CVE-2026-28216 — High (CVSS 8.3): hoppscotch is an open source API development ecosystem. Prior to version 2026.2.0, any logged-in user can read, modify…
- CVE-2022-0121 — High (CVSS 8.0): Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in hoppscotch…
- CVE-2023-34097 — High (CVSS 7.8): hoppscotch is an open source API development ecosystem. In versions prior to 2023.4.5 the database password is exposed…
All CVEs affecting Hoppscotch →
Other CWE-915 vulnerabilities
- CVE-2026-33453 — Critical (CVSS 10.0): Improperly Controlled Modification of Dynamically-Determined Object Attributes vulnerability in Apache Camel Camel-Coap…
- CVE-2025-58367 — Critical (CVSS 10.0): DeepDiff is a project focused on Deep Difference and search of any Python data. Versions 5.0.0 through 8.6.0 are…
- CVE-2026-56142 — Critical (CVSS 9.9): In JetBrains Hub before 2026.1.13757, 2025.3.148033, 2025.2.148048, 2025.1.148120, 2024.3.148430, 2024.2.148429…
- CVE-2025-2304 — Critical (CVSS 9.4): A Privilege Escalation through a Mass Assignment exists in Camaleon CMS When a user wishes to change his password, the…
- CVE-2025-24370 — Critical (CVSS 9.3): Django-Unicorn adds modern reactive component functionality to Django templates. Affected versions of Django-Unicorn…
- CVE-2026-34179 — Critical (CVSS 9.1): In Canonical LXD versions 4.12 through 6.7, the doCertificateUpdate function in lxd/certificates.go does not validate…