CVE-2026-16450

zsadmin2025 ZS-Admin MyBatis-Plus Tenant Plugin page getTenantId authorization

Published Jul 21, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
A vulnerability was identified in zsadmin2025 ZS-Admin up to b52e14536d59fda11e56e2536a1c32e82a38cead. This affects the function getTenantId of the file /api/system/sys/dept/page of the component MyBatis-Plus Tenant Plugin. Such manipulation of the argument X-Tenant-Id leads to authorization bypass. The attack may be performed from remote. The exploit is publicly available and might be used. This product utilizes a rolling release system for continuous delivery, and as such, version information for affected or updated releases is not disclosed. The project was informed of the problem early through an issue report but has not responded yet.

Analysis

AI-generated

Technical impact

A flaw in the getTenantId function of ZS-Admin’s MyBatis‑Plus Tenant Plugin allows an attacker to manipulate the X‑Tenant‑Id request header and bypass authorization checks. The vulnerability is limited to the /api/system/sys/dept/page endpoint but can be triggered from any remote client that can send HTTP requests. If successful the attacker could potentially retrieve or manipulate data belonging to other tenants, compromising confidentiality and integrity of tenant data. This vulnerability stems from weak access control (CWE-285) and improper authorization (CWE-639).

Affected Systems

The affected product is zsadmin2025 ZS‑Admin. No specific version numbers are disclosed, as the project uses a rolling‑release model and does not publish formal release tags. The vulnerability exists in any release up to the commit b52e14536d59fda11e56e2536a1c32e82a38cead.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity, while the EPSS score of less than 1% suggests low likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog. It can be exploited remotely by crafting an HTTP request that sets the X‑Tenant‑Id header to an arbitrary value, thereby gaining unauthorized access to resources under that tenant identifier. An exploit is publicly available, indicating that attackers can readily use the vulnerability.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest available patch or upgrade to a newer release of ZS‑Admin where the bug is fixed.
  • If an upgrade is not possible, configure the application to ignore or strictly validate the X‑Tenant‑Id header, or disable the MyBatis‑Plus Tenant Plugin entirely for endpoints that do not require tenant separation.
  • Monitor inbound HTTP traffic for unexpected X‑Tenant‑Id values and audit access logs for signs of unauthorized access attempts.
  • Consider restricting external access to the /api/system/sys/dept/page endpoint through network firewall rules or API gateway policies.

Generated by OpenCVE AI on August 1, 2026 at 06:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A vulnerability was identified in zsadmin2025 ZS-Admin up to b52e14536d59fda11e56e2536a1c32e82a38cead. This affects the function getTenantId of the file /api/system/sys/dept/page of the component MyBatis-Plus Tenant Plugin. Such manipulation of the argument X-Tenant-Id leads to authorization bypass. The attack may be performed from remote. The exploit is publicly available and might be used. This product utilizes a rolling release system for continuous delivery, and as such, version information for affected or updated releases is not disclosed. The project was informed of the problem early through an issue report but has not responded yet.
Title zsadmin2025 ZS-Admin MyBatis-Plus Tenant Plugin page getTenantId authorization
First Time appeared Zsadmin2025
Zsadmin2025 zs-admin
Weaknesses CWE-285
CWE-639
CPEs cpe:2.3:a:zsadmin2025:zs-admin:*:*:*:*:*:*:*:*
Vendors & Products Zsadmin2025
Zsadmin2025 zs-admin
References
Metrics cvssV2_0

{'score': 4, 'vector': 'AV:N/AC:L/Au:S/C:P/I:N/A:N/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 4.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-285

    Improper Authorization

  • CWE-639

    Authorization Bypass Through User-Controlled Key

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Jul 23, 2026, 2:26 PM
Reserved
Jul 21, 2026, 8:55 AM
Status
Deferred
Published
Jul 21, 2026, 4:17 PM
Modified
Oct 24, 2026, 8:10 PM