document-merge-service vulnerable to Remote Code Execution via Server-Side Template Injection
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-1336.
Summary
Document Merge Service is a document template merge service providing an API to manage templates and merge them with given data. Versions 6.5.1 and prior are vulnerable to remote code execution via server-side template injection which, when executed as root, can result in full takeover of the affected system. As of time of publication, no patched version exists, nor have any known workarounds been disclosed.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| adfinis | document-merge-service | before 6.5.2 | 6.5.2 | Patch available | CNA |
| — | document-merge-service (PyPI) | before 6.5.2 | 6.5.2 | Patch available | GHSA-v5gf-r78h-55q6 |
- document-merge-service Vendoradfinis Affected before 6.5.2 Fixed in 6.5.2 Patch available CNA
- document-merge-service (PyPI) Vendor— Affected before 6.5.2 Fixed in 6.5.2 Patch available GHSA-v5gf-r78h-55q6
Remediation
- Fix · CNA document-merge-service (adfinis) Fixed in 6.5.2
- Fix · GHSA-v5gf-r78h-55q6 document-merge-service (PyPI) Fixed in 6.5.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-37301
- 2026-10-03 Alias added: GHSA-v5gf-r78h-55q6
References
More adfinis vulnerabilities
- TI-2026-38931 Document Merge Service vulnerable to RCE via SSTI (xlsx tempaltes) CVSS 3.1HIGH 7.2
Sources
- CVE-2024-37301 · CVE Program
- CVE-2024-37301 · NVD
- FIRST EPSS
- GHSA-v5gf-r78h-55q6 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences