Read the docs
TI-2026-82778 Aliases CVE-2026-61707

Stored template injection in SOCFortress CoPilot allows backend code execution

Priority MEDIUM 40CWE-1336Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
Low
Impact type
Code execution, Security bypass
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-1336 and CWE-862.

Summary

SOCFortress CoPilot before 0.1.76 has a stored template injection flaw in case-report templates. A customer_user with the lowest portal privileges can upload a template that is later rendered by a non-sandboxed Jinja2 engine when an admin or analyst generates a report, so attacker-controlled expressions run as Python on the backend (CWE-1336). The reported deployment executes commands as root, exposing all tenants' incident and SIEM data and stored connector credentials.

Written with Claude Haiku 5.5 from the sources below · 2026-11-05

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00235 14th percentileScored 2026-11-07
Fix Fixed CoPilot (socfortress): 0.1.76

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
socfortressCoPilotbefore 0.1.760.1.76Patch availableCNA
  • CoPilot Vendorsocfortress Affected before 0.1.76 Fixed in 0.1.76 Patch available CNA

Remediation

Upgrade SOCFortress CoPilot to version 0.1.76, which fixes this issue.

Written with Claude Haiku 5.5 from the sources below · 2026-11-05

  • Fix · CNA CoPilot (socfortress) Fixed in 0.1.76

Timeline

  1. 2026-10-29 Threatist record created from CVE-2026-61707
  2. 2026-10-30 CISA SSVC decision points changed
  3. 2026-10-30 Priority changed: MEDIUM → LOW
  4. 2026-10-31 Priority changed: LOW → MEDIUM

References

  • TI-2026-83110 Path traversal in SOCFortress CoPilot lets attackers write host files CVSS 3.1CRITICAL 10.0
  • TI-2026-31075 Improper authentication in socfortress CoPilot CVSS 3.1CRITICAL 10.0
  • TI-2026-83107 Hardcoded default secret in SOCFortress CoPilot allows auth bypass CVSS 3.1CRITICAL 9.4
  • TI-2026-83106 SOCFortress CoPilot stored XSS enables privileged account takeover CVSS 3.1CRITICAL 9.9
  • TI-2026-83146 Authentication bypass in SOCFortress CoPilot Sigma exclusions CVSS 3.1HIGH 7.5
  • TI-2026-83108 SOCFortress CoPilot exposes ScoutSuite reports and GCP keys CVSS 3.1CRITICAL 9.3
See all 7 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences