Codechecker has an authentication bypass for certain API calls
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
Description
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.
Text from GitHub Advisory Database
Affected versions 34
- codechecker, pip<= 6.27.3GitHub
- CodeCheckeraffected: all versions through 6.27.3CVE List
- codechecker, PyPIfrom first release, through 6.27.3OSV
- codechecker, PyPI6.16.0OSV
- codechecker, PyPI6.16.0a1OSV
- codechecker, PyPI6.17.0OSV
- codechecker, PyPI6.18.0OSV
- codechecker, PyPI6.18.1OSV
- codechecker, PyPI6.18.2OSV
- codechecker, PyPI6.19.0OSV
- codechecker, PyPI6.19.1OSV
- codechecker, PyPI6.20.0OSV
- codechecker, PyPI6.20.0rc1OSV
- codechecker, PyPI6.21.0OSV
- codechecker, PyPI6.21.0rc1OSV
- codechecker, PyPI6.22.0OSV
- codechecker, PyPI6.22.0rc1OSV
- codechecker, PyPI6.22.1OSV
- codechecker, PyPI6.22.2OSV
- codechecker, PyPI6.22.2.post1OSV
- codechecker, PyPI6.23.0OSV
- codechecker, PyPI6.23.0rc2OSV
- codechecker, PyPI6.23.1OSV
- codechecker, PyPI6.24.0OSV
- codechecker, PyPI6.24.1OSV
- codechecker, PyPI6.24.2OSV
- codechecker, PyPI6.24.4OSV
- codechecker, PyPI6.25.0OSV
- codechecker, PyPI6.25.1OSV
- codechecker, PyPI6.26.0OSV
- codechecker, PyPI6.26.1OSV
- codechecker, PyPI6.26.2OSV
- codechecker, PyPI6.27.1OSV
- codechecker, PyPI6.27.3OSV
References 5
- github.com/Ericsson/codechecker/security/advisories/GHSA-4v9x-cqc5-j645Advisoryvia CVE List
- github.com/pypa/advisory-database/tree/main/vulns/codechecker/PYSEC-2026-317.yamlAdvisoryvia GitHub
- github.com/advisories/GHSA-4v9x-cqc5-j645Advisoryvia GitHub
- nvd.nist.gov/vuln/detail/CVE-2026-25660Referencevia GitHub
- pypi.org/project/codecheckerReferencevia GitHub