Home

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.

PUBLISHED Reserved 2026-04-27 | Published 2026-05-26 | Updated 2026-05-26 | Assigner VulnCheck




HIGH: 8.6CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
HIGH: 7.2CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Problem types

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Product status

Default status
unknown

Any version
affected

Default status
unknown

Any version
affected

Credits

Terra System Labs Pvt. Ltd. finder

References

www.exploit-db.com/exploits/52520 (ExploitDB-52520) exploit

www.openkm.com/ (Official Product Homepage) product

hub.docker.com/r/openkm/openkm-ce (Product Reference) product

terrasystemlabs.com/...day-vulnerabilities-terra-system-labs (Vulnerability Advisory) vendor-advisory

github.com/...asystemlabs/Exploits/tree/main/OpenKM-Exploits (Proof-of-Concept Toolkit) product

github.com/...its/nuclei-templates/openkm-sql-database-query (Nuclei Detection Template) product

www.vulncheck.com/...tricted-sql-execution-via-databasequery (VulnCheck Advisory: OpenKM 6.3.12 Unrestricted SQL Execution via DatabaseQuery) third-party-advisory

cve.org (CVE-2026-42425)

nvd.nist.gov (CVE-2026-42425)

Download JSON