# CVE-2026-135399: Ever Gauzy: Demoted user's already-issued access token retains its former role for up to the token's full lifetime

> Demoted Ever Gauzy users can keep using existing access tokens to perform admin or tenant-destructive actions.

- **Severity:** High 8.8 (`CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Harmful if only installed:** No
- **Needs a specific call:** No
- **Fix available:** Yes
- **Published:** 25 Nov 2026
- **Updated:** 25 Nov 2026
- **Also known as:** GHSA-m8xc-8pwr-89fj

## What is CVE-2026-135399?

CVE-2026-135399 is a high-severity privilege escalation vulnerability in ever-co ever-gauzy, published on 25 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.

### Official description

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.

Weakness: CWE-613 (DEPRECATED: Insufficient Session Expiration)

## Which versions are affected by CVE-2026-135399?

An affected version is exposed as installed. No special setting or call is needed.


## How do I fix CVE-2026-135399?

Upgrade ever-co ever-gauzy to 111.42.10 or later. The advisory says that version fixes it.

## Is CVE-2026-135399 being exploited?

There is no known exploitation of CVE-2026-135399 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-135399 and fix it if it is affected.

What it is: CVE-2026-135399 is a high-severity privilege escalation vulnerability in ever-co ever-gauzy, published on 25 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-135399 in the wild and no public exploit code.
Exposure: An affected version is exposed as installed. No special setting or call is needed.

Affected product: ever-co ever-gauzy. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-135399/ (Markdown: https://insights.sbomify.com/CVE-2026-135399/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-135399
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-135399
- OSV: https://osv.dev/vulnerability/CVE-2026-135399

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-135399/
Summaries are generated and may contain mistakes; the official description above is the record.
