Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. document-merge-service
  4. ›
  5. CVE-2024-37301

CVE-2024-37301: document-merge-service vulnerable to Remote Code Execution via Server-Side Template Injection

June 11, 2024 (updated February 4, 2026)

What kind of vulnerability is it? Who is impacted?

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.

References

  • github.com/adfinis/document-merge-service
  • github.com/adfinis/document-merge-service/commit/a1edd39d33d1bdf75c31ea01c317547be90ca074
  • github.com/adfinis/document-merge-service/security/advisories/GHSA-v5gf-r78h-55q6
  • github.com/advisories/GHSA-v5gf-r78h-55q6
  • nvd.nist.gov/vuln/detail/CVE-2024-37301

Code Behaviors & Features

Detect and mitigate CVE-2024-37301 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 6.5.2

Fixed versions

  • 6.5.2

Solution

Upgrade to version 6.5.2 or above.

Impact 9.9 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine

Source file

pypi/document-merge-service/CVE-2024-37301.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:46 +0000.