Summary
CVE-2026-120446 is a missing authentication vulnerability (CWE-306) in the platform tenant management API of madong-admin-saas through version 5.1.4. The platformapi middleware key never matches the platform application, so the intended authentication is never applied. Remote, unauthenticated attackers can manage tenants and subscription plans. The CVE record rates it 8.8 (High) under CVSS v4.0.
Technical details
- Root cause: The middleware configuration uses the key
platformapi, which never matches theplatformapplication. The platform middleware group therefore applies only rate limiting. The authentication middleware attributes onAccountControllerandTenantMemberByTenantControllerare also commented out. - Related flaw (same upstream issue): In
AccessTokenMiddleware, the platform-type check runs only when multi-tenancy is disabled. With multi-tenancy enabled, a caller without theplatformtype is never rejected, so any authenticated tenant user can reach platform admin controllers. - Trigger conditions: Network access to the
/platformapiroutes. For the unauthenticated endpoints, no credentials are required. The upstream report describes the authorization bypass as applying in multi-tenant SaaS mode. - Attack vector: Network, low complexity, no privileges, no user interaction.
- Affected endpoints (per the upstream report):
/platformapi/tenant/account/*(list, create, update, delete, status, bind-plan, sync-data) and/platformapi/tenant/TenantMemberByTenant/*. - Impact: Attackers can manage tenants and subscription plans. The upstream report also describes creating platform admins, reading tenant database connection settings, and deleting or disabling tenants.
- Credit: Reported by hieuPenguinnn.
Affected software
- madong-admin-saas (madong-code) versions 0 through 5.1.4
Severity
- CVSS v4.0: 8.8 (High),
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N - CVSS v3.1 (also in the CVE record): 9.4 (Critical),
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H
Mitigation and recommended actions
- Immediate: The fix is in upstream commit
2a199a1. It corrects the middleware key fromplatformapitoplatform, addsAccessTokenMiddlewareto the platform stack, and makes theplatformorrootadmin-type check unconditional. A tagged release number containing the fix was not identified. Update to a build that includes this commit. - If you cannot update: Restrict network access to
/platformapi/*routes, for example with an IP allowlist, VPN, or a reverse proxy rule. Do not expose the platform API to the internet. - Review tenant and platform admin accounts, and tenant and subscription plan changes, for unexpected entries. Rotate tenant database credentials if exposure is suspected.

