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.006, 51.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Openkm Community Edition — versions 0
- Openkm Professional Edition — versions 0
Weakness classification (CWE)
References
- ExploitDB-52520 (exploit)
- Official Product Homepage (product)
- Product Reference (product)
- Vulnerability Advisory (vendor-advisory)
- Proof-of-Concept Toolkit (product)
- Nuclei Detection Template (product)
- VulnCheck Advisory: OpenKM 6.3.12 Unrestricted SQL Execution via DatabaseQuery (third-party-advisory)