CVE-2026-42425 Details
Description
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.
A vulnerability allowing unrestricted SQL execution has been identified in OpenKM versions 6.3.12 and prior. This issue affects both the Community and Professional editions. The vulnerability allows authenticated administrative users to execute arbitrary SQL commands against the application database via the DatabaseQuery interface. Exploitation of this vulnerability could lead to unauthorized data access, including extraction of sensitive information such as usernames and password hashes from the OKM_USER table, modification of user permissions, or deletion of database records.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 26, 2026CISA-ADP
Assessed May 26, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/terrasystemlabs/Exploits/tree/main/OpenKM-Exploits | [email protected] | BundleExploitRemedy |
| https://github.com/terrasystemlabs/Exploits/tree/main/OpenKM-Exploits/nuclei-templates/openkm-sql-database-query | [email protected] | Broken LinkExploit |
| https://hub.docker.com/r/openkm/openkm-ce | [email protected] | ProductVendor |
| https://terrasystemlabs.com/post?slug=openkm-zero-day-vulnerabilities-terra-system-labs | [email protected] | BundleExploitRemedyTechnical Analysis |
| https://www.exploit-db.com/exploits/52520 | [email protected] | BundleExploit |
| https://www.openkm.com/ | [email protected] | Vendor |
| https://www.vulncheck.com/advisories/openkm-unrestricted-sql-execution-via-databasequery | [email protected] | AdvisoryBundleExploit |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| OpenKM | <= 6.3.12 (semver) <= 7.1.47 (semver) |
CPE
Remediation
| |
| OpenKM Community Edition | All versions |
CPE
Remediation
| |
| OpenKM Professional Edition | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 26, 2026 | New CVE Received | [email protected] |
Volerion