CVE-2026-55742: Cotonti Cross-Site Request Forgery Vulnerability
CRITICALCVE-2026-55742 is a CRITICAL (CVSS 9.6) cross-site request forgery vulnerability (CWE-352: Cross-Site Request Forgery (CSRF)) affecting Cotonti libraries in the Packagist ecosystem. The issue involves cross-site request forgery in the administration rights handler. Remediation is available in the latest vendor maintenance releases.
CVE-2026-55742 at a Glance
Security Impact
CVSS: 9.6
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H).
How to Fix CVE-2026-55742
To remediate this vulnerability, upgrade all affected Cotonti dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade cotonti/cotonti to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for cotonti/cotonti
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-55742, inspect your project dependencies for Cotonti:
inspect dependencies for cotonti/cotonti
Analyze the terminal output to locate any version of Cotonti in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-352: Cross-Site Request Forgery (CSRF), where the web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor. In Cotonti, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-55742 Affected Cotonti Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
cotonti/cotonti
|
Packagist |
≤ 1.0.0
|
|
References
Frequently Asked Questions
What is CVE-2026-55742?
Which Cotonti versions are affected?
What version fixes CVE-2026-55742?
Is cotonti/cotonti affected?
What is the CVSS score of CVE-2026-55742?
What CWE is associated with CVE-2026-55742?
How can I check Packagist dependencies for CVE-2026-55742?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7g3p-35vc-mgjr",
"modified" : "2026-06-19T14:52:08Z",
"published" : "2026-06-18T12:40:25Z",
"aliases" : [ "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" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "cotonti/cotonti"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "1.0.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-55742"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/Cotonti/Cotonti"
}, {
"type" : "WEB",
"url" : "https://github.com/Cotonti/Cotonti/blob/f43f1fc38ba4e02027786dad9dac1435c7c52b30/system/admin/admin.rights.php#L53"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-352" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-06-19T14:52:08Z",
"nvd_published_at" : "2026-06-18T08:16:34Z"
}
}