bytebase - Improper Authorization
Description
The “Bytebase” application does not restrict low privilege user to access admin “projects“ for which an unauthorized user can view the “projects“ created by “Admin” and the affected endpoint is “/api/project?user=${userId}”.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Bytebase does not restrict low privilege users from accessing admin projects, allowing unauthorized viewing of project data via the /api/project endpoint.
Vulnerability
Description
The vulnerability in Bytebase, an open-source database DevOps tool, allows low privilege users to access projects created by administrators. The affected endpoint is /api/project?user=${userId}, which does not enforce appropriate access controls. This means that an unprivileged user can enumerate or view projects that should be restricted to admin roles [1].
Attack
Vector
To exploit this vulnerability, an attacker must have a valid low privilege account in Bytebase. The attacker can then craft requests to the /api/project?user=${userId} endpoint, substituting different userId parameters to list or view admin projects. The attack does not require any additional authentication bypass, as the endpoint lacks proper authorization checks for low privilege users [1]. The lack of restriction is evident in the code handling project listing, as seen in the frontend store logic [3].
Impact
An attacker with low privilege access can gain visibility into sensitive project information, including potentially confidential database schemas, configurations, and other operational data that the admin projects contain. This could lead to further targeted attacks or data exposure within the organization's database management workflows. The vulnerability undermines the platform's stated access control and RBAC capabilities [2].
Mitigation
Users should upgrade to a patched version of Bytebase as soon as it becomes available. The Bytebase project maintainers have been notified and a fix is expected. As of the publication date, no workaround is available [1][4].
- NVD - CVE-2022-32170
- GitHub - bytebase/bytebase: World's most advanced database DevSecOps solution for Developer, Security, DBA and Platform Engineering teams. The GitHub/GitLab for database DevSecOps.
- bytebase/frontend/src/store/modules/project.ts at 1.0.4 · bytebase/bytebase
- 2022-32170 | Mend Vulnerability Database
AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/bytebase/bytebaseGo | >= 0.1.0, <= 1.0.4 | — |
Affected products
3Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
4- github.com/advisories/GHSA-9mmc-27gw-w6mqghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-32170ghsaADVISORY
- github.com/bytebase/bytebase/blob/1.0.4/frontend/src/store/modules/project.tsghsax_refsource_MISCWEB
- www.mend.io/vulnerability-database/CVE-2022-32170ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.