CVE-2026-145495 in Hoppscotch
Summary
by MITRE • 12/05/2026
Hoppscotch self-hosted backend through 2026.11.1 contains an authorization bypass vulnerability that allows authenticated team members to read other teams' root collection data via the exportCollectionToJSON GraphQL query. Attackers with VIEWER role in any team can supply another team's collection ID to retrieve its name, headers, and auth settings, including bearer tokens or basic-auth credentials.
If you want to get best quality of vulnerability data, you may have to visit VulDB.
Analysis
by VulDB Data Team • 12/05/2026
The vulnerability identified in Hoppscotch self-hosted backend versions through 2026.11.1 represents a critical failure in access control mechanisms within the application's GraphQL API layer. Specifically, this flaw manifests as an authorization bypass that permits authenticated users to access sensitive data belonging to other teams within the same instance. The core technical issue lies in the insufficient validation of resource ownership during the execution of the exportCollectionToJSON query. While the system correctly verifies that a user is authenticated and possesses at least a VIEWER role, it fails to enforce strict boundary checks between distinct team contexts. Consequently, an attacker can manipulate input parameters by supplying the collection identifier from a target team different from their own, thereby tricking the backend into retrieving and returning data associated with that unauthorized resource.
From a technical perspective, this vulnerability is classified under CWE-284 Improper Access Control, specifically reflecting issues related to insufficient authorization checks for critical functions. The attacker exploits the GraphQL endpoint by providing a valid collection ID from another team while maintaining their own authentication token. Because the backend logic does not cross-reference the provided collection ID against the teams associated with the authenticated user's session or role permissions, it proceeds to serialize and return the full contents of that collection. This includes metadata such as the collection name, HTTP headers required for API requests, and crucially, authentication settings like bearer tokens or basic-auth credentials stored within those collections.
The operational impact of this vulnerability is severe due to the nature of the data exposed. Hoppscotch serves as an API development and testing tool where users frequently store sensitive configuration details, including private keys, API secrets, and session tokens required for authenticating with external services. By leveraging this flaw, a malicious actor holding even minimal privileges can exfiltrate these credentials from any team on the instance. This leads to unauthorized access to downstream systems that rely on these compromised authentication mechanisms. The attacker could potentially perform actions as other users or services, leading to data breaches, service disruption, and further lateral movement within connected infrastructure.
This behavior aligns with MITRE ATT&CK technique T1078 Valid Accounts, where attackers use legitimate credentials to gain access, combined with aspects of T1530 Data from Local System Exfiltration if the scope extends beyond immediate team boundaries. The vulnerability highlights a common pitfall in multi-tenant or team-based SaaS architectures where isolation between tenant contexts is not rigorously enforced at every API endpoint level. It underscores the necessity for developers to implement explicit ownership verification logic, ensuring that any resource accessed via an API call belongs to a context permitted by the current user's role and affiliations.
To mitigate this vulnerability, immediate patching of the Hoppscotch backend to version 2026.11.2 or later is required, as these versions include fixes for the authorization logic in the GraphQL resolvers. In environments where upgrading is not immediately feasible, network-level controls such as Web Application Firewalls can be configured to monitor and restrict unusual patterns of collection ID access across different team contexts. Additionally, organizations should enforce strict separation of duties by limiting VIEWER roles from accessing export functionalities that contain sensitive authentication data until the patch is applied. Regular audits of API endpoints for proper authorization checks are essential to prevent similar bypasses in other parts of the application stack.