{"id":"PYSEC-2026-317","summary":"Codechecker has an authentication bypass for certain API calls","details":"### Summary\nAuthentication bypass occurs when the URL ends with Authentication with certain function calls. This bypass allows assigning arbitrary permissions to any existing user in CodeChecker.\n\n### Details\n\nThe following functions are affected under the Authentication endpoint: `getAuthorisedNames`, `getPermissionsForUser`, `hasPermission`, `addPermission`, and `removePermission`.\n\nThe vulnerability allows unauthenticated users to execute these function calls with arbitrary arguments.\n In the logs, the exploit shows as follows:\n```\n[INFO 2026-04-23 21:23] - 127.0.0.1:42654 -- [Anonymous] POST /v6.67/Authentication@getAuthorisedNames\n[INFO 2026-04-23 21:23] - 127.0.0.1:42654 -- [Anonymous] POST /v6.67/Authentication@addPermission\n```\n \n### Impact\nAn attacker with a CodeChecker user can effectively acquire superuser permissions by calling these endpoints.\n\n### Patch\nA patch is available at https://github.com/Ericsson/codechecker/releases/tag/v6.27.4.","aliases":["CVE-2026-25660","GHSA-4v9x-cqc5-j645"],"modified":"2026-07-01T20:22:50.508956Z","published":"2026-06-29T11:50:50.050635Z","references":[{"type":"WEB","url":"https://github.com/Ericsson/codechecker/security/advisories/GHSA-4v9x-cqc5-j645"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25660"},{"type":"PACKAGE","url":"https://github.com/Ericsson/codechecker"},{"type":"PACKAGE","url":"https://pypi.org/project/codechecker"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-4v9x-cqc5-j645"}],"affected":[{"package":{"name":"codechecker","ecosystem":"PyPI","purl":"pkg:pypi/codechecker"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.27.3"}]}],"versions":["6.16.0","6.16.0a1","6.17.0","6.18.0","6.18.1","6.18.2","6.19.0","6.19.1","6.20.0","6.20.0rc1","6.21.0","6.21.0rc1","6.22.0","6.22.0rc1","6.22.1","6.22.2","6.22.2.post1","6.23.0","6.23.0rc2","6.23.1","6.24.0","6.24.1","6.24.2","6.24.4","6.25.0","6.25.1","6.26.0","6.26.1","6.26.2","6.27.1","6.27.3"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/codechecker/PYSEC-2026-317.yaml"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P"}]}