CVE Professor
/
All CVEs
CVE-2026-135400

CVE-2026-135400 — Ever-co Ever-gauzy — CWE-613

CRITICAL CVSS 9.8 Shodan

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.

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.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. None PR:N
User Interaction None UI:N
Scope Unchanged S:U
Confidentiality High C:H
Integrity High I:H
Availability High A:H
AI Security Analysis & Remediation

🎯 What is this vulnerability?

Technical flaw
Ever Gauzy’s JWT‑based authentication is performed in packages/core/src/lib/auth/strategies/jwt.strategy.ts.
When a request arrives, the strategy calls UserService.getIfExists to resolve the user record from the token’s sub claim.
The returned user object is then accepted without verifying two critical flags:

FlagIntended meaningWhere it should be checked
User.isActiveUser account is enabledDuring JWT validation (before any request handling)
User.isArchivedUser account is not archivedDuring JWT validation (before any request handling)

If the token also contains an organizationId claim, the same “active/archived” checks are mistakenly applied to the UserOrganization record instead of the User entity.

Consequences:

An account that has been deactivated via PATCH /api/user/:id (or archived) remains authenticatable* until the JWT expires (default 24 h).

  • The attacker can continue to use the token at the privilege level that the user originally had (e.g., admin, manager, etc.).

  • The flaw is purely a logic/authorization error – it does not involve missing cryptographic checks, but it allows unauthorized* continued access.

    CWE – CWE‑613 (Insufficient Authentication of Source of a Message) – the system fails to verify that the source (the user) is still valid at the time of the request.

    CVSS – 9.8/10 (CRITICAL) with vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H reflects that a remote attacker can exploit this with no user interaction, low effort, and can fully compromise confidentiality, integrity, and availability.


    ⚡ Attack Chain

    NOTE: The following chain is a realistic, step‑by‑step example that demonstrates how the flaw can be abused. The exact endpoint names or parameter names are taken from the CVE description; if a different endpoint is used in a particular deployment, the same logic applies.

    1. Discovery & Reconnaissance

    StepTechniqueWhat to look for
    1.1Port & Service ScanIdentify HTTP(S) service on ports 80/443.
    1.2Banner Grabcurl -I https://target → look for “Ever Gauzy” in the Server: header or a custom header like X-Application: Ever Gauzy.
    1.3Version DetectionQuery the public health endpoint (often /api/health or /api/version). Example: curl https://target/api/version. The response will contain a JSON object with a version field. If the version is < 111.44.3, the system is vulnerable.
    1.4User Enumeration (optional)If the API allows unauthenticated user listing (GET /api/users?public=true), enumerate users to identify potential targets.

    2. Exploitation

    The core of the attack is to obtain a valid JWT for a user that has already been deactivated (or archived). Two common ways to get such a token:

    MethodHow it works
    Credential theftPhish or brute‑force a deactivated user’s credentials, then log in normally to receive a fresh token.
    Token replayCapture a token from a legitimate session (e.g., via a compromised device or a man‑in‑the‑middle on an internal network).

    Once you have a token, you can use it to authenticate any request. The flaw allows the token to be accepted even though the user’s isActive flag is false or isArchived is true.

    PoC (illustrative)

    # Assume we have a stolen JWT for user 1234 that was deactivated 2 hours ago.
    TOKEN="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0IiwiYXV0aF9pZCI6IjEyMzQiLCJvcm5hbGlkSWQiOiI1Njc4IiwiZXhwIjoxNzAwMDAwMDAwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"
    
    # Target a protected endpoint – e.g., list all projects (admin‑only).
    curl -H "Authorization: Bearer $TOKEN" https://target.example.com/api/projects

    If the request succeeds, the token is still valid even though the user is deactivated.

    Important: The exact endpoint (/api/projects) is illustrative. Any endpoint that requires authentication will behave the same way.

    3. Post‑Exploitation

    Once authenticated as the deactivated user, the attacker can:

    1. Maintain persistence – Use the same token until it expires (default 24 h).
    2. Escalate privileges – If the deactivated user had admin rights, the attacker can:
    * Create new users (including admin accounts).
    * Modify existing users’ roles.
    * Access sensitive data (CRM records, financials).
    3. Data exfiltration – Dump database tables via API endpoints or export functions.
    4. Lateral movement – Use the token to access other services that trust the same JWT (e.g., internal microservices).

    Because the flaw is purely an authorization bypass, the attacker does not need to exploit any other vulnerability to gain full control.


    🌍 Real World Impact

    ImpactExplanation
    Confidentiality (C: H)The attacker can read any data the deactivated user could access, including customer records, financial data, and HR information.
    Integrity (I: H)The attacker can modify data (e.g., change account balances, alter employee records) because the token is accepted as a legitimate session.
    Availability (A: H)By creating or modifying users, the attacker can lock out legitimate users, delete critical data, or disrupt business processes.

    Practical consequences

  • Data breach – Sensitive customer or employee data may be exposed.
  • Regulatory non‑compliance – Many jurisdictions require that deactivated accounts cannot access data; failure to enforce this can lead to fines.
  • Business disruption – An attacker can sabotage operations by deleting or corrupting records.
  • Reputational damage – Clients may lose trust if their data is compromised.

  • 🛡️ Remediation & Mitigation

    1. Exact affected versions

    ProductAffected rangeFixed in
    Ever Gauzy< 111.44.3111.44.3 and later

    Upgrade recommendation
    Immediately upgrade to 111.44.3 or newer. The patch adds a check for User.isActive and User.isArchived during JWT validation and correctly applies the check to the User entity, not the UserOrganization record.

    2. Workarounds (if upgrade is not immediately possible)

    MitigationHow to implement
    Token revocation on deactivationAdd a middleware that, on each request, queries the database for User.isActive and User.isArchived. If either flag is false, reject the request with 401 Unauthorized. This can be added to the existing jwt.strategy.ts before calling super.validate.
    Shorten token lifetimeReduce the JWT expiration (exp) to a few hours (e.g., 2 h) so that a deactivated user’s token will expire quickly. This does not fix the flaw but limits the window of abuse.
    WAF ruleBlock requests that contain a JWT with a sub claim that matches a known deactivated user ID. Example ModSecurity rule (illustrative):<br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\-_]+)" "id:1001,phase:2,t:none,chain"<br>SecRule MATCHED_VAR "@rx ^eyJzdWIiOiI([0-9]+)" "t:none,chain"<br>SecRule MATCHED_VAR "@rx ^eyJzdWIiOiI([0-9]+)" "t:none,chain"<br>SecRule MATCHED_VAR "@rx ^eyJzdWIiOiI([0-9]+)" "t:none,phase:2,deny,log,msg:'Deactivated user token used'"
    Disable public user registrationIf your deployment allows unauthenticated user creation, disable it to reduce the attack surface.
    NOTE: Workarounds are temporary. The only definitive fix is the version upgrade.

    3. Detection

    IndicatorLog patternHow to spot it
    Unauthorized access after deactivationGET /api/... - 200 - Authorization: Bearer <token> where the token’s sub claim corresponds to a user that was deactivated within the last 24 h.Correlate sub claim with a deactivation timestamp in your audit logs.
    Repeated requests from the same tokenMultiple entries with the same Authorization header and identical sub claim.Use log aggregation (ELK, Splunk) to flag repeated usage of a single token.
    Unexpected privilege escalationAPI responses that indicate admin actions (e.g., POST /api/users creating a new admin) performed by a user that is not listed as an admin in the audit trail.Cross‑reference the sub claim with the user’s role in the database.

    IoCs (examples)

  • Authorization: Bearer eyJhbGci... – JWT containing sub claim of a deactivated user.
  • User.isActive:false or User.isArchived:true in audit logs.
  • PATCH /api/user/:id followed by successful GET /api/... with the same token.

  • ⚠️ Urgency

  • CVSS 9.8 – Critical severity.
  • No CISA KEV status – The flaw is not yet in the KEV list, but the impact is high enough that it should be treated as a top‑priority patch.
  • Low exploitation complexity – Requires only a valid JWT; no special privileges or code execution.
  • High impact – Full compromise of confidentiality, integrity, and availability.
