{"id":65701,"date":"2025-07-07T23:31:59","date_gmt":"2025-07-07T20:01:59","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2025-53536-roo-code-code-execution-vulnerability-arbitrary-command-injection\/"},"modified":"2025-07-07T23:31:59","modified_gmt":"2025-07-07T20:01:59","slug":"cve-2025-53536-roo-code-code-execution-vulnerability-arbitrary-command-injection","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2025-53536-roo-code-code-execution-vulnerability-arbitrary-command-injection\/","title":{"rendered":"CVE-2025-53536 &#8211; Roo Code Code Execution Vulnerability (Arbitrary Command Injection)"},"content":{"rendered":"<p><strong>CVE ID : <\/strong>CVE-2025-53536<br \/>\n<br \/>\n<strong>Published : <\/strong> July 7, 2025, 6:15 p.m. | 59\u00a0minutes ago<br \/>\n<br \/>\n<strong>Description : <\/strong>Roo Code is an AI-powered autonomous coding agent. Prior to 3.22.6, if the victim had &#8220;Write&#8221; auto-approved, an attacker with the ability to submit prompts to the agent could write to VS Code settings files and trigger code execution. There were multiple ways to achieve that. One example is with the php.validate.executablePath setting which lets you set the path for the php executable for syntax validation. The attacker could have written the path to an arbitrary command there and then created a php file to trigger it. This vulnerability is fixed in 3.22.6.<br \/>\n<br \/>\n<strong>Severity:<\/strong> 8.1 | HIGH<br \/>\n<br \/>\nVisit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2025-53536 Published : July 7, 2025, 6:15 p.m. | 59\u00a0minutes ago Description : Roo Code is an AI-powered autonomous coding agent. Prior to 3.22.6, if the victim had &#8220;Write&#8221; auto-approved, an attacker with the ability to submit prompts to the agent could write to VS Code settings files and trigger code execution. &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-65701","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/65701","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=65701"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/65701\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=65701"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=65701"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=65701"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}