Skip to content

CVE-2026-53964 Document Merge Service vulnerable to RCE via SSTI (xlsx tempaltes)

HighCVSS 7.2 EPSS 0.49%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

Description

Document Merge Service is a document template merge service providing an API to manage templates and merge them with given data. Prior to version 9.1.0, a remote code execution (RCE) via server-side template injection (SSTI) allows for user supplied code to be executed in the server's context where it is executed as the document-merge-server user with the UID 901 thus giving an attacker considerable control over the container. The vulnerability is limited to XLSX templates, were the xltpl library uses a npn-sandboxed Jinja environment for the processing of the template. This issue has been patched in version 9.1.0.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
pypi document-merge-service(PyPI) < 9.1.0; = 5.2.0; = 5.2.1; = 6.0.0 +29 more 9.1.0 Fixed
adfinis document-merge-service = < 9.1.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi document-merge-service(PyPI) < 9.1.0 9.1.0
pypi document-merge-service(PyPI) = 5.2.0 No fix listed
pypi document-merge-service(PyPI) = 5.2.1 No fix listed
pypi document-merge-service(PyPI) = 6.0.0 No fix listed
pypi document-merge-service(PyPI) = 6.1.0 No fix listed
pypi document-merge-service(PyPI) = 6.1.1 No fix listed
pypi document-merge-service(PyPI) = 6.1.2 No fix listed
pypi document-merge-service(PyPI) = 6.2.0 No fix listed
pypi document-merge-service(PyPI) = 6.2.1 No fix listed
pypi document-merge-service(PyPI) = 6.2.2 No fix listed
pypi document-merge-service(PyPI) = 6.3.0 No fix listed
pypi document-merge-service(PyPI) = 6.3.1 No fix listed
pypi document-merge-service(PyPI) = 6.4.0 No fix listed
pypi document-merge-service(PyPI) = 6.4.1 No fix listed
pypi document-merge-service(PyPI) = 6.4.2 No fix listed
pypi document-merge-service(PyPI) = 6.4.3 No fix listed
pypi document-merge-service(PyPI) = 6.4.4 No fix listed
pypi document-merge-service(PyPI) = 6.4.5 No fix listed
pypi document-merge-service(PyPI) = 6.4.6 No fix listed
pypi document-merge-service(PyPI) = 6.5.0 No fix listed
pypi document-merge-service(PyPI) = 6.5.1 No fix listed
pypi document-merge-service(PyPI) = 6.5.2 No fix listed
pypi document-merge-service(PyPI) = 6.6.0 No fix listed
pypi document-merge-service(PyPI) = 6.6.1 No fix listed
pypi document-merge-service(PyPI) = 7.0.0 No fix listed
Show 9 more
ProductAffected versionsFixed in
pypi document-merge-service(PyPI) = 7.0.1 No fix listed
pypi document-merge-service(PyPI) = 7.0.2 No fix listed
pypi document-merge-service(PyPI) = 7.1.0 No fix listed
pypi document-merge-service(PyPI) = 8.0.0 No fix listed
pypi document-merge-service(PyPI) = 8.0.2 No fix listed
pypi document-merge-service(PyPI) = 8.0.3 No fix listed
pypi document-merge-service(PyPI) = 8.1.0 No fix listed
pypi document-merge-service(PyPI) = 9.0.0 No fix listed
adfinis document-merge-service = < 9.1.0 No fix listed

References