CVE-2022-31262 is a local privilege escalation vulnerability in GOG Galaxy 2.0.46. The vulnerability arises from insufficient permissions on the %ProgramData%\GOG.com folder, allowing a local attacker to replace the GalaxyCommunication service executable with a malicious file. When the service is started, the malicious executable is run with SYSTEM privileges, enabling arbitrary code execution at the highest privilege level.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This repository provides a local privilege escalation (LPE) exploit for GOG Galaxy 2.X on Windows, targeting CVE-2022-31262. The exploit consists of a PowerShell script (exploit.ps1) and a C++ payload (GalaxyCommunication.cpp). The PowerShell script checks for vulnerable permissions on the GOG Galaxy installation directories, stops relevant GOG services and processes, renames the Galaxy folder, creates a hijacked folder structure, and places a malicious GalaxyCommunication.exe (compiled from the C++ source) in the expected location. It then restarts the GalaxyCommunication service, which executes the payload as SYSTEM, spawning a SYSTEM-level command shell. After exploitation, the script attempts to restore the original folder structure to cover its tracks. The exploit is operational and provides a SYSTEM shell if successful. The main attack vector is local, requiring access to the target machine. The repository is well-structured, with clear separation between the exploit logic (PowerShell) and the payload (C++).
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.