---
id: CVE-2026-93533
title: A vulnerability was determined in spatie Scotty up to 1.4.4
summary: >-
  A vulnerability was determined in spatie Scotty up to 1.4.4. This impacts the
  function DoctorCommand::checkSshConnectivity/DoctorCommand::checkRemoteTools
  of the file app/Commands/DoctorCommand.php of the component Doctor Command
  Handler…
severity: medium
cvss: 6.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L'
cwe:
  - CWE-77
  - CWE-78
vendor: spatie
product: Scotty
affected:
  - Scotty 1.4.0
  - Scotty 1.4.1
  - Scotty 1.4.2
  - Scotty 1.4.3
  - Scotty 1.4.4
published: '2026-09-18'
updated: '2026-09-23'
sourceUpdated: '2026-09-23T17:17:19.973'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-93533'
references:
  - url: 'https://github.com/spatie/scotty/'
    label: cna@vuldb.com
  - url: 'https://github.com/spatie/scotty/issues/20'
    label: cna@vuldb.com
  - url: 'https://github.com/spatie/scotty/pull/22'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/cve/CVE-2026-93533'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/submit/943917'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/vuln/407450'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/vuln/407450/cti'
    label: cna@vuldb.com
  - url: 'https://github.com/spatie/scotty/issues/20'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: >-
      https://github.com/sumo166/CVE-apply/blob/main/spatie/scotty/Doctor%20Command%20Injection%20via%20Unescaped%20@servers%20Host%20(CWE-78)_cve.md
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - cve.org
  - exploit-available
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-23T16:15:33.829836Z'
epss: 0.01443
epssPercentile: 0.73107
ingestedAt: '2026-09-18T16:45:41.412Z'
---

## Overview

A vulnerability was determined in spatie Scotty up to 1.4.4. This impacts the function DoctorCommand::checkSshConnectivity/DoctorCommand::checkRemoteTools of the file app/Commands/DoctorCommand.php of the component Doctor Command Handler. This manipulation of the argument host causes os command injection. It is possible to initiate the attack remotely. The pull request to fix this issue awaits acceptance.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
