# CVE-2026-61738: SOCFortress CoPilot path traversal in ScoutSuite report upload

Source: https://junglewise.ai/threats/cve-2026-61738-socfortress-copilot-focuses-on-providing-a-single-pane-of-glass  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-30. Updated: 2026-10-30  
License: CC BY 4.0 with a link back

CVE-2026-61738 · Severity: critical · CVSS 10 · Published 2026-10-30

SOCFortress CoPilot is a security operations dashboard that centralizes monitoring and alerting. A flaw in the GCP report upload feature allows authenticated users (admin and analyst roles) to write files outside the intended directory by crafting malicious filenames, potentially overwriting application files and causing outages or application disruption. Although the vulnerability is constrained by JSON content validation, it permits an attacker running the backend as root to write files with elevated privileges into sensitive directories.

Technologies: [SOCFortress CoPilot](https://junglewise.ai/threats/technologies/copilot). Vendors: [SOCFortress](https://junglewise.ai/threats/vendors/socfortress).

## Quick answers

**Is CVE-2026-61738 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-61738 being exploited in the wild.

**How severe is CVE-2026-61738?** Critical severity, with a CVSS score of 10, published 30 October 2026.

**Which products and versions are affected?** SOCFortress CoPilot prior to 0.1.77.

**Is there a fix for CVE-2026-61738?** Yes: fixed in 0.1.77. Until then: Restrict access to the GCP ScoutSuite report generation endpoint to trusted users only, or disable the ScoutSuite integration entirely until upgrading. The affected route can be removed from the API until the application is updated to version 0.1.77. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-61738 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-61738?** Check whether you run SOCFortress CoPilot at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in 0.1.77

Restrict access to the GCP ScoutSuite report generation endpoint to trusted users only, or disable the ScoutSuite integration entirely until upgrading. The affected route can be removed from the API until the application is updated to version 0.1.77.

## Technical details

The vulnerability is a path traversal flaw in the `save_file_to_directory` function in `backend/app/integrations/scoutsuite/services/scoutsuite.py`. The function accepts an unsanitized `file.filename` from the multipart upload header and combines it with the target directory via `os.path.join()` without containment validation, allowing traversal sequences like `../` to escape the intended `scoutsuite-report` directory. An authenticated user can supply a crafted filename (e.g., `../../../../evil.json`) to write JSON-formatted files anywhere on the filesystem, subject to the JSON content validation constraint. The primary impact in the reported environment was arbitrary file write as root in the application source directory, disrupting application operation.

## Affected products

- SOCFortress CoPilot prior to 0.1.77

## Timeline

- 2026-10-30: disclosed

## References

- [https://github.com/socfortress/CoPilot/commit/1881ef8d28bc7f45ffa88d7ba4fcca7302355508](https://github.com/socfortress/CoPilot/commit/1881ef8d28bc7f45ffa88d7ba4fcca7302355508)
- [https://github.com/socfortress/CoPilot/commit/bfa630b65d554670c7462a32ce6fd4e3cbd0254c](https://github.com/socfortress/CoPilot/commit/bfa630b65d554670c7462a32ce6fd4e3cbd0254c)

## Related threats

- [SOCFortress CoPilot authorization bypass in Velociraptor Sigma exclusion endpoints](https://junglewise.ai/threats/cve-2026-61739-socfortress-copilot-focuses-on-providing-a-single-pane-of-glass)
- [SOCFortress CoPilot unauthenticated GCP credential and report exposure](https://junglewise.ai/threats/cve-2026-61730-socfortress-copilot-focuses-on-providing-a-single-pane-of-glass)
- [SOCFortress CoPilot hardcoded webhook secret authentication bypass](https://junglewise.ai/threats/cve-2026-61729-socfortress-copilot-focuses-on-providing-a-single-pane-of-glass)
- [SOCFortress CoPilot stored cross-site scripting in alerts and cases](https://junglewise.ai/threats/cve-2026-61728-socfortress-copilot-focuses-on-providing-a-single-pane-of-glass)
- [SOCFortress CoPilot authorization bypass in data store upload](https://junglewise.ai/threats/cve-2026-61708-socfortress-copilot-focuses-on-providing-a-single-pane-of-glass)
