CVE-2025-55294
BaseFortify
Publication date: 2025-08-19
Last updated on: 2025-08-20
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| bencevans | screenshot-desktop | 1.15.2 |
| bencevans | screenshot-desktop | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-77 | The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a command injection issue in the screenshot-desktop tool. It occurs because user-controlled input passed into the format option of the screenshot function is directly inserted into a shell command without proper sanitization. This allows an attacker to execute arbitrary commands on the system with the same privileges as the calling process.
What immediate steps should I take to mitigate this vulnerability?
Update the screenshot-desktop package to version 1.15.2 or later, where this command injection vulnerability is fixed. Avoid using vulnerable versions and do not pass unsanitized user input to the format option of the screenshot function.
How can this vulnerability impact me? :
This vulnerability can allow an attacker to execute arbitrary commands on your machine with the privileges of the process running the screenshot-desktop tool. This can lead to full system compromise, including data theft, system damage, or further attacks.