Advisory

GHSA-7g3p-35vc-mgjr

Also known as: CVE-2026-55742

Summary

Cotonti: Cross-Site Request Forgery in the administration rights handler

Details

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 Basis: The source's own band: CRITICAL

Dates

Published
2026-06-18 12:40 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

cotonti/cotonti

Packagist · All systems

Affected

  • introduced 0, last affected 1.0.0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences