What’s Vulnerable › Vulnerabilities
CVE-2026-8890: code100x Mobile API Authentication Bypass via Header Spoofing
- Severity: high (CVSS 8.2 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-26 · updated 2026-07-23
- Weakness: CWE-639
Description
code100x contains an authentication bypass vulnerability in the Mobile API that allows unauthenticated attackers to impersonate arbitrary users by supplying a crafted JSON payload in the 'g' HTTP header. The middleware in middleware.ts skips identity header generation when an Auth-Key header is present without validating its value, allowing attackers to inject a spoofed user identity header that the downstream route handler in the mobile courses endpoint accepts as trusted, granting unauthorized access to course data belonging to any enrolled user or administrator.
Affected products
- code100x: before 90b489ee7c63c301107d6374d4b3f2b8e4060fe5; before 88c6c5e94e23da101235c4c7e9c7591ac1016549 — fixed in 88c6c5e94e23da101235c4c7e9c7591ac1016549, 90b489ee7c63c301107d6374d4b3f2b8e4060fe5
How to fix
Upgrade to a fixed version: code100x 88c6c5e94e23da101235c4c7e9c7591ac1016549, 90b489ee7c63c301107d6374d4b3f2b8e4060fe5. Check the vendor advisory for mitigations.
References
- https://github.com/code100x/cms/issues/1924
- https://github.com/code100x/cms/pull/1927
- https://github.com/code100x/cms/pull/1927/changes/88c6c5e94e23da101235c4c7e9c7591ac1016549
- https://github.com/code100x/cms/pull/1927/changes/90b489ee7c63c301107d6374d4b3f2b8e4060fe5
- https://www.vulncheck.com/advisories/code100x-mobile-api-authentication-bypass-via-header-spoofing
- https://github.com/code100x/cms/issues/1924
- https://github.com/code100x/cms/pull/1927
Get alerted when CVE-2026-8890 or the next vulnerability affects your stack