Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. cotonti/cotonti
  4. ›
  5. CVE-2026-55742

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

June 18, 2026 (updated June 19, 2026)

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

  • github.com/Cotonti/Cotonti
  • github.com/Cotonti/Cotonti/blob/f43f1fc38ba4e02027786dad9dac1435c7c52b30/system/admin/admin.rights.php
  • github.com/advisories/GHSA-7g3p-35vc-mgjr
  • nvd.nist.gov/vuln/detail/CVE-2026-55742

Code Behaviors & Features

Detect and mitigate CVE-2026-55742 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 1.0.0

Solution

Unfortunately, there is no solution available yet.

Impact 9.6 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

packagist/cotonti/cotonti/CVE-2026-55742.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 19 Jul 2026 12:18:06 +0000.