{"id":"CVE-2026-102364","summary":"mall4j through 4.0 Improper Authentication Accepts Storefront Tokens on Admin API","details":"mall4j through 4.0 fails to validate the sysType field in sa-token sessions, allowing storefront customers to authenticate as back-office users by reusing their session tokens. Attackers can register on the public storefront and use their customer session token to access admin endpoints lacking @PreAuthorize permission checks, including menu listings, file uploads, and configuration endpoints.","modified":"2026-10-28T02:30:59.934405716Z","published":"2026-09-28T23:34:29.221Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102364.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-287"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102364.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-102364"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/mall4j-through-4.0-improper-authentication-accepts-storefront-tokens-on-admin-api"},{"type":"PACKAGE","url":"https://github.com/gz-yami/mall4j"},{"type":"ARTICLE","url":"https://github.com/gz-yami/mall4j/blob/ffc672fc1aa4320ce02d0b93853bb456ae0a4dae/yami-shop-security/yami-shop-security-common/src/main/java/com/yami/shop/security/common/filter/AuthFilter.java#L60-L119"},{"type":"EVIDENCE","url":"https://github.com/LinYuanyi1/cve-request-poc/blob/114b3f0d149e50a7678f591bf8043399fc9ac96c/mall4j/A05_sys_menu_missing_perm.py"},{"type":"EVIDENCE","url":"https://github.com/LinYuanyi1/cve-request-poc/blob/114b3f0d149e50a7678f591bf8043399fc9ac96c/mall4j/A09_admin_read_endpoints_bfla.py"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gz-yami/mall4j","events":[{"introduced":"ffc672fc1aa4320ce02d0b93853bb456ae0a4dae"},{"last_affected":"ffc672fc1aa4320ce02d0b93853bb456ae0a4dae"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0"},{"last_affected":"4.0"}],"source":"AFFECTED_FIELD"},{"source":"DESCRIPTION","range":[{"introduced":"4j"},{"last_affected":"4.0"}]}]}}],"versions":["v4.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-102364.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}