CVE-2026-135399 in Ever Gauzyinfo

Summary

by MITRE • 11/25/2026

Ever Gauzy is an open source business management platform for ERP, CRM, HRM, ATS, and project management. Prior to 111.42.10, RoleGuard authorizes requests using the role claim embedded in an access token instead of the user's current database role in packages/core/src/lib/core/context/request-context.ts through RequestContext.hasRoles. After an administrator demotes a user, an already-issued token can continue to pass role checks for up to the token's 24-hour default lifetime, including on DELETE /api/tenant and other RolesEnum.SUPER_ADMIN or ADMIN guarded routes, which can preserve tenant-destructive and billing privileges after revocation. This issue is fixed in version 111.42.10.

Once again VulDB remains the best source for vulnerability data.

Analysis

by VulDB Data Team • 11/25/2026

Ever Gauzy serves as a comprehensive open-source business management platform integrating functionalities for enterprise resource planning, customer relationship management, human resources, applicant tracking, and project management. A critical security vulnerability was identified within the authentication and authorization mechanisms of this software prior to version 111.42.10. The core issue resides in how the RoleGuard component validates user permissions during API requests. Specifically, the system relies on the role claim embedded directly within the JSON Web Token issued at login time rather than querying the current state of the user's role from the persistent database. This architectural decision creates a significant discrepancy between the token-based authorization and the actual administrative status of the user account stored in the backend systems.

The technical flaw is located in the RequestContext.hasRoles method found within packages/core/src/lib/core/context/request-context.ts. When an administrator demotes or revokes privileges from a specific user, this change is correctly reflected in the database. However, because the application continues to trust the static role information contained in the access token for subsequent requests, the revoked permissions remain active until the token expires. Given that Ever Gauzy utilizes a default token lifetime of twenty-four hours, an attacker or malicious insider who has obtained a valid access token can continue to execute privileged operations even after their administrative rights have been formally removed by system administrators. This delay in privilege revocation effectively creates a window of opportunity where unauthorized actions can be performed with the full weight of elevated privileges.

The operational impact of this vulnerability is severe, particularly regarding data integrity and financial security within multi-tenant environments. The most critical risk involves routes protected under RolesEnum.SUPER_ADMIN or ADMIN designations. An actor possessing an outdated token could successfully execute destructive operations such as DELETE /api/tenant requests. This capability allows for the permanent deletion of entire tenant datasets, leading to catastrophic data loss that may not be recoverable depending on backup configurations. Furthermore, these elevated privileges often encompass billing and subscription management features. Consequently, a user with a stale token could potentially manipulate billing information, alter subscription statuses, or access sensitive financial records long after their account should have been restricted. This undermines the fundamental principle of least privilege and compromises the trust model inherent in multi-tenant SaaS architectures.

From a classification perspective, this vulnerability aligns closely with CWE-270, which describes Privilege Context Switching Errors where an application fails to properly switch between different security contexts or privileges during execution. It also relates to CWE-613, Insufficient Session Expiration, as the system does not invalidate sessions or tokens promptly upon administrative revocation of rights. In terms of offensive cybersecurity frameworks, this behavior facilitates ATT&CK technique T1078, Valid Accounts, specifically when combined with persistence mechanisms that allow an attacker to maintain access despite credential changes. The vulnerability essentially allows for privilege escalation through token reuse after de-escalation events have occurred in the backend identity provider or database.

To mitigate this risk, organizations running versions of Ever Gauzy prior to 111.42.10 must upgrade immediately to the patched version where the authorization logic has been corrected to validate roles against the live database state rather than relying solely on token claims. For environments that cannot yet upgrade, interim mitigations should focus on reducing the access token lifetime significantly below the default twenty-four hours to minimize the window of exposure following any administrative action. Additionally implementing a centralized session management service or revocation list can help ensure that tokens are invalidated immediately upon role changes. Security teams should also audit existing logs for evidence of unauthorized tenant deletions or billing modifications during periods where user roles were recently modified, as this may indicate exploitation of this flaw before the patch was applied.

Responsible

GitHub M

Reservation

11/23/2026

Disclosure

11/25/2026

Moderation

accepted

CPE

ready

EPSS

0.00635

KEV

no

Activities

very low

Sources