CVE-2026-42425
published high CVSS 4.0 · 8.6OpenKM 6.3.12 Unrestricted SQL Execution via DatabaseQuery
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.6 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.2 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Openkm | OpenKM Community Edition | 0 through 6.3.12 (affected · custom)Default: unknown | VulnCheck · cna |
| Openkm | OpenKM Professional Edition | 0 through 7.1.47 (affected · custom)Default: unknown | VulnCheck · cna |
Weaknesses
1- CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
References
7- Proof-of-Concept Toolkit https://github.com/terrasystemlabs/Exploits/tree/main/OpenKM-Exploits
- Nuclei Detection Template https://github.com/terrasystemlabs/Exploits/tree/main/OpenKM-Exploits/nuclei-templates/openkm-sql-database-query
- Product Reference https://hub.docker.com/r/openkm/openkm-ce
- Vulnerability Advisory https://terrasystemlabs.com/post?slug=openkm-zero-day-vulnerabilities-terra-system-labs
- ExploitDB-52520 https://www.exploit-db.com/exploits/52520
- Official Product Homepage https://www.openkm.com/
- VulnCheck Advisory: OpenKM 6.3.12 Unrestricted SQL Execution via DatabaseQuery https://www.vulncheck.com/advisories/openkm-unrestricted-sql-execution-via-databasequery
Provider assertions
2VulnCheck · cna
OpenKM 6.3.12 Unrestricted SQL Execution via DatabaseQuery
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ad850f18e5b392bfb16228e118af53d33aa820453107438f169072adb996985f
- Ingested
- 23 Sep 2026, 09:14:19 UTC
- Source record
- Official CVE record