CVE-2026-91939
9.8Cotonti · Cotonti
The Cotonti Comments plugin contains an unsafe deserialization vulnerability in the ci parameter, allowing unauthenticated attackers to trigger remote code execution via PHP object injection.
Executive summary
A critical deserialization vulnerability in the Cotonti Comments plugin allows unauthenticated attackers to achieve remote code execution on affected systems.
Vulnerability
The Comments plugin fails to restrict classes during the unserialize() operation on the ci GET parameter, which is processed without validation. An unauthenticated attacker can supply a malicious serialized payload to instantiate arbitrary PHP classes, leading to object injection and potential remote code execution.
Business impact
This vulnerability carries a CVSS score of 9.8, reflecting its critical nature. A successful exploit grants an attacker full control over the application, enabling unauthorized database manipulation, data exfiltration, or complete system compromise. Such an event would result in severe reputational damage, operational downtime, and potential regulatory non-compliance regarding data privacy.
Remediation
Immediate Action: Update the Cotonti installation to the latest available version where this deserialization flaw has been addressed. If an update is not immediately feasible, remove or disable the Comments plugin to eliminate the attack vector.
Proactive Monitoring: Review web server access logs for requests containing base64-encoded strings within the ci parameter, which may indicate exploitation attempts. Monitor system process activity for unexpected child processes spawned by the web server user.
Compensating Controls: Deploy a Web Application Firewall (WAF) with rules configured to block requests containing serialized PHP objects or suspicious base64 payloads targeting the Comments plugin.
Exploitation status
Public Exploit Available: No
Analyst recommendation
Given the critical severity and the potential for unauthenticated remote code execution, this vulnerability requires immediate attention. Security teams should prioritize patching the Cotonti environment or disabling the vulnerable Comments plugin as an interim measure. Ensure that all web-facing components are reviewed for similar insecure deserialization patterns to prevent further exposure.
More Cotonti CVEs
History
- Disclosed CVE record published
- Collected by CVE Brief via github
- Analyst report written
- Published in the daily brief critical section
Sources
Originally found and disclosed by Harsh Raj Singhania, per the CVE Program record.
- GitHub Issue #1888 Issue tracker
- Proposed fix PR #1889 (unmerged) Patch commit
- CommentsWidget::run() at 1.0.0 Technical analysis
- AJAX display controller at 1.0.0 Technical analysis
- Default comments permissions at 1.0.0 Technical analysis
- github.com
- VulnCheck Advisory: Cotonti 1.0.0 Comments Plugin PHP Object Injection via ci Parameter Third-party advisory