CVE-2026-93533 in Scottyinfo

Summary

by MITRE • 09/18/2026

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.

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Analysis

by VulDB Data Team • 09/18/2026

The vulnerability identified in spatie Scotty versions up to 1.4.4 represents a critical security flaw within the Doctor Command Handler component, specifically affecting the DoctorCommand::checkSshConnectivity and DoctorCommand::checkRemoteTools functions located in app/Commands/DoctorCommand.php. This issue is classified as an OS command injection vulnerability, which falls under CWE-78 Improper Neutralization of Special Elements used in an OS Command within standard security taxonomies. The core technical flaw stems from the application's failure to properly sanitize or validate user-supplied input before passing it to underlying operating system commands. When the host argument is manipulated by an attacker, the application constructs shell commands that include this unsanitized data directly into execution strings without adequate filtering for special characters such as semicolons, ampersands, or pipe symbols. This lack of neutralization allows an adversary to inject arbitrary OS-level commands that are executed with the privileges of the user running the Scotty process.

The operational impact of this vulnerability is severe due to its remote exploitability. Because the attack can be initiated remotely, a threat actor does not need local access or prior authentication on the target system if the affected endpoints are exposed over a network interface. By crafting specific HTTP requests that trigger the Doctor Command Handler functions with maliciously crafted host parameters, an attacker can achieve arbitrary code execution on the underlying server. This could lead to complete compromise of the application environment, including unauthorized data access, modification of critical files, or using the compromised system as a pivot point for further attacks against other network resources. The ability to execute commands remotely significantly lowers the barrier for exploitation, making this vulnerability high-risk in environments where Scotty is exposed to untrusted networks.

Mitigation strategies must focus on immediate remediation and defensive coding practices until official patches are released. Since the pull request to fix this issue awaits acceptance, administrators should consider applying a manual patch by modifying app/Commands/DoctorCommand.php to implement strict input validation for the host argument. This includes enforcing allowlists of valid characters or IP addresses rather than relying on blacklist approaches which can be bypassed through encoding techniques. Additionally, using safe API functions that do not invoke shell interpreters directly is recommended over executing system commands via string concatenation. If immediate patching is not feasible, network-level controls such as firewall rules restricting access to the Scotty endpoints or WAF configurations blocking common command injection payloads should be deployed to reduce the attack surface. Organizations are advised to monitor for official updates from spatie and apply them promptly once accepted into the main codebase to ensure long-term security posture integrity aligned with ATT&CK techniques related to Command and Scripting Interpreter abuse.

Responsible

VulDB

Disclosure

09/18/2026

Moderation

accepted

CPE

ready

EPSS

0.00000

KEV

no

Activities

low

Sources

Interested in the pricing of exploits?

See the underground prices here!