CVEs / CVE-2020-35131
CVE-2020-35131: n/a n/a vulnerability
- critical 9.8 CVSS 3.1 (NVD)
- EPSS 77.8% chance of exploitation in the next 30 days, higher than 99% of CVEs (26 Nov 2026)
- Last changed at its sources
Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.
Check your servers with Stackurity Already using Stackurity? Search for CVE-2020-35131
Description
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.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| n/a n/a | n/a | — |
Exploitation
Not in the CISA Known Exploited Vulnerabilities catalog as of 25 Nov 2026.
Severity
| CVSS 3.1 | 9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HScored by NVD |
|---|---|
| Weakness | CWE-94 |
References
- CVE-2020-35131 on NVD
- CVE-2020-35131 on OSV
- https://github.com/agentejo/cockpit/commits/next/lib/MongoLite/Database.php Third Party Advisory
- https://github.com/agentejo/cockpit/releases/tag/0.6.1 Release Notes, Third Party Advisory
- https://www.exploit-db.com/exploits/49390 Exploit, Third Party Advisory, VDB Entry
Sources
Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.
This product uses data from the NVD API but is not endorsed or certified by the NVD.