Skip to main content

mall4j CVE-2026-102367

| EUVDEUVD-2026-88583 MEDIUM
Insufficient Session Expiration (CWE-613)
2026-09-29 disclosure@vulncheck.com GHSA-4jg6-vww8-2xf3
5.3
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate and obtain refresh token
  2. Delivery
    Administrator disables the account
  3. Exploit
    POST /token/refresh with old token
  4. Execution
    Server skips enabled-flag validation
  5. Persist
    New session tokens issued
  6. Impact
    Retain 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

mall4j 0 ≤4.0

Affected Packages

euvd mall4j no fix

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

Vendor (vulncheck) PRIMARY 5.3 MEDIUM
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
vuln.today AI 5.4 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Medium
popular open-source Java/Spring e-commerce platform, sizable self-hosted footprint
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

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

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy