{"id":"GHSA-7g3p-35vc-mgjr","aliases":["CVE-2026-55742"],"title":"Cotonti: Cross-Site Request Forgery in the administration rights handler","description":"Cotonti 1.0.0 (master branch, commit f43f1fc3) is vulnerable to Cross-Site Request Forgery in the administration rights handler. In system/admin/admin.rights.php, the rights update action ('a=update') modifies group access rights (including via cot_auth_add_group) without calling cot_check_xg() to validate the anti-CSRF token. A remote attacker who lures an authenticated administrator into visiting a malicious page can force the browser to submit a forged request that grants elevated permissions to an attacker-controlled group, escalating privileges to administrator. Because Cotonti administrators can modify templates and configuration, this can be further leveraged toward remote code execution.","severity":"critical","score":9.6,"published":"2026-06-18T12:40:25.000Z","modified":"2026-09-10T03:50:48.703Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"cotonti/cotonti","ranges":[{"events":[{"introduced":"0"},{"last_affected":"1.0.0"}],"type":"ECOSYSTEM"}],"versions":["0.9.23","0.9.24","0.9.24.1","0.9.24.2","0.9.25","1.0.0"],"fixed":[]}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2026-55742","https://github.com/Cotonti/Cotonti","https://github.com/Cotonti/Cotonti/blob/f43f1fc38ba4e02027786dad9dac1435c7c52b30/system/admin/admin.rights.php#L53"],"sources":[{"name":"OSV","id":"GHSA-7g3p-35vc-mgjr","modified":"2026-09-10T03:50:48.703572776Z","url":"https://osv.dev/vulnerability/GHSA-7g3p-35vc-mgjr"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":9.6},{"source":"OSV","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","score":9.4}]}