Patch priority: Immediate. Apply the upgrade to 111.44.3 or later as soon as possible. If an upgrade cannot be performed within 24 h, implement the token‑revocation middleware and shorten token lifetimes to mitigate the risk.
[🤖 CVE Professor AI Security Engine]
Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="ever-co ever-gauzy"
PoC & Exploit Intelligence (GitHub)
Technical reference / advisory repository for CVE-2026-135400
Technical reference / advisory repository for CVE-2026-135400
Technical reference / advisory repository for CVE-2026-135400
Technical reference / advisory repository for CVE-2026-135400
Technical reference / advisory repository for CVE-2026-135400
Technical reference / advisory repository for CVE-2026-135400
CVSS Score
9.8 / 10 · CVSS CRITICAL
Weakness Types (CWE)
CWE-613
Affected Products (1)
ever-co:ever-gauzy
Related CVEs
9.9
CVE-2026-77526
FacturaScripts is an open source accounting and invoicing software. From version 2025 to before version 2026.3
9.8
CVE-2026-105103
A backdoor in Elinktek UZ801 4G LTE USB Dongle firmware UFI003S_V03_ZX_DD_250226 and earlier allows the manufa
9.8
CVE-2026-105104
Use of hard-coded credentials in Elinktek UZ801 4G LTE USB Dongle firmware UFI003S_V03_ZX_DD_250226 and earlie
9.4
CVE-2026-129109
Calico installations managed by the Tigera Operator install a FlexVolume driver (nodeagent~uds/uds) on every L
6.3
CVE-2026-145185
Internxt drive-server-wip before commit 6a7801c contains an insufficient session expiration vulnerability in A
6.3
CVE-2026-144822
A security flaw has been discovered in gz-yami mall4j up to 4.0. This vulnerability affects unknown code of th
6.3
CVE-2026-120772
Insufficient session expiration in back-end login in dotCMS 25.03.12 through 26.10.28-03 (remember-me logins s