CVE-2026-55742
JSON

9.4critical

Cotonti CSRF in admin.rights.php allows privilege escalation

Severity
9.4critical CVSS:4.0 by TuranSec
Exploit likelihood
0.15% (higher than 4% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
TuranSec
Also known as
GHSA-7g3p-35vc-mgjr

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.

Affected

Product or packageVersionsReported by
Cotonti Cotonti1.0.0CVE List
cotonti/cotonti (Packagist)up to 1.0.0GitHub Advisory Database

All scores

TuranSec9.6critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
TuranSec9.4critical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
GitHub9.6critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
GitHubcritical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Classification

CWE-352

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

GitHub Advisory Database

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.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-55742 changed 2026-08-10CVE Terms of Use
GitHub Advisory DatabaseGHSA-7g3p-35vc-mgjr changed 2026-09-10CC-BY-4.0
NVDCVE-2026-55742 changed 2026-08-10Public domain