Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain token while holding SUPER_ADMIN role
-
DeliveryAdministrator demotes the user's role
-
ExploitRetain still-valid unexpired JWT
-
ExecutionCall DELETE /api/tenant with stale token
-
PersistRoleGuard trusts stale role claim
-
ImpactTenant destruction and billing control retained
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V7 - Session Management Session expiration enforcement
|
| Exploitation Conditions | Exploitation requires that the attacker previously authenticated to Ever Gauzy while holding an elevated role (SUPER_ADMIN or ADMIN) and still possesses that issued access token; the token must be within its lifetime (24h by default per JWT_TOKEN_EXPIRATION_TIME=86400 in .env.sample). The window opens only after an administrator demotes or revokes that user's role and closes when the original token expires, since no mechanism invalidates outstanding tokens on role change (accessTokenService.revoke fires only on logout). Limiting factors: the attacker must have held prior privileged access (not a general outsider), exploitation is confined to the residual token lifetime, and the issue only matters where role downgrade/revocation is relied upon as a security control. Affected routes are those gated solely by @UseGuards(RoleGuard)+@Roles(...) with no DB-fresh permission check (e.g. PUT/DELETE /api/tenant). |
| Impact | This is a genuine but bounded privilege-persistence flaw (CWE-613, insufficient session expiration), not a mass-exploitable remote takeover. The CVSS vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (8.8) is network-reachable and low-complexity, but PR:L is the critical qualifier: the actor must already possess a valid access token that was minted while they held an elevated role (SUPER_ADMIN/ADMIN). The risk is therefore scoped to insider/revocation scenarios - a demoted or offboarded administrator - rather than arbitrary unauthenticated attackers. No EPSS score was supplied and the CVE is not in CISA KEV, so there is no signal of active or widespread exploitation; the only exploitation evidence is the step-by-step PoC narrative inside the GHSA advisory. The vuln.today decision label is 'this_week' (priority but not act_now/emergency), which is consistent with the picture: a real access-control defect worth patching promptly, but gated behind prior privileged access and a 24-hour window rather than an internet-wide emergency. Note the input Tag 'Information Disclosure' conflicts with the actual impact - this is broken access control / stale-authorization leading to tenant-destructive and billing actions (I:H/A:H), not primarily disclosure. |
| Exploit ScenarioDerived | A Super Admin logs in and receives a 24-hour access token, then is demoted by another administrator; because RoleGuard reads the role claim baked into the JWT rather than the user's current database role, the demoted user keeps using the still-valid token to call privileged routes. Within the token's remaining lifetime they invoke DELETE /api/tenant or a billing-gated endpoint and the request succeeds despite the revocation. The GHSA advisory includes a reproducible PoC narrative, though no packaged exploit tool is published. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 25, 2026
Role-based authorization in Ever Gauzy before 111.42.10 trusts the role claim baked into an already-issued JWT rather than the user's current database role, so a demoted administrator keeps SUPER_ADMIN or ADMIN rights on guarded routes such as PUT/DELETE /api/tenant and billing endpoints for up to the 24-hour default access-token lifetime. The flaw is rated CVSS 8.8 (AV:N/AC:L/PR:L/UI:N, C:H/I:H/A:H) and requires the attacker to hold a still-valid token issued while they had elevated privileges; it is a bounded privilege-persistence problem rather than a mass-exploitable remote takeover. No CISA KEV entry or confirmed working exploit code is associated with CVE-2026-135399, although the vendor advisory publishes a step-by-step reproduction procedure, and remediation against the 111.42.10 release is a this-week priority.
RemediationAI
Vendor-released patch: upgrade Ever Gauzy to 111.42.10 or later (release https://github.com/ever-co/ever-gauzy/releases/tag/v111.42.10), which is the complete fix per the advisory and ships the new RoleAuthorizationService that re-reads the current role and permissions from the database on every request rather than trusting the JWT role claim. Verify the deployment actually runs 111.42.10, since the CPE range covers every earlier build. For hosts that cannot upgrade immediately, the residual exposure is bounded by the access-token lifetime: because no mechanism invalidates outstanding tokens on role change (accessTokenService.revoke fires only on logout), force a logout / token revocation for every account being demoted, archived or deactivated and confirm the token is no longer accepted before treating the revocation as effective; operators can also lower JWT_TOKEN_EXPIRATION_TIME from its 86400-second default to shrink the window, accepting more frequent re-authentication for all users as the trade-off. Until the patch is applied, avoid treating a role downgrade as an effective control on RoleGuard-only routes such as PUT/DELETE /api/tenant and billing endpoints, and treat any previously privileged user's unexpired token as still fully privileged.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Ever Gauzy is a NestJS/TypeScript business-management platform whose authentication uses JWTs verified through Passport strategies. At issuance, packages/core/src/lib/auth/auth.service.ts (getJwtAccessToken) embeds the user's role name as a role claim. RoleGuard (packages/core/src/lib/shared/guards/role.guard.ts) delegates to RequestContext.hasRoles (packages/core/src/lib/core/context/request-context.ts:398-420), which re-verifies the raw bearer token and compares the role claim against the required RolesEnum values; it never consults the database-fresh user object that JwtStrategy.validate() already attaches to the request. Because access tokens default to a 24-hour lifetime (JWT_TOKEN_EXPIRATION_TIME=86400 in .env.sample) and no mechanism invalidates outstanding tokens when a role changes (accessTokenService.revoke is invoked only on logout), this is a textbook CWE-613 insufficient session expiration: authorization state outlives the revocation event. Routes such as PUT /api/tenant (tenant.controller.ts:104-105) and DELETE /api/tenant (:138-140) carry only @UseGuards(RoleGuard) + @Roles(RolesEnum.SUPER_ADMIN) with no additional database-fresh permission guard, so they inherit the stale decision. The fix in PR #10191 adds a RoleAuthorizationService (exported from packages/core/src/index.ts) that loads the current role and permissions and pins them onto request.user inside JwtStrategy, making the strategy the single place that re-reads the account on every request; the same patch bundle also hardens JwtRefreshTokenStrategy so that deactivated or archived accounts (isActive ! true || isArchived ! false) cannot be handed an authenticated identity, adjacent work tracked under GHSA-3cgp-wmrg-4fqg and GHSA-44pv-34gx-q9p4.
Know when Ever Gauzy gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Network API reachable (AV:N), no special trigger conditions (AC:L); PR:L because the actor must hold a token issued while privileged; tenant-destructive DELETE and billing access give C/I/A:H.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Technical POC Analysis
CWE-613 (Insufficient Session Expiration).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-135399 is a high-severity authorization flaw in Ever Gauzy that allows recently demoted administrators to retain SUPER_ADMIN or ADMIN privileges for up to 24 hours, potentially enabling unauthorized access to sensitive tenant and billing endpoints. This undermines the reliability of access revocation controls and could lead to financial fraud or data exposure. Leadership should prioritize remediation within the week to close this privilege-persistence window.
No vendor-released patch identified at time of analysis. Interim mitigations: immediately revoke all active JWT tokens for users with recent role changes, shorten access token lifetime, and monitor for anomalous privileged actions.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
More in Ever Gauzy
View allDeactivated and archived Ever Gauzy accounts keep full authenticated API access until their already-issued access token
Ever Gauzy deployments before 111.42.13 expose a public GitHub App webhook receiver (POST /api/integration/github/webhoo
Ever Gauzy deployments prior to 111.44.2 accept a client-supplied CF-Connecting-IP header (and, on the fallback path, an
Cross-tenant data exposure in Ever Gauzy lets an authenticated tenant administrator holding EXPORT_ADD/ALL_ORG_VIEW or I
Ever Gauzy before 111.42.9 lets non-EMPLOYEE roles (MANAGER, DATA_ENTRY, VIEWER or custom roles) write to time-tracking
EUVD-2026-135544
NVD
CVE.org
EPSS
GitHub
Exploit-DB