Skip to content
Vulnerability Intelligence

CVE-2020-35131

CriticalExploited

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.

Published Jan 8, 2021 · Updated Aug 7, 2026

Key Facts

Patch immediately
  • CVE-2020-35131 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting Cockpit (Agentejo).
  • It is exploited in the wild, listed in Industry KEV feed, CIRCL KEV since Oct 14, 2023. No public exploit code is known.
  • EPSS estimates a 50% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Cockpit 0.6.1.
  • Brandefense priority: patch immediately, because it is listed as exploited in the wild.

CVSS v3.1

9.8

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

50%

Higher than 98.8% of all scored CVEs

Exploited in the wild

Yes

2 catalog listings

Public exploit code

None known

Get the full CVE-2020-35131 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

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.

Known-Exploited Catalog Listings

CatalogAddedRemediation dueRansomware use
Industry KEV feedNov 13, 2023n/aNot reported
CIRCL KEVOct 14, 2023n/aNot reported

Required action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.

Affected Products

1 affected entries in total
ProductAffected versionsFixed in
CockpitAgentejoSee advisory0.6.1

Patched Releases

Cockpit

0.6.1

Timeline

  1. Publicly disclosed

    Jan 8, 2021

  2. Added to CIRCL KEV

    Oct 14, 2023

  3. Added to Industry KEV feed

    Nov 13, 2023

  4. Last updated

    Aug 7, 2026

Weakness Type

  • CWE-94 Improper Control of Generation of Code ('Code Injection')

References

8 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2020-35131 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo