{"id":"CVE-2026-45313","summary":"Sandboxie-Plus: Sandboxie APC Injection Sandbox Escape","details":"Sandboxie-Plus is an open source sandbox-based isolation software for Windows. Prior to 1.17.6, GuiServer::WndHookRegisterSlave in Sandboxie/core/svc/GuiServer.cpp stores attacker-supplied hthread and hproc fields from a GUI_WND_HOOK_REGISTER request without validating that the thread belongs to the sandboxed process or that the function pointer is in the caller address space, and GuiServer::WndHookNotifySlave then calls OpenThread(THREAD_SET_CONTEXT, FALSE, whk-\u003ehthread) and QueueUserAPC((PAPCFUNC)whk-\u003ehproc, hThread, (ULONG_PTR)req-\u003ethreadid) as SYSTEM, allowing a sandboxed process to execute arbitrary code in an unsandboxed host process. This issue is fixed in version 1.17.6.","aliases":["GHSA-rmv3-fhg3-75xh"],"modified":"2026-08-12T16:24:35.318296Z","published":"2026-07-15T21:21:23.091Z","database_specific":{"cwe_ids":["CWE-284"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45313.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/sandboxie-plus/Sandboxie/releases/tag/v1.17.6"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45313.json"},{"type":"ADVISORY","url":"https://github.com/sandboxie-plus/Sandboxie/security/advisories/GHSA-rmv3-fhg3-75xh"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45313"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/sandboxie-plus/sandboxie","events":[{"introduced":"0"},{"fixed":"39921e52bf08e27bde194ef4bd74ab8c44265f8d"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.17.6"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["v1.17.5","v1.17.4","v1.17.3","v1.17.2","v1.17.1","v1.17.0","v1.16.9","v1.16.8","v1.16.7","v1.16.6","v1.16.4","v1.16.3","v1.16.2","v1.16.1","v1.16.0","v1.15.12","v1.15.10","v1.15.9","v1.15.8","v1.15.7","v1.15.6","v1.15.5","v1.15.4","v1.15.3","v1.15.2","v1.15.1","v1.15.0","v1.14.10","v1.14.9","v1.14.8","v1.14.7","v1.14.6","v1.14.5","v1.14.4","v1.14.3","v1.14.1","v1.14.0","v1.13.7","v1.13.6","v1.13.5","v1.13.4","v1.13.3","v1.13.2","v1.13.1","v1.13.0","v1.12.9","v1.12.8","v1.12.7","v1.12.6","v1.12.5","v1.12.4","v1.12.3","v1.12.2","v1.12.1","v1.12.0","v1.11.4","v1.11.3","v1.11.2","v1.11.1","v1.11.0","v1.10.5","v1.10.4","v1.10.3","v1.10.2","v1.10.1","v1.9.8","v1.9.7","v1.9.6","v1.9.4","v1.9.3","v1.9.1","v1.9.0","v1.8.4","v1.8.3","v1.8.2a","v1.8.2","v1.8.1","v1.8.0","v1.7.2","v1.7.1","v1.7.0","v1.6.7","v1.6.6","v1.6.5","v1.6.4","v1.6.3","v1.6.2b","v1.6.1b","v1.6.1a","v1.6.1","v1.6.0","v1.5.3","v1.5.2","v1.5.1","v1.5.0","v1.4.2","v1.4.1","v1.4.0","v1.3.5","1.3.4","v1.3.3","v1.3.2","v1.3.1","v1.3.0","v1.2.9","v1.2.8","v1.2.7","v1.2.6","v1.2.4","v1.2.3","v1.2.2","v1.2.1","v1.1.3","v1.1.2","1.1.0","1.0.22","1.0.20","1.0.19","1.0.18","1.0.17","1.0.16","1.0.15","1.0.14","1.0.13","1.0.12","1.0.11","1.0.10","1.0.8","1.0.6","1.0.5","1.0.4","1.0.3","1.0.2","1.0.1","1.0.0","0.9.8d","0.9.8c","0.9.8","0.9.7e","0.9.7d","0.9.7c","0.9.7b","0.9.7","0.9.6","0.9.5","0.9.4","0.9.3","0.9.2","0.9.1","0.9.0a","0.8.8","0.8.7b","0.8.7","0.8.6","0.8.5","0.8.2","0.8.0","0.8.1","0.7.5","0.7.4","0.7.3","0.7.2","0.7.1","0.7.0","0.6.7","0.6.5","0.6.0","0.5.5","v0.5.4d","v0.5.4c","v0.5.4b","v0.5.4","v0.5.3b","v0.5.3a","v0.5.2","v0.5.1","v0.5.0","v0.4.5","v0.4.4","v0.4.3","v0.4.2","v0.4.1","v0.4.0","v0.3.5","v0.3","v0.2.2","v0.2.1","v0.2","v0.1","v5.40.1","v5.40"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45313.json","vanir_signatures_modified":"2026-08-12T16:24:35Z","vanir_signatures":[{"id":"CVE-2026-45313-2dfe9fa5","signature_type":"Function","signature_version":"v1","source":"https://github.com/sandboxie-plus/sandboxie/commit/39921e52bf08e27bde194ef4bd74ab8c44265f8d","target":{"file":"Sandboxie/apps/com/RpcSs/sxs.c","function":"Sxs_Generate"},"deprecated":false,"digest":{"function_hash":"289976576432710729290462603919483510485","length":2283}},{"source":"https://github.com/sandboxie-plus/sandboxie/commit/39921e52bf08e27bde194ef4bd74ab8c44265f8d","target":{"file":"Sandboxie/apps/com/RpcSs/sxs.c"},"deprecated":false,"digest":{"line_hashes":["91439951071089889007638896565366741028","325000784943842999671954936847845686951","214985618602152570469163126170839027231","106226580880536276462044250394711356482","196136706958034930023915130804171969055","274847423178118329860487700154445000710"],"threshold":0.9},"id":"CVE-2026-45313-368b383b","signature_type":"Line","signature_version":"v1"}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H"}]}