GHSA-4v9x-cqc5-j645
Codechecker has an authentication bypass for certain API calls
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| PyPI | codechecker | <= 6.27.3 | no fix listed |
Details
As written in the advisory (Markdown source, shown as plain text).
### Summary
Authentication bypass occurs when the URL ends with Authentication with certain function calls. This bypass allows assigning arbitrary permissions to any existing user in CodeChecker.
### Details
The following functions are affected under the Authentication endpoint: `getAuthorisedNames`, `getPermissionsForUser`, `hasPermission`, `addPermission`, and `removePermission`.
The vulnerability allows unauthenticated users to execute these function calls with arbitrary arguments.
In the logs, the exploit shows as follows:
```
[INFO 2026-04-23 21:23] - 127.0.0.1:42654 -- [Anonymous] POST /v6.67/Authentication@getAuthorisedNames
[INFO 2026-04-23 21:23] - 127.0.0.1:42654 -- [Anonymous] POST /v6.67/Authentication@addPermission
```
### Impact
An attacker with a CodeChecker user can effectively acquire superuser permissions by calling these endpoints.
### Patch
A patch is available at https://github.com/Ericsson/codechecker/releases/tag/v6.27.4.
References
External links from the advisory. They lead to third-party sites.