Paper/Archive/CVE-2025-55294

CVE-2025-55294

bencevans screenshot-desktop — Command Injection via `format` option in screenshot-desktop

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
screenshot-desktop< 1.15.2–CNA

Scores by source

GitHub_M (CNA)9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: no · Technical impact: total

References

refgithub.com/bencevans/screenshot-desktop/security/advisories/GHSA-gjx4-2c7g-fm94refgithub.com/bencevans/screenshot-desktop/commit/59c87b0c175eec76090e6ccde313f4fc5d569b78