OS Command Injection in KytyPS5 Windows Launcher via Crafted Configuration #2210

Closed
opened 2026-11-26 10:16:47 +00:00 by github-bot · 1 comment
Owner

@⁠CodeStartUp on GitHub · 2026-11-11 04:09 UTC · original

Hello,

Following our previous discussion, I have completed a security audit of the KytyPS5 Windows launcher.

The audit reports successful end-to-end reproduction using official Windows release binaries.

Key findings

  1. The original command-injection vulnerability was reproduced on version 0.3.0.
  2. The quote-doubling change introduced in commit [906d255](github.com/KytyPS5/KytyPS5@906d25568f) blocks the original quote-breakout technique.
  3. However, the current main branch remains vulnerable through a separate cmd.exe percent-expansion technique.
  4. The recommended remediation is to remove cmd.exe /K from the launch process and start the emulator directly using QProcess::setProgram() and QProcess::setArguments().

The audit package includes technical analysis, source-code references, reproduction logs, harmless marker-file evidence, affected-version analysis, and a proposed remediation patch.

CVE: CVE-2026-117065 (Reserved; publication status not independently confirmed)

I would appreciate your review of these findings and confirmation of the remaining vulnerability.

I also recommend updating the previous issue [#2192](#2192) to clarify that the original quote-breakout technique is blocked, but a separate command-injection path remains.

Thank you for your time and investigation.

KytyPS5-Security-Audit.zip

**@⁠CodeStartUp** on GitHub · 2026-11-11 04:09 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2210) Hello, Following our previous discussion, I have completed a security audit of the KytyPS5 Windows launcher. The audit reports successful end-to-end reproduction using official Windows release binaries. ### Key findings 1. The original command-injection vulnerability was reproduced on version **0.3.0**. 2. The quote-doubling change introduced in commit [[906d255](https://github.com/KytyPS5/KytyPS5/commit/906d25568fb9c409d798b97ae72c7c12cbedb914)](https://github.com/KytyPS5/KytyPS5/commit/906d25568fb9c409d798b97ae72c7c12cbedb914) blocks the original quote-breakout technique. 3. However, the current main branch remains vulnerable through a separate `cmd.exe` percent-expansion technique. 4. The recommended remediation is to remove `cmd.exe /K` from the launch process and start the emulator directly using `QProcess::setProgram()` and `QProcess::setArguments()`. The audit package includes technical analysis, source-code references, reproduction logs, harmless marker-file evidence, affected-version analysis, and a proposed remediation patch. **CVE:** CVE-2026-117065 (Reserved; publication status not independently confirmed) I would appreciate your review of these findings and confirmation of the remaining vulnerability. I also recommend updating the previous issue [[#2192](https://git.gtahub.st/github/KytyPS5--KytyPS5/issues/2192)](https://git.gtahub.st/github/KytyPS5--KytyPS5/issues/2192) to clarify that the original quote-breakout technique is blocked, but a separate command-injection path remains. Thank you for your time and investigation. [KytyPS5-Security-Audit.zip](https://github.com/user-attachments/files/34669638/KytyPS5-Security-Audit.zip)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 10:16:47 +00:00
Author
Owner

@⁠Nmzik on GitHub · 2026-11-11 08:51 UTC · original

We’re not launching people into space or conducting military operations. We don’t need an audit for security fixes.

**@⁠Nmzik** on GitHub · 2026-11-11 08:51 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2210#issuecomment-6791474037) We’re not launching people into space or conducting military operations. We don’t need an audit for security fixes.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/KytyPS5--KytyPS5#2210
No description provided.