CVE Explorer
CVE-2026-31891
Cockpit is a headless content management system. Any Cockpit CMS instance running version 2.13.4 or earlier with API access enabled is potentially affected by a a SQL Injection vulnerability in the MongoLite Aggregation Optimizer. Any deployment where the `/api/content/aggregate/{model}` endpoint is publicly accessible or reachable by untrusted users may be vulnerable, and attackers in possession of a valid read-only API key (the lowest privilege level) can exploit this vulnerability — no admin
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"Cockpit","vendor":"Cockpit-HQ","versions":[{"status":"affected","version":"< 2.13.5"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:76829f14c0773df082c10801d43ea1ff55d48df30848ec9bb9d6c2cc84264b87 · sha256:140868d467e97c10… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.7,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:76829f14c0773df082c10801d43ea1ff55d48df30848ec9bb9d6c2cc84264b87 · sha256:140868d467e97c10… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-89","description":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:76829f14c0773df082c10801d43ea1ff55d48df30848ec9bb9d6c2cc84264b87 · sha256:140868d467e97c10… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/Cockpit-HQ/Cockpit/releases/tag/2.13.5","tags":["x_refsource_MISC"],"url":"https://github.com/Cockpit-HQ/Cockpit/releases/tag/2.13.5"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:76829f14c0773df082c10801d43ea1ff55d48df30848ec9bb9d6c2cc84264b87 · sha256:140868d467e97c10… · /containers/cna/references/1
{"name":"https://github.com/Cockpit-HQ/Cockpit/security/advisories/GHSA-7x5c-vfhj-9628","tags":["x_refsource_CONFIRM"],"url":"https://github.com/Cockpit-HQ/Cockpit/security/advisories/GHSA-7x5c-vfhj-9628"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:76829f14c0773df082c10801d43ea1ff55d48df30848ec9bb9d6c2cc84264b87 · sha256:140868d467e97c10… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.