Skip to main content

Cockpit CVE-2026-6626

| EUVDEUVD-2026-23822 LOW
Improper Neutralization of Special Elements in Data Query Logic (CWE-943)
2026-04-20 VulDB GHSA-5pv2-86qj-5jf9
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain valid Cockpit credentials
  2. Delivery
    Authenticate to Cockpit instance
  3. Exploit
    Access Asset Handler or Aggregate Handler endpoint
  4. Execution
    Inject NoSQL operator in query parameter
  5. Persist
    Bypass data access restrictions
  6. Impact
    Extract 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

cockpit 2.13.0
cockpit 2.13.2
cockpit 2.13.1
cockpit 2.13.5
cockpit 2.13.3
cockpit 2.13.4

Affected Packages

composer cockpit-hq/cockpit fix: 2.14.0
euvd cockpit no fix

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

Vendor (VulDB) PRIMARY 2.1 LOW
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

6
Severity Changed
Apr 29, 2026 - 01:12 NVD
MEDIUM LOW
CVSS changed
Apr 29, 2026 - 01:12 NVD
5.3 (MEDIUM) 2.1 (LOW)
PoC Detected
Apr 29, 2026 - 01:00 vuln.today
Public exploit code
Patch released
Apr 24, 2026 - 02:30 nvd
Patch available
CVSS changed
Apr 20, 2026 - 10:22 NVD
6.3 (MEDIUM) 5.3 (MEDIUM)
CVE Published
Apr 20, 2026 - 09:45 nvd
LOW 2.1

DescriptionCVE.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

EPSS Score
0.1%
Top 81% exploitable
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2020-35847 CRITICAL POC
9.8 Dec 30

Agentejo Cockpit before 0.11.2 allows NoSQL injection via the Controller/Auth.php resetpassword function. Rated critical

CVE-2020-35846 CRITICAL POC
9.8 Dec 30

Agentejo Cockpit before 0.11.2 allows NoSQL injection via the Controller/Auth.php check function. Rated critical severit

CVE-2022-2713 CRITICAL POC
9.8 Aug 08

Insufficient Session Expiration in GitHub repository cockpit-hq/cockpit prior to 2.2.0. Rated critical severity (CVSS 9.

CVE-2020-35848 CRITICAL POC
9.8 Dec 30

Agentejo Cockpit before 0.11.2 allows NoSQL injection via the Controller/Auth.php newpassword function. Rated critical s

CVE-2018-15540 CRITICAL POC
9.8 Oct 15

Agentejo Cockpit performs actions on files without appropriate validation and therefore allows an attacker to traverse t

CVE-2018-9302 CRITICAL POC
9.1 May 02

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

CVE-2023-4195 HIGH POC
8.8 Aug 06

PHP Remote File Inclusion in GitHub repository cockpit-hq/cockpit prior to 2.6.3. Rated high severity (CVSS 8.8), this v

CVE-2023-37650 HIGH POC
8.8 Jul 20

A Cross-Site Request Forgery (CSRF) in the Admin portal of Cockpit CMS v2.5.2 allows attackers to execute arbitrary Admi

CVE-2023-1313 HIGH POC
8.8 Mar 10

Unrestricted Upload of File with Dangerous Type in GitHub repository cockpit-hq/cockpit prior to 2.4.1. Rated high sever

CVE-2023-0759 HIGH POC
8.8 Feb 09

Privilege Chaining in GitHub repository cockpit-hq/cockpit prior to 2.3.8. Rated high severity (CVSS 8.8), this vulnerab

CVE-2022-2818 HIGH POC
8.8 Aug 15

Improper Removal of Sensitive Information Before Storage or Transfer in GitHub repository cockpit-hq/cockpit prior to 2.

CVE-2026-34965 HIGH POC
8.7 Apr 29

Authenticated remote code execution in Cockpit CMS lets attackers holding collection-management privileges inject arbitr

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy