CVE-2026-109199

LogicalDOC Community Edition through 9.3 Code Injection via Velocity sendAsEmail Template

Published Oct 12, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

LogicalDOC Community Edition up to version 9.3 allows an authenticated user to run arbitrary operating system commands by embedding Velocity templates in the subject or message of the sendAsEmail function. The application permits use of SystemTool.exec and ClassTool classes despite a built-in denylist, providing a direct path to execute code with the process’s privileges. This is a CWE‑94 Code Injection vulnerability. Successful exploitation grants full control of the server and data.

Affected Systems

Vulnerable installations are those running LogicalDOC Community Edition revisions through 9.3. Any instance that has not applied upgrades beyond this major release remains susceptible, irrespective of deployment specifics.

Risk and Exploitability

The CVSS base score of 8.7 indicates high severity remote code execution. No EPSS data is published, and the entry is not listed in the CISA KEV catalog, suggesting limited known exploitation. Attackers must first authenticate, then craft a malicious Velocity template to trigger the hidden exec path. Executed commands run under the LogicalDOC process identity, providing extensive system compromise.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade LogicalDOC Community Edition to a version newer than 9.3 where the CWE‑94 Code Injection issue is fixed.
  • Disable or restrict the sendAsEmail feature to a minimal, trusted user group to eliminate the Velocity template injection vector (CWE‑94).
  • If upgrading is not immediately feasible, modify the source to remove or block SystemTool.exec and ClassTool usage, or enforce a strict runtime denylist to mitigate the code injection threat (CWE‑94).
  • Monitor system logs for unexpected command execution and block any suspicious activity.

Generated by OpenCVE AI on October 12, 2026 at 15:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title LogicalDOC Community Edition through 9.3 Code Injection via Velocity sendAsEmail Template
First Time appeared Logicaldoc
Logicaldoc logicaldoc
Weaknesses CWE-94
CPEs cpe:2.3:a:logicaldoc:logicaldoc:*:*:*:*:community:*:*:*
Vendors & Products Logicaldoc
Logicaldoc logicaldoc
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.7, 'vector': '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'}

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 18, 2026, 12:03 PM
Reserved
Oct 12, 2026, 1:25 PM
Status
Deferred
Published
Oct 12, 2026, 2:17 PM
Modified
Oct 18, 2026, 12:17 PM