CVE-2025-55294bencevans screenshot-desktop
Critical 9.8 No auth needed
Follow: this CVE · bencevans · bencevans screenshot-desktop We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- —
- Auth required
- No
- Published
- Aug 19, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-77
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for screenshot-desktop.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | screenshot-desktop |
< 1.15.2 |
1.15.2 |
npm install screenshot-desktop@1.15.2 |
Per OSV / GitHub Advisories (GHSA-gjx4-2c7g-fm94). Check the version in your lockfile before upgrading.
Affected products
- bencevans · screenshot-desktop
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.