CVE-2026-61707

    Dashboard / Vulnerabilities / CVE-2026-61707

    CVE-2026-61707

    Published: 29 Oct 2026Last Modified: 1 Nov 2026

    Summary: SOCFortress CoPilot: Stored case-report template injection permits backend code execution

    Details: SOCFortress CoPilot focuses on providing a single pane of glass for all your security operations needs. Prior to 0.1.76, in the reported deployment, case-report templates uploaded by `customer_user`, the lowest-privilege portal role, are later executed by non-sandboxed Jinja2 engines when an admin or analyst generates a report. The `/case-report-template/upload` route in `backend/app/incidents/routes/db_operations.py` validates only the filename-derived MIME type, not the template content. Templates share a global store without customer_code scoping, and `customer_user` can also list, download and delete them, allowing an attacker to replace a legitimate default template under the same name. In `backend/app/incidents/services/reports.py`, `render_document_with_context` uses `DocxTemplate` without a sandbox; in `backend/app/incidents/services/reports_pdf.py`, `render_html_template` uses a non-sandboxed `Environment` without autoescaping. Normal privileged requests to `POST /api/incidents/report/generate-report-docx` or `/generate-report-pdf` therefore evaluate attacker-controlled Jinja expressions as Python on the backend. The reported deployment executes commands as root, exposing all tenants' incident and SIEM data and stored connector credentials. The HTML/PDF wkhtmltopdf renderer additionally permits local-file reads and requests to internal services. This issue is fixed in version 0.1.76.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Affected versions

    v0.1.75
    v0.1.74
    v0.1.73
    v0.1.72
    v0.1.71
    v0.1.70
    v0.1.69
    v0.1.68
    v0.1.67
    v0.1.66
    v0.1.65
    v0.1.64
    v0.1.63
    v0.1.62
    v0.1.61
    v0.1.60
    v0.1.59
    v0.1.58
    v0.1.57
    v0.1.56
    v0.1.55
    v0.1.54
    v0.1.53
    v0.1.52
    v0.1.51
    v0.1.50
    v0.1.49
    v0.1.48
    v0.1.47
    v0.1.46
    v0.1.45
    v0.1.44
    v0.1.43
    v0.1.42
    v0.1.41
    v0.1.40
    v0.1.39
    v0.1.38
    v0.1.37
    v0.1.36
    v0.1.35
    v0.1.34
    v0.1.33
    v0.1.32
    v0.1.31
    v0.1.30
    v0.1.29
    v0.1.28
    v0.1.27
    v0.1.26
    v0.1.25
    v0.1.24
    v0.1.23
    v0.1.22
    v0.1.21
    v0.1.20
    v0.1.19
    v0.1.18
    v0.1.17
    v0.1.16
    v0.1.15
    v0.1.14
    v0.1.13
    v0.1.12
    v0.1.11
    v0.1.10
    v0.1.9
    v0.1.8
    v0.1.7
    v0.1.6
    v0.1.5
    v0.1.4
    v0.1.3
    v0.1.2
    v0.1.1
    v0.1.0

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2026-61707 | CVE-DB