CVE-2025-55294

Command Injection via `format` option in screenshot-desktop

Published Aug 19, 2025 CVSS 3.1 · 9.8 Critical EPSS 1.4% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

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
History
Type Values Removed Values Added
Metrics ssvc

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

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'}

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 19, 2025, 8:03 PM
Reserved
Aug 12, 2025, 4:15 PM
Status
Deferred
Published
Aug 19, 2025, 6:15 PM
Modified
Jun 17, 2026, 9:41 AM