Read the docs
TI-2025-34950 Aliases CVE-2025-55294GHSA-gjx4-2c7g-fm94

Command Injection via `format` option in screenshot-desktop

Priority MEDIUM 46CWE-77Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-77.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01441 73rd percentileScored 2026-11-07
Fix Fixed screenshot-desktop (bencevans): 1.15.2screenshot-desktop (npm): 1.15.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
bencevansscreenshot-desktopbefore 1.15.21.15.2Patch availableCNA
—screenshot-desktop (npm)before 1.15.21.15.2Patch availableGHSA-gjx4-2c7g-fm94
  • screenshot-desktop Vendorbencevans Affected before 1.15.2 Fixed in 1.15.2 Patch available CNA
  • screenshot-desktop (npm) Vendor— Affected before 1.15.2 Fixed in 1.15.2 Patch available GHSA-gjx4-2c7g-fm94

Remediation

  • Fix · CNA screenshot-desktop (bencevans) Fixed in 1.15.2
  • Fix · GHSA-gjx4-2c7g-fm94 screenshot-desktop (npm) Fixed in 1.15.2 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-55294
  2. 2026-10-03 Alias added: GHSA-gjx4-2c7g-fm94

References

Sources