SQL Injection in Openkm Community Edition
CVE-2026-42425
OpenKM 6.3.12 contains an unrestricted SQL execution vulnerability that allows authenticated administrative users to execute arbitrary SQL statements against the application database via the DatabaseQuery interface. Attackers can submit malicious SQL queries through the qs parameter to the /admin/DatabaseQuery endpoint to extract sensitive data including usernames and password hashes from the OKM_USER table, modify permissions, or delete database records.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.009 (57.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 58th percentile — 57.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.006 · newest: 0.009 · change: +0.002
Affected products
- Openkm Community Edition — versions 0
- Openkm Professional Edition — versions 0
Weakness classification (CWE)
References
- www.exploit-db.com/exploits/52520 (exploit)
- www.openkm.com/ (product)
- hub.docker.com/r/openkm/openkm-ce (product)
- terrasystemlabs.com/post (vendor-advisory)
- github.com/terrasystemlabs/Exploits/tree/main/OpenKM-Exploits (product)
- github.com/terrasystemlabs/Exploits/tree/main/OpenKM-Exploits/nuclei-templates/… (product)
- www.vulncheck.com/advisories/openkm-unrestricted-sql-execution-via-databasequery (third-party-advisory)
Frequently asked questions
- What is CVE-2026-42425?
- CVE-2026-42425 is a high-severity vulnerability in Openkm Community Edition, classified under SQL Injection. CVSS score: 7.2/10. Published 2026-05-26.
- How severe is CVE-2026-42425?
- High severity. CVSS v3 base score is 7.2 out of 10.