# CVE-2025-13791: Scada-LTS path traversal in project import

Source: https://junglewise.ai/threats/cve-2025-13791-scada-lts-path-traversal-in-project-import  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-11-30. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2025-13791 · Severity: medium · CVSS 6.3 · Published 2025-11-30

Scada-LTS is a SCADA (supervisory control and data acquisition) system used to monitor and manage industrial infrastructure. The project import feature contains a path traversal flaw that allows authenticated administrators to write malicious files outside their intended directories. An attacker could overwrite application assets to deface the UI, inject malicious code for cross-site scripting attacks, or modify configuration files—affecting all operators who access the system.

Technologies: [Scada-Lts](https://junglewise.ai/threats/technologies/scada-lts). Vendors: [Scada-Lts](https://junglewise.ai/threats/vendors/scada-lts).

## Quick answers

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

**How severe is CVE-2025-13791?** Medium severity, with a CVSS score of 6.3, published 30 November 2025.

**Which products and versions are affected?** Scada-Lts up to 2.7.8.1.

**Is there a fix for CVE-2025-13791?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2025-13791 attacked?** It is attacked over the network.

**Am I affected by CVE-2025-13791?** Check whether you run Scada-Lts 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.

## Technical details

The vulnerability is a Zip Slip path traversal flaw in the ZIPProjectManager.restoreFiles method (br/org/scadabr/vo/exporter/ZIPProjectManager.java). During ZIP archive import, the code fails to properly validate ZIP entry names before writing files to disk. The PathSecureUtils.toSecurePath function simply concatenates untrusted entry names (e.g., "uploads/../../../../webapps/Scada-LTS/assets/logo.png") to the base directory without canonicalizing or stripping traversal sequences, allowing writes anywhere beneath Common.getHomeDir(). The vulnerability requires authentication as an administrator and is triggered by uploading a crafted ZIP archive via the System → Import interface. Successful exploitation enables arbitrary file overwrite, leading to UI defacement, persistent XSS injection via malicious SVGs, or modification of application resources. A public proof-of-concept exists, and the vendor has not responded to early disclosure.

## Affected products

- Scada-LTS Scada-LTS up to 2.7.8.1

## Timeline

- 2025-11-30: disclosed
- other: Public exploit proof-of-concept available

## References

- [https://github.com/Xzzz111/exps/blob/main/archives/Scada-LTS-ZipSlip-1/report.md](https://github.com/Xzzz111/exps/blob/main/archives/Scada-LTS-ZipSlip-1/report.md)
- [https://github.com/Xzzz111/exps/blob/main/archives/Scada-LTS-ZipSlip-1/report.md](https://github.com/Xzzz111/exps/blob/main/archives/Scada-LTS-ZipSlip-1/report.md)

## Related threats

- [Scada-LTS authorization bypass in AmCharts Data API](https://junglewise.ai/threats/cve-2026-115803-a-flaw-has-been-found-in-scada-lts-2-8-0-affected-by-this)
- [ScadaLTS 2.7.8.1 reflects user-supplied input into an HTML response without sanitization. An unauthenticated attacker…](https://junglewise.ai/threats/cve-2026-19657-scadalts-2-7-8-1-reflects-user-supplied-input-into-an-html)
- [ScadaLTS 2.7.8.1 exposes a server-side method that lacks authorization checks, allowing any authenticated user…](https://junglewise.ai/threats/cve-2026-19656-scadalts-2-7-8-1-exposes-a-server-side-method-that-lacks)
- [Scada-LTS cross-site request forgery in REST API](https://junglewise.ai/threats/cve-2025-13790-scada-lts-cross-site-request-forgery-in-rest-api)
