CVE-2020-35131
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.
Does this matter?
EPSS puts the probability of exploitation in the next 30 days at 50.3%, higher than 99% of all known CVEs. Patch or mitigate before the next change window.
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.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 50.26% probability · 99th percentile
- Public exploits
- None in Exploit-DB
- CISA KEV
- Not listed
- Weakness
- CWE-94
- Affected
- agentejo/cockpit
- Source
- cve@mitre.org
EPSS moved from 50.3% on 3 October 2026 to 50.3% on 3 November 2026. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”.
References
- https://github.com/agentejo/cockpit/commits/next/lib/MongoLite/Database.phpThird Party Advisory
- https://github.com/agentejo/cockpit/releases/tag/0.6.1Release Notes, Third Party Advisory
- https://www.exploit-db.com/exploits/49390Exploit, Third Party Advisory, VDB Entry
- https://github.com/agentejo/cockpit/commits/next/lib/MongoLite/Database.phpThird Party Advisory
- https://github.com/agentejo/cockpit/releases/tag/0.6.1Release Notes, Third Party Advisory
- https://www.exploit-db.com/exploits/49390Exploit, Third Party Advisory, VDB Entry
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.