screenshot-desktop allows capturing a screenshot of your local machine. This vulnerability is a command injection issue. When user-controlled input is passed into the format option of the screenshot function, it is interpolated into a shell command without sanitization. This results in arbitrary command execution with the privileges of the calling process. This vulnerability is fixed in 1.15.2.

Project Subscriptions

No data.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-25196 screenshot-desktop vulnerable to command Injection via `format` option
Github GHSA Github GHSA GHSA-gjx4-2c7g-fm94 screenshot-desktop vulnerable to command Injection via `format` option
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Tue, 19 Aug 2025 20:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 19 Aug 2025 17:45:00 +0000

Type Values Removed Values Added
Description screenshot-desktop allows capturing a screenshot of your local machine. This vulnerability is a command injection issue. When user-controlled input is passed into the format option of the screenshot function, it is interpolated into a shell command without sanitization. This results in arbitrary command execution with the privileges of the calling process. This vulnerability is fixed in 1.15.2.
Title Command Injection via `format` option in screenshot-desktop
Weaknesses CWE-77
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-08-19T20:03:52.409Z

Reserved: 2025-08-12T16:15:30.237Z

Link: CVE-2025-55294

cve-icon Vulnrichment

Updated: 2025-08-19T20:03:49.133Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-08-19T18:15:29.140

Modified: 2025-08-20T14:40:17.713

Link: CVE-2025-55294

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses