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

- Severity: High 7.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-01)
- Published: 2026-08-19T19:17:19.000Z
- Modified: 2026-10-02T18:47:49.947Z
- Also known as: GHSA-w47q-945m-q9pc, PYSEC-2026-3830
- Weaknesses: CWE-1336
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- adfinis document-merge-service: < 9.1.0
- document-merge-service (PyPI): before 9.1.0

## Every score

- GitHub_M: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/adfinis/document-merge-service/security/advisories/GHSA-w47q-945m-q9pc> (web)
- <https://github.com/adfinis/document-merge-service/releases/tag/v9.1.0> (web)
- <https://github.com/adfinis/document-merge-service> (package)
- <https://pypi.org/project/document-merge-service> (package)
- <https://github.com/advisories/GHSA-w47q-945m-q9pc> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-53964> (advisory)

## Sources

- CVE List: [CVE-2026-53964](https://www.cve.org/CVERecord?id=CVE-2026-53964), CVE Terms of Use, modified 2026-10-01
- GitHub Advisory Database: [GHSA-w47q-945m-q9pc](https://github.com/advisories/GHSA-w47q-945m-q9pc), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-53964](https://nvd.nist.gov/vuln/detail/CVE-2026-53964), Public domain, modified 2026-10-02
- PyPA Advisory Database: [PYSEC-2026-3830](https://osv.dev/vulnerability/PYSEC-2026-3830), CC-BY-4.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2026-53964 · Whole record: https://cve.day/CVE-2026-53964.json · Rebuilt by cve.day 2026-11-25T22:59:41.875Z
