Mass Assignment via Onboarding Endpoint Allows Unauthenticated JWT_SECRET Overwrite

Summary

CVECVE-2026-50160
StatePUBLISHED
AssignerGitHub_M
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-07-01 19:16:53 UTC
Updated2026-07-02 19:45:47 UTC
DescriptionHoppscotch 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.

Risk And Classification

Primary CVSS: v3.1 10 CRITICAL from [email protected]

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N

EPSS: 0.005900000 probability, percentile 0.439360000 (date 2026-07-05)

Problem Types: CWE-915 | CWE-915 CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary10CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
3.1CNADECLARED10CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Hoppscotch Hoppscotch All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Hoppscotch Hoppscotch affected <= 2026.4.1 Not specified

References

ReferenceSourceLinkTags
github.com/hoppscotch/hoppscotch/pull/6171 [email protected] github.com Issue Tracking, Patch
github.com/hoppscotch/hoppscotch/security/advisories/GHSA-j542-4rch-8hwf 134c704f-9b21-4f2e-91b3-4a467353bcc0 github.com Exploit, Mitigation, Vendor Advisory
www.openwall.com/lists/oss-security/2026/06/23/7 af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Exploit, Mailing List, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report