# CVE-2026-93534: Spatie Scotty code integrity check bypass in self-updater

Source: https://junglewise.ai/threats/cve-2026-93534-a-vulnerability-was-identified-in-spatie-scotty-up-to-1-4-2  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-09-18. Updated: 2026-09-26  
License: CC BY 4.0 with a link back

CVE-2026-93534 · Severity: medium · CVSS 6.3 · Published 2026-09-18

Scotty is a PHP SSH task runner tool. The self-updater functionality could download and execute malicious code if an attacker intercepts the download, because it only checked that the downloaded file was non-empty and met a minimum size—not that it was authentic. An attacker with network access to the download could inject malicious code that executes when Scotty updates itself.

Vendors: [Spatie](https://junglewise.ai/threats/vendors/spatie).

## Quick answers

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

**How severe is CVE-2026-93534?** Medium severity, with a CVSS score of 6.3, published 18 September 2026.

**Which products and versions are affected?** Spatie Scotty up to 1.4.2.

**Is there a fix for CVE-2026-93534?** A patch was published on 2026-09-08: Version 1.4.3 released with signature verification Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-93534 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-93534?** Check whether you run Spatie Scotty 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 exists in the SelfUpdater::update function, which lacked cryptographic verification of downloaded PHAR files before installation (CWE-494). An attacker positioned to perform MITM or DNS poisoning could replace the legitimate PHAR with malicious code. The fix (v1.4.3) adds ed25519 signature verification against a public key embedded in the application, so the authenticity of releases is no longer transport-dependent.

## Affected products

- Spatie Scotty up to 1.4.2

## Timeline

- 2026-09-18: disclosed
- 2026-09-08: patched: Version 1.4.3 released with signature verification

## References

- [https://github.com/spatie/scotty/](https://github.com/spatie/scotty/)
- [https://github.com/spatie/scotty/commit/4b4e11bfc98e3a2159bb2b3d9b040293fcc44744](https://github.com/spatie/scotty/commit/4b4e11bfc98e3a2159bb2b3d9b040293fcc44744)

## Related threats

- [Spatie Scotty OS command injection in doctor command](https://junglewise.ai/threats/cve-2026-93533-a-vulnerability-was-determined-in-spatie-scotty-up-to-1-4-4-this)
