{"id":"CVE-2026-42425","aliases":["CVE-2026-42425"],"related":[],"kind":"vulnerability","state":"published","title":"OpenKM 6.3.12 Unrestricted SQL Execution via DatabaseQuery","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"OpenKM 6.3.12 contiene una vulnerabilidad de ejecución SQL sin restricciones que permite a usuarios administrativos autenticados ejecutar sentencias SQL arbitrarias contra la base de datos de la aplicación a través de la interfaz DatabaseQuery. Los atacantes pueden enviar consultas SQL maliciosas a través del parámetro qs al endpoint /admin/DatabaseQuery para extraer datos sensibles, incluyendo nombres de usuario y hashes de contraseñas de la tabla OKM_USER, modificar permisos o eliminar registros de la base de datos.","source":"nvd"}],"published":"2026-05-26T14:08:50.343Z","modified":"2026-10-06T22:10:00.247Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.6,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.6,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2,"rating":"HIGH"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"type":"custom","introduced":"0","lastAffected":"6.3.12","status":"affected"}],"vendor":"Openkm","product":"OpenKM Community Edition","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","lastAffected":"7.1.47","status":"affected"}],"vendor":"Openkm","product":"OpenKM Professional Edition","source":"cvelist"}],"references":[{"url":"https://www.exploit-db.com/exploits/52520","tags":["exploit"],"sources":["cvelist","nvd"]},{"url":"https://www.openkm.com/","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://hub.docker.com/r/openkm/openkm-ce","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://terrasystemlabs.com/post?slug=openkm-zero-day-vulnerabilities-terra-system-labs","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/terrasystemlabs/Exploits/tree/main/OpenKM-Exploits","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://github.com/terrasystemlabs/Exploits/tree/main/OpenKM-Exploits/nuclei-templates/openkm-sql-database-query","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/openkm-unrestricted-sql-execution-via-databasequery","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Terra System Labs Pvt. Ltd."],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-05-26T15:14:02.971Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-42425","url":"https://www.cve.org/CVERecord?id=CVE-2026-42425","licence":"CVE Terms of Use","modified":"2026-05-26T15:14:09.128Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-42425","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42425","licence":"Public domain","modified":"2026-10-06T22:10:00.247Z"}],"updatedAt":"2026-11-25T22:59:22.324Z","epss":{"score":0.00641,"percentile":0.52024,"date":"2026-12-01T12:00:22.000Z"}}