{"id":"CVE-2026-109199","summary":"LogicalDOC Community Edition through 9.3 Code Injection via Velocity sendAsEmail Template","details":"LogicalDOC Community Edition through 9.3 contains a code injection vulnerability that allows authenticated users to execute OS commands by submitting Velocity templates in DocumentService.sendAsEmail subject or message fields. Attackers can invoke SystemTool exec methods or ClassTool, bypassing the forbidRuntimeUsage denylist, to run commands with LogicalDOC process privileges.","modified":"2026-10-28T11:06:20.532287007Z","published":"2026-10-12T13:39:42.546Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/109xxx/CVE-2026-109199.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-94"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/109xxx/CVE-2026-109199.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-109199"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/logicaldoc-community-edition-through-9.3-code-injection-via-velocity-sendasemail-template"},{"type":"FIX","url":"https://github.com/logicaldoc/community/commit/66c3a6b9b47f9f6c624047eea43b219851378f00"},{"type":"PACKAGE","url":"https://github.com/logicaldoc/community"},{"type":"ARTICLE","url":"https://github.com/logicaldoc/community/blob/9.3/logicaldoc-core/src/main/java/com/logicaldoc/core/automation/SystemTool.java#L59"},{"type":"ARTICLE","url":"https://github.com/logicaldoc/community/blob/9.3/logicaldoc-webapp/src/main/java/com/logicaldoc/web/service/DocumentServiceImpl.java#L1543"},{"type":"ARTICLE","url":"https://github.com/logicaldoc/community/discussions/119"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/logicaldoc/community","events":[{"introduced":"0"},{"fixed":"66c3a6b9b47f9f6c624047eea43b219851378f00"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0"},{"last_affected":"9.3"}]},{"range":[{"fixed":"66c3a6b9b47f9f6c624047eea43b219851378f00"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["9.3","9.2.3","9.2.2","9.2.1","9.2","before-jakarta-porting","9.1.1","9.1","9.0","8.9.3","8.9.2","8.9.1","8.9","8.8.5","8.8.4","8.8.2","8.7.3","8.6.1","8.5.2","8.4.2","v8.0","8.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-109199.json","vanir_signatures":[{"signature_type":"Function","signature_version":"v1","source":"https://github.com/logicaldoc/community/commit/66c3a6b9b47f9f6c624047eea43b219851378f00","target":{"function":"newInstance","file":"logicaldoc-core/src/main/java/com/logicaldoc/core/automation/ClassTool.java"},"deprecated":false,"digest":{"function_hash":"194297829142312930299738315161614784950","length":544},"id":"CVE-2026-109199-1558b21a"},{"id":"CVE-2026-109199-6cff9193","signature_type":"Function","signature_version":"v1","source":"https://github.com/logicaldoc/community/commit/66c3a6b9b47f9f6c624047eea43b219851378f00","target":{"file":"logicaldoc-webapp/src/main/java/com/logicaldoc/web/service/DocumentServiceImpl.java","function":"sendAsEmail"},"deprecated":false,"digest":{"function_hash":"152484610845182872346761245491328375430","length":2369}},{"deprecated":false,"digest":{"function_hash":"149593336582050388293376940914226933006","length":344},"id":"CVE-2026-109199-8b3e347d","signature_type":"Function","signature_version":"v1","source":"https://github.com/logicaldoc/community/commit/66c3a6b9b47f9f6c624047eea43b219851378f00","target":{"function":"forName","file":"logicaldoc-core/src/main/java/com/logicaldoc/core/automation/ClassTool.java"}},{"target":{"file":"logicaldoc-webapp/src/main/java/com/logicaldoc/web/service/DocumentServiceImpl.java"},"deprecated":false,"digest":{"line_hashes":["256753849013651383982964728030536294055","86088630859698019171462499775507787737","202255790469139696027621279780249740722"],"threshold":0.9},"id":"CVE-2026-109199-8fe01c69","signature_type":"Line","signature_version":"v1","source":"https://github.com/logicaldoc/community/commit/66c3a6b9b47f9f6c624047eea43b219851378f00"},{"digest":{"line_hashes":["99510953651107802673668254578817207983","133813343040728830393934197423768956140","287151876493471206061392157001459430692","333014594013216661214556174912412459265","207633197987426631483492460213842065772","134324202251426032179418889725705664665","187397852322050394707890168104737424070","331514179944249622438500285539796154820","137926166451512235238837155289623878595","149022702559841328293250744549586904016","337326475411313020278149172448910430385","149671558752972752670892578655339691637","191065098898340588042234109127517375178"],"threshold":0.9},"id":"CVE-2026-109199-93df3a19","signature_type":"Line","signature_version":"v1","source":"https://github.com/logicaldoc/community/commit/66c3a6b9b47f9f6c624047eea43b219851378f00","target":{"file":"logicaldoc-core/src/main/java/com/logicaldoc/core/automation/ClassTool.java"},"deprecated":false}],"vanir_signatures_modified":"2026-10-28T11:06:20Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}