CVE-2026-135400: Ever Gauzy: Deactivated user account retains full API access via JWT validation not re-checking isActive/isArchived
Ever Gauzy is an open source business management platform for ERP, CRM, HRM, ATS, and project management. Prior to 111.44.3, per-request JWT validation in packages/core/src/lib/auth/strategies/jwt.strategy.ts accepts the result of UserService.getIfExists in packages/core/src/lib/user/user.service.ts without requiring User.isActive to be true and User.isArchived to be false. When a token contains an organizationId claim, the active and archived status check applies to the UserOrganization record rather than the User entity. After an administrator deactivates an account through PATCH /api/user/:id, an existing access token can continue to authenticate API requests at the account's previous privilege level until expiration, up to 24 hours by default. This issue is fixed in version 111.44.3.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 111.44.3
Event History
Frequently Asked Questions
Who can exploit this issue?
Anyone who already has a valid access token for an account that an administrator has deactivated. No additional authentication or user interaction is required, and requests continue at the account's prior privilege level until the token expires.
Are deactivated accounts still exposed in deployments that use organization-scoped tokens?
Yes. When a token includes an organizationId claim, validation checks the UserOrganization record's active and archived state instead of requiring the underlying User entity to be active and not archived.
How long can access persist after an account is deactivated?
Access can persist until the existing token expires. The described default maximum token lifetime is up to 24 hours.
What can be done before upgrading?
The provided information identifies existing access tokens as the condition enabling continued access after deactivation. Limiting their remaining validity through token expiration is the only interim behavior described; the fix is available in version 111.44.3.
How can defenders determine whether they are affected?
Deployments running versions prior to 111.44.3 are affected. A practical indicator is whether an access token issued before PATCH /api/user/:id can still authenticate API requests after that account is deactivated.