{"id":78985,"date":"2026-05-29T01:47:01","date_gmt":"2026-05-28T22:17:01","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-48116-anythingllm-rce-via-ripgrep-pre-argument-injection-in-filesystem-search-files-agent-skill\/"},"modified":"2026-05-29T01:47:01","modified_gmt":"2026-05-28T22:17:01","slug":"cve-2026-48116-anythingllm-rce-via-ripgrep-pre-argument-injection-in-filesystem-search-files-agent-skill","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-48116-anythingllm-rce-via-ripgrep-pre-argument-injection-in-filesystem-search-files-agent-skill\/","title":{"rendered":"CVE-2026-48116 &#8211; AnythingLLM: RCE via ripgrep &#8211;pre argument injection in filesystem-search-files agent skill"},"content":{"rendered":"<p>CVE ID :CVE-2026-48116<\/p>\n<p>  Published : May 28, 2026, 10:17 p.m. | 15\u00a0minutes ago<\/p>\n<p>  Description :AnythingLLM is an application that turns pieces of content into context that any LLM can use as references during chatting. Prior to 1.13.0, the filesystem-search-files agent skill passes its LLM-controlled pattern parameter to ripgrep as a positional argument without a &#8212; end-of-options separator. ripgrep parses any argument that starts with &#8211; as an option, so a pattern of &#8211;pre=\/bin\/sh turns ripgrep into a script executor: it runs \/bin\/sh  for every file it walks. An attacker who can chat with an agent on a deployment with the filesystem plugin enabled (the default in the official Docker image) can use this, together with the sibling filesystem-write-text-file skill, to run arbitrary commands inside the AnythingLLM server container. This vulnerability is fixed in 1.13.0.<\/p>\n<p>  Severity: 7.5 | HIGH<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-48116 Published : May 28, 2026, 10:17 p.m. | 15\u00a0minutes ago Description :AnythingLLM is an application that turns pieces of content into context that any LLM can use as references during chatting. Prior to 1.13.0, the filesystem-search-files agent skill passes its LLM-controlled pattern parameter to ripgrep as a positional argument without a &#8212; &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-78985","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/78985","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=78985"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/78985\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=78985"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=78985"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=78985"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}