Security Vulnerability Report
中文
CVE-2026-36365 CVSS 7.8 HIGH

CVE-2026-36365

Published: 2026-05-04 16:16:02
Last Modified: 2026-05-07 15:53:50

Description

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

CVSS Details

CVSS Score
7.8
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

Lymphatus caesium-image-compressor <= commit 02da2c6

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# Proof of Concept (Conceptual) # This script demonstrates the command injection concept. # Actual exploitation requires interacting with the vulnerable application. import os # Simulating the vulnerable function in PostCompressionActions.cpp # Vulnerable pattern: system("shutdown " + user_input) def vulnerable_shutdown_action(user_input): # The application fails to sanitize semicolons or command chaining command = f"shutdown /s /t 0 {user_input}" print(f"Executing command: {command}") # In a real scenario, this executes the OS command # os.system(command) # Attacker payload to execute calc.exe instead of just shutting down malicious_payload = "&& calc.exe" if __name__ == "__main__": print("Simulating CVE-2026-36365 PoC...") vulnerable_shutdown_action(malicious_payload)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-36365", "sourceIdentifier": "[email protected]", "published": "2026-05-04T16:16:02.053", "lastModified": "2026-05-07T15:53:49.717", "vulnStatus": "Awaiting Analysis", "cveTags": [], "descriptions": [{"lang": "en", "value": "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"}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.8, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-77"}, {"lang": "en", "value": "CWE-94"}]}], "references": [{"url": "https://github.com/Lymphatus/caesium-image-compressor", "source": "[email protected]"}, {"url": "https://github.com/Lymphatus/caesium-image-compressor/blob/main/src/utils/PostCompressionActions.cpp", "source": "[email protected]"}, {"url": "https://github.com/Lymphatus/caesium-image-compressor/pull/376", "source": "[email protected]"}, {"url": "https://github.com/mertsatilmaz/vulnerability-research/blob/main/advisories/CVE-2026-36365.md", "source": "[email protected]"}]}}