{"id":"GHSA-4v9x-cqc5-j645","aliases":["CVE-2026-25660","PYSEC-2026-317"],"title":"Codechecker has an authentication bypass for certain API calls","description":"### 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.\nIn 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.","severity":"critical","score":9.3,"published":"2026-05-05T17:58:09.000Z","modified":"2026-10-27T16:45:03.525Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"PyPI","name":"codechecker","ranges":[{"events":[{"introduced":"0"},{"last_affected":"6.27.3"}],"type":"ECOSYSTEM"}],"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"],"fixed":[]}],"references":["https://github.com/Ericsson/codechecker/security/advisories/GHSA-4v9x-cqc5-j645","https://nvd.nist.gov/vuln/detail/CVE-2026-25660","https://github.com/Ericsson/codechecker","https://github.com/pypa/advisory-database/tree/main/vulns/codechecker/PYSEC-2026-317.yaml","https://pypi.org/project/codechecker"],"sources":[{"name":"OSV","id":"GHSA-4v9x-cqc5-j645","modified":"2026-10-27T16:45:03.525213578Z","url":"https://osv.dev/vulnerability/GHSA-4v9x-cqc5-j645"}],"assessments":[{"source":"OSV","vector":"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","score":9.3}]}