CVE-2026-61738 Details
Description
SOCFortress CoPilot focuses on providing a single pane of glass for all your security operations needs. Prior to 0.1.77, `POST /api/scoutsuite/generate-gcp-report` in `backend/app/integrations/scoutsuite/routes/scoutsuite.py` admits admin and analyst users and validates the uploaded content as `GCPScoutSuiteJSON`, but passes raw `file.filename` from the multipart header to `save_file_to_directory` in `backend/app/integrations/scoutsuite/services/scoutsuite.py`. The writer combines this filename with `scoutsuite-report` using `os.path.join` without sanitization or a resolved-path containment check. A traversal filename therefore writes the supplied JSON outside the intended report directory. In the reported root-running backend, the researcher demonstrated root-owned writes outside that directory and into the application source directory. This permits host-file overwrite subject to the accepted JSON-content constraint and can disrupt application operation; the demonstrated primitive does not establish unrestricted executable contents or unconditional cross-tenant confidentiality loss. Version 0.1.77 removes caller-controlled filenames from the affected route; unrestricted-content and direct-code-execution claims require separate curator reconciliation.
A vulnerability in SOCFortress CoPilot versions prior to 0.1.77 allows for arbitrary file writes as root through path traversal. The issue arises in the ScoutSuite integration when uploading GCP reports via the 'generate-gcp-report' endpoint. The vulnerability is caused by the endpoint accepting unsanitized filenames from the uploaded JSON files, which can be manipulated to escape the intended directory and write files anywhere on the host. This was demonstrated by overwriting a file in the application source directory, potentially leading to remote code execution.
Users can upgrade to SOCFortress CoPilot version 0.2.0 or later, where this vulnerability has been addressed. The update sanitizes filenames to prevent path traversal and ensures that uploaded files are written to a secure location.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 30, 2026CISA-ADP
Assessed Nov 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/socfortress/CoPilot/security/advisories/GHSA-q3g8-3cf7-744f | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/socfortress/CoPilot/commit/1881ef8d28bc7f45ffa88d7ba4fcca7302355508 | [email protected] | Source CodeVendor |
| https://github.com/socfortress/CoPilot/commit/bfa630b65d554670c7462a32ce6fd4e3cbd0254c | [email protected] | Source CodeVendor |
| https://github.com/socfortress/CoPilot/pull/940 | [email protected] | Issue TrackingVendor |
| https://github.com/socfortress/CoPilot/pull/941 | [email protected] | Issue TrackingVendor |
| https://github.com/socfortress/CoPilot/security/advisories/GHSA-q3g8-3cf7-744f | [email protected] | AdvisoryExploitRemedyVendor |
| https://github.com/socfortress/CoPilot/tree/v0.1.77 | [email protected] | Vendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
| CWE-434 | Unrestricted Upload of File with Dangerous Type | [email protected] |
| CWE-73 | External Control of File Name or Path | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| SOCFortress CoPilot | <= latest |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Modified | CISA-ADP |
| Oct 30, 2026 | New CVE Received | [email protected] |
Volerion