Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate and obtain refresh token
-
DeliveryAdministrator disables the account
-
ExploitPOST /token/refresh with old token
-
ExecutionServer skips enabled-flag validation
-
PersistNew session tokens issued
-
ImpactRetain unauthorized account access
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 an attacker to already hold a valid, non-expired refresh token for a mall4j account (through 4.0) that has subsequently been disabled by an administrator - the flaw lets that disabled account keep renewing sessions via POST /token/refresh because TokenController/TokenStore never re-validate the account's enabled flag. Limiting factors: the attacker must have possessed working credentials or a live refresh token before deactivation (PR:L, not a fresh-account bypass), the endpoint must be network-reachable, and the impact is limited to preserving prior access rather than escalating privileges or accessing new accounts. No user interaction is needed. |
| Impact | This is a genuine but modest-severity access-control persistence flaw, not a high-urgency issue. The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N, base 5.3) indicates a network-reachable, low-complexity attack requiring low privileges (PR:L) - consistent with the description, since exploitation requires a valid pre-existing refresh token belonging to the account being disabled. Public exploit code exists (VulnCheck-linked PoC on GitHub), which raises practical exploitability, but there is NO CISA KEV listing and NO EPSS score supplied, so there is no evidence of active or widespread exploitation - PoC availability and active exploitation are distinct signals. No SSVC decision data was provided. The real-world risk is bounded: an attacker cannot gain new access, only PRESERVE access an administrator intended to revoke by disabling the account. This is a real defect worth patching in identity/lifecycle-sensitive deployments, but it is a low-CVSS, narrow-trigger issue rather than a critical priority. Note the input Tag 'Information Disclosure' conflicts with the actual weakness (CWE-613 insufficient session expiration / broken access-control persistence) - treat the tag as unreliable. |
| Exploit ScenarioDerived | A user with valid mall4j credentials (or a compromised account) authenticates and obtains a refresh token; an administrator later disables the account to revoke access. The attacker continues to call POST /token/refresh, which never checks the account's enabled flag, and receives fresh access tokens indefinitely, retaining full access despite the deactivation. A public proof-of-concept (T02_refresh_token_enabled_bypass.py) demonstrates the bypass. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 29, 2026
Disabled mall4j accounts (through 4.0) can indefinitely renew their sessions by calling POST /token/refresh, because the refresh flow issues a new token without re-checking the account's enabled flag, letting a user that an administrator deactivated retain the access they already had. The attacker must already hold a valid, non-expired refresh token obtained before deactivation, so this is an authenticated access-control persistence flaw (CVSS 5.3, CWE-613), not an unauthenticated bypass or a route to new accounts. Publicly available exploit code exists (a proof-of-concept Python script), but no active exploitation has been confirmed (not in CISA KEV), and the practical impact is limited to preserving prior access rather than escalating privileges.
RemediationAI
No vendor-released patch was identified at time of analysis, so the primary fix must be applied in code: add an enabled-flag check to the refresh path so that TokenController/TokenStore look up the user on POST /token/refresh and reject the request when the account is disabled. Compensating controls include purging the affected user's refresh tokens from TokenStore (or maintaining a server-side revocation/denylist) whenever an administrator disables an account - this restores the intended revocation but requires admin tooling or a small code change; shortening the refresh-token TTL so a disabled account's persistence window is bounded, at the cost of more frequent re-authentication for all users; and, as a blunt but effective stopgap, blocking POST /token/refresh at the reverse proxy or WAF, with the trade-off that legitimate clients lose silent session renewal and must log in again. Operators should also monitor for repeated /token/refresh activity from accounts that administrators have deactivated, and track upstream fixes at https://github.com/gz-yami/mall4j and the advisory https://www.vulncheck.com/advisories/mall4j-through-4.0-insufficient-session-expiration-via-token-refresh.
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
mall4j is a Java/Spring-based e-commerce platform whose session management lives in the yami-shop-security module: TokenController exposes POST /token/refresh (TokenController.java, lines 38-44) and delegates new-token issuance to TokenStore (TokenStore.java, lines 121-130). The defect maps to CWE-613, Insufficient Session Expiration: when a refresh token is presented, the refresh path mints a fresh access token without consulting the user record's enabled/disabled flag, so administrative deactivation never breaks the session chain. The weakness sits in refresh-token lifecycle logic rather than in token signature or format validation, meaning unrelated protections (JWT signing, access-token expiry) continue to work while disabled-account revocation silently fails. Because the flaw only re-issues credentials for an identity that was previously valid, an attacker cannot use it to obtain tokens for accounts they never controlled.
Know when Java 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Network endpoint, low complexity; PR:L because a valid pre-existing refresh token/credential is required; limited C/I impact from retained account access, no availability impact.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
DescriptionCVE.org
mall4j through 4.0 contains an insufficient session expiration vulnerability in the token refresh endpoint that fails to validate the enabled flag when issuing new sessions. Disabled user accounts can indefinitely renew their sessions through the POST /token/refresh endpoint, retaining access that account disabling was intended to remove.
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
Related Vulnerabilities in mall4j Missing Auth and Access Control Vulnerabilities
View all 7Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
EUVD-2026-88583
GHSA-4jg6-vww8-2xf3
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB