{"id":"CVE-2026-55742","title":"Cotonti: Cross-Site Request Forgery in the administration rights handler","summary":"Cotonti: Cross-Site Request Forgery in the administration rights handler","severity":"critical","cvss":9.6,"cwe":["CWE-352"],"vendor":"cotonti","product":"cotonti/cotonti","ecosystem":"composer","affected":["cotonti/cotonti <= 1.0.0"],"published":"2026-06-18","updated":"2026-06-19","source":"GHSA","sourceUrl":"https://github.com/advisories/GHSA-7g3p-35vc-mgjr","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55742"},{"url":"https://github.com/Cotonti/Cotonti"},{"url":"https://github.com/Cotonti/Cotonti/blob/f43f1fc38ba4e02027786dad9dac1435c7c52b30/system/admin/admin.rights.php#L53"},{"url":"https://github.com/advisories/GHSA-7g3p-35vc-mgjr"}],"tags":["ghsa","composer"],"epss":0.00151,"epssPercentile":0.04617,"ingestedAt":"2026-06-29T14:31:47.123Z","slug":"CVE-2026-55742","body":"## Overview\n\nCotonti 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.\n\n## Affected packages\n\n- `cotonti/cotonti <= 1.0.0`\n\n## Remediation\n\nRefer to the advisory for the patched release.","depth":"midnight","depthScore":53,"depthScoreParts":{"impact":52.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}