Summary
In Ever Gauzy versions before 111.44.3, JWT validation does not check the user's active or archived status, so a token already issued remains valid after the account is deactivated. The CVSS 3.1 score is 9.8 (critical).
What happened
Ever Gauzy is an open source business management platform (ERP, CRM, HRM, ATS and project management). Before version 111.44.3, per-request JWT validation accepts the result of the user lookup without requiring the user to be active and not archived. When the token contains an organizationId claim, the active and archived check is applied to the user-organization record rather than to the user entity. As a result, 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 it expires, which is up to 24 hours by default. The weakness is classified as CWE-613.
Why it matters
Deactivating an account does not immediately cut off access for anyone holding a valid token, who can keep using the API with the previous privileges for up to 24 hours by default. The source assigns a CVSS 3.1 score of 9.8 (critical), with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (source: CNA GitHub_M). Active exploitation is not recorded in CISA's KEV catalog, and the source does not state that this is a zero-day.
Affected products and versions
ever-gauzy by ever-co: versions prior to 111.44.3 (< 111.44.3).
| Product | Versions | Fixed in |
|---|---|---|
| ever-co ever-gauzy | < 111.44.3 | — |
Action recommended by the source
The vendor states the issue is fixed in version 111.44.3. The source does not mention other mitigations. The vendor provides more detail in its security advisory (GHSA-3cgp-wmrg-4fqg) and in the v111.44.3 release on GitHub.
Sources and references
- https://github.com/ever-co/ever-gauzy/security/advisories/GHSA-3cgp-wmrg-4fqg — CVE Program
- https://github.com/ever-co/ever-gauzy/pull/10191 — CVE Program
- https://github.com/ever-co/ever-gauzy/pull/10240 — CVE Program
- https://github.com/ever-co/ever-gauzy/commit/2be605d307d8ea274a517c4328b1dab8584ee4b1 — CVE Program
- https://github.com/ever-co/ever-gauzy/commit/95767c8e645e3ecbf7fc87983e5b5f9000c2b694 — CVE Program
- https://github.com/ever-co/ever-gauzy/commit/ebf676b2f87fef193fa969e79d94e50048667054 — CVE Program
- https://github.com/ever-co/ever-gauzy/releases/tag/v111.44.3 — CVE Program
Weaknesses (CWE): CWE-613
Relevant change history
Advisory correction
The preliminary version was replaced by the full write-up.
Published
Preliminary advisory published.