Document Merge Service vulnerable to RCE via SSTI (xlsx tempaltes)
Impact
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.
Patches
It has been patched in v9.1.0
Workarounds
Disable the upload/usage of XLSX templates.
References
Are there any links users can visit to find out more?
https://book.hacktricks.xyz/pentesting-web/ssti-server-side-template-injection/jinja2-ssti
Czego dotyczy
Kliknij technologię, aby zobaczyć wszystkie dotyczące jej podatności.
| Platforma | Paczka | Podatne wersje | Poprawka w wersji |
|---|---|---|---|
| Python (PyPI) | document-merge-service | < 9.1.0 | 9.1.0 |
Odnośniki
- https://github.com/adfinis/document-merge-service/security/advisories/GHSA-w47q-945m-q9pc
- https://github.com/adfinis/document-merge-service
- https://github.com/adfinis/document-merge-service/releases/tag/v9.1.0
- https://pypi.org/project/document-merge-service
- https://github.com/advisories/GHSA-w47q-945m-q9pc
- https://nvd.nist.gov/vuln/detail/CVE-2026-53964
- Wektor CVSS
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H- Słabość (CWE)
CWE-1336- Platforma
- Python (PyPI)
- Paczka
document-merge-service- Ujawniono
- 19.08.2026
- Aktualizacja
- 11.10.2026 15:18
Źródła i licencje
OSV / GitHub Advisory Database - PYSEC-2026-3830 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-w47q-945m-q9pc - CC BY 4.0
Historia podatności: document-merge-service
Wszystkie opisane podatności tej paczki (Python (PyPI)), od najnowszej. Widać, czy to jednorazowa wpadka, czy paczka, której trzeba pilnować.
- Wszystkich wpisów
- 2
- Pierwsza → ostatnia
- 06.2024 08.2026
- Bez poprawki
- 0
- Wykorzystywana w atakach
- 0
Rozkład istotności
- Wysoka 2
Ujawnienia w latach
- 2024: 1
- 2025: 0
- 2026: 1
-
Document Merge Service vulnerable to RCE via SSTI (xlsx tempaltes) ten wpis
Dowiedz się, które podatności dotyczą Twojej aplikacji
Po podłączeniu integracji DockRay i włączeniu raportowania oprogramowania DockRay porównuje zgłoszone wersje komponentów ze znanymi podatnościami i powiadamia o potwierdzonych dopasowaniach. Zakres zależy od obsługiwanej technologii i dostępnych biuletynów.