CVE-2020-35131Agentejo Cockpit
Critical 9.8 No auth neededHigh EPSS
Follow: this CVE · Agentejo · Agentejo Cockpit We alert you by email or Slack (account required).
- Priority
- 82
- CVSS 3.1
- 9.8
- EPSS
- 77.8% probability of exploitation in 30 days · percentile 100
- Auth required
- No
- Published
- Jan 8, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
Cockpit before 0.6.1 allows an attacker to inject custom PHP code and achieve Remote Command Execution via registerCriteriaFunction in lib/MongoLite/Database.php, as demonstrated by values in JSON data to the /auth/check or /auth/requestreset URI.
What to do
- Apply the vendor's security update for Cockpit.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| agentejo | cockpit | < 0.6.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- github.com Release Notes Third Party Advisory
- www.exploit-db.com Exploit Third Party Advisory VDB Entry