Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid Cockpit credentials
-
DeliveryAuthenticate to Cockpit instance
-
ExploitAccess Asset Handler or Aggregate Handler endpoint
-
ExecutionInject NoSQL operator in query parameter
-
PersistBypass data access restrictions
-
ImpactExtract unauthorized data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Query language parameterization
|
| Exploitation Conditions | Successful exploitation requires: (1) an authenticated user account on the Cockpit instance (PR:L in CVSS vector), (2) access to endpoints handled by the Asset Handler or Aggregate Handler components (specific feature condition), (3) a database backend that supports NoSQL operators (MongoDB or compatible), and (4) insufficient input validation on query parameters passed to these handlers. No special deployment configuration is required - the vulnerability exists in default setups. Limitations to exploitation include: unauthenticated attackers cannot exploit this without first obtaining valid credentials, the attack vector is network-based but restricted to authenticated sessions only, and the impact is limited to information disclosure (no code execution or system availability impact). Organizations with strong authentication controls, restricted admin access, and intrusion detection monitoring for abnormal database queries will have reduced real-world risk. |
| Impact | CVSS 5.3 with PR:L (login required) and limited impact scope (VC:L, VI:L, VA:L) indicates moderate risk for authenticated users. EPSS exploitation probability rated as P (publicly available exploit), confirming real-world exploitability. The vulnerability does NOT meet CISA KEV criteria for critical infrastructure priority (no catastrophic impact flags), but the combination of public exploit code, vendor non-responsiveness, and authentication bypass potential via NoSQL injection creates practical risk in multi-tenant or internet-exposed deployments. The E:P (Exploit: Public) vector in CVSS 4.0 signals mature exploit tools. However, the limited impact (information disclosure only, no remote code execution) and requirement for authenticated access reduce urgency compared to unauthenticated RCE issues. Organizations with Cockpit instances exposed to untrusted users or with weak credential hygiene face higher risk. |
| Exploit ScenarioDerived | An authenticated user with legitimate Cockpit access (obtained via credential theft, social engineering, or default credentials) sends a crafted HTTP request to the Asset Handler or Aggregate Handler endpoint. The request includes a NoSQL injection payload in a query parameter or POST body, such as {$ne: null} or {$regex: '.*'}, which bypasses query filters intended to restrict data visibility. The injected operator modifies the database query logic, returning sensitive documents or fields the user should not access, such as other users' data, configuration secrets, or unpublished content. Public exploit code on GitHub (https://github.com/NicolasPauferro/studiesofnosqli) demonstrates this technique. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 20, 2026
NoSQL injection in Cockpit-HQ Cockpit up to version 2.13.5 allows authenticated remote attackers to manipulate data query logic through the Asset Handler or Aggregate Handler components, resulting in information disclosure with limited confidentiality, integrity, and availability impact. Publicly available exploit code exists, and the vendor has not responded to early disclosure notification.
RemediationAI
Upgrade Cockpit-HQ Cockpit to version 2.13.6 or later if available; verify patch status on the official GitHub repository (github.com/reusedev/cockpit) or contact the vendor directly. Until patches are deployed, implement these compensating controls: restrict access to Cockpit admin interfaces to trusted networks only using firewall rules or reverse proxy authentication; enforce strong, unique passwords for all Cockpit user accounts and enable multi-factor authentication if supported; disable or restrict the Asset Handler and Aggregate Handler features if not actively used by regularly auditing which components are enabled in the configuration; implement database-level query monitoring to detect suspicious NoSQL injection patterns (operators like $ne, $regex, $where in unexpected contexts); and run Cockpit with minimal database privileges, using a dedicated database user account with read-only access to non-sensitive collections where possible. Each mitigation has trade-offs: network restriction may limit legitimate remote administration; feature disabling impacts functionality; database privilege reduction requires thorough testing of legitimate operations.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Cockpit-HQ Cockpit is a Node.js-based headless CMS and admin interface framework. The vulnerability exists in the Asset Handler and Aggregate Handler components, which process database queries. CWE-943 (Improper Neutralization of Special Elements in Data Query Logic) indicates that user-supplied input is not properly sanitized before being incorporated into NoSQL database queries. The affected CPE string cpe:2.3:a:cockpit-hq:cockpit:*:*:*:*:*:*:*:* suggests all versions up to 2.13.5 are impacted. The attack leverages the queryable nature of NoSQL databases (likely MongoDB given Cockpit's architecture) where malicious operators and field references can be injected to bypass intended query restrictions or extract unauthorized data.
Know when Cockpit gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
6DescriptionCVE.org
A vulnerability was detected in Cockpit-HQ Cockpit up to 2.13.5. Affected by this issue is some unknown functionality of the component Asset Handler/Aggregate Handler. The manipulation results in improper neutralization of special elements in data query logic. It is possible to launch the attack remotely. The exploit is now public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
NoSQL injection exploits databases that don't use traditional SQL syntax-like MongoDB, CouchDB, or Redis-by manipulating queries through unsanitized user input.
Agentejo Cockpit before 0.11.2 allows NoSQL injection via the Controller/Auth.php resetpassword function. Rated critical
Agentejo Cockpit before 0.11.2 allows NoSQL injection via the Controller/Auth.php check function. Rated critical severit
Insufficient Session Expiration in GitHub repository cockpit-hq/cockpit prior to 2.2.0. Rated critical severity (CVSS 9.
Agentejo Cockpit before 0.11.2 allows NoSQL injection via the Controller/Auth.php newpassword function. Rated critical s
Agentejo Cockpit performs actions on files without appropriate validation and therefore allows an attacker to traverse t
SSRF (Server Side Request Forgery) in /assets/lib/fuc.js.php in Cockpit 0.4.4 through 0.5.5 allows remote attackers to r
PHP Remote File Inclusion in GitHub repository cockpit-hq/cockpit prior to 2.6.3. Rated high severity (CVSS 8.8), this v
A Cross-Site Request Forgery (CSRF) in the Admin portal of Cockpit CMS v2.5.2 allows attackers to execute arbitrary Admi
Unrestricted Upload of File with Dangerous Type in GitHub repository cockpit-hq/cockpit prior to 2.4.1. Rated high sever
Privilege Chaining in GitHub repository cockpit-hq/cockpit prior to 2.3.8. Rated high severity (CVSS 8.8), this vulnerab
Improper Removal of Sensitive Information Before Storage or Transfer in GitHub repository cockpit-hq/cockpit prior to 2.
Authenticated remote code execution in Cockpit CMS lets attackers holding collection-management privileges inject arbitr
EUVD-2026-23822
GHSA-5pv2-86qj-5jf9
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB