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

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. 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

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.