CVE-2026-104084

SmarterMail < Build 9777 Stale JWT Role Claim Privilege Escalation via Refresh Token

Published Oct 9, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
SmarterMail before build 9777 contains a privilege escalation vulnerability where JWT access and refresh tokens embed a role claim at issuance that is not revalidated against the account's current role when redeemed through POST /api/v1/auth/refresh-token. Attackers who capture a refresh token issued before an administrator demotion, or a demoted user whose session was not actively polling at the time of demotion, can replay the stale token to obtain a new access token retaining the higher-privilege role (such as DomainAdmin or SysAdmin) until natural token expiry.

Analysis

AI-generated

Technical impact

SmarterMail before build 9777 issues JSON Web Tokens that embed the user’s role at issuance and does not re‑validate the role when the token is refreshed via the POST /api/v1/auth/refresh-token endpoint. Stale tokens that were issued before an account’s role was lowered can therefore be replayed to obtain a new access token that still contains the higher‑privilege role, such as DomainAdmin or SysAdmin, until the token naturally expires. This flaw permits an attacker who can capture a suitable refresh token to elevate privileges within the application without any additional action.

Affected Systems

All installations of SmarterMail produced by Smartertools that are running any build prior to 9777 are affected. No specific release numbers beyond the threshold are enumerated in the advisory, so all earlier builds are vulnerable.

Risk and Exploitability

The CVSS score of 8.7 classifies the flaw as high. The EPSS score is not available, and the vulnerability is not listed in CISA’s KEV catalog. Exploitation requires an attacker to possess a valid stale refresh token that was issued before a role change. The attacker can then submit that token to the refresh endpoint to receive an access token that still claims the higher‑privilege role. The window of opportunity lasts until the token expires, but the flaw does not provide denial of service or code execution capabilities.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest SmarterMail update (build 9777 or later) that includes the role re‑validation fix
  • Revoke all existing refresh tokens for users whose roles have changed, especially those that were previously elevated
  • Configure the system to enforce immediate token revocation upon role changes and consider reducing token lifetimes to shorten the vulnerability window
  • Monitor authentication logs for anomalous token usage and audit recent role changes
  • If an immediate patch is not available, require users to re‑authenticate after each administrative action and disable role claims on existing tokens until the update is applied

Generated by OpenCVE AI on October 9, 2026 at 17:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:smartertools:smartermail:-:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Smartertools
Smartertools smartermail
Vendors & Products Smartertools
Smartertools smartermail
Type Values Removed Values Added
Description SmarterMail before build 9777 contains a privilege escalation vulnerability where JWT access and refresh tokens embed a role claim at issuance that is not revalidated against the account's current role when redeemed through POST /api/v1/auth/refresh-token. Attackers who capture a refresh token issued before an administrator demotion, or a demoted user whose session was not actively polling at the time of demotion, can replay the stale token to obtain a new access token retaining the higher-privilege role (such as DomainAdmin or SysAdmin) until natural token expiry.
Title SmarterMail < Build 9777 Stale JWT Role Claim Privilege Escalation via Refresh Token
Weaknesses CWE-613
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-613

    Insufficient Session Expiration

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 27, 2026, 1:30 AM
Reserved
Oct 1, 2026, 6:02 PM
Status
Awaiting Analysis
Published
Oct 9, 2026, 4:17 PM
Modified
Oct 12, 2026, 2:17 PM