Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1310 CNY

100%

CVE-2026-48116— AnythingLLM: RCE via ripgrep --pre argument injection in filesystem-search-files agent skill

CVSS 7.5 · High EPSS 0.05% · P15

Affected Version Matrix 1

VendorProductVersion RangeStatus
Mintplex-Labsanything-llm< 1.13.0affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-48116

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
AnythingLLM: RCE via ripgrep --pre argument injection in filesystem-search-files agent skill
Source: NVD (National Vulnerability Database)
Vulnerability 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 -- end-of-options separator. ripgrep parses any argument that starts with - as an option, so a pattern of --pre=/bin/sh turns ripgrep into a script executor: it runs /bin/sh <file> 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.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Source: NVD (National Vulnerability Database)
Vulnerability Type
在命令中使用的特殊元素转义处理不恰当(命令注入)
Source: NVD (National Vulnerability Database)
Vulnerability Title
AnythingLLM 参数注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
AnythingLLM是Mintplex开源的一个一体化AI应用程序。 AnythingLLM 1.13.0之前版本存在参数注入漏洞,该漏洞源于filesystem-search-files代理技能将LLM控制的模式参数直接传递给ripgrep作为位置参数,未使用--结束选项分隔符,导致攻击者可以通过聊天与代理交互,利用filesystem插件(官方Docker镜像中默认启用)和兄弟技能filesystem-write-text-file,在AnythingLLM服务器容器内运行任意命令。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
Mintplex-Labsanything-llm < 1.13.0 -

II. Public POCs for CVE-2026-48116

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-48116

登录查看更多情报信息。

Patches & Fixes for CVE-2026-48116 (1)

Vendor Advisories for CVE-2026-48116 (1)

Same Patch Batch · Mintplex-Labs · 2026-05-28 · 3 CVEs total

CVE-2026-454032.0 LOWAnythingLLM: filesystem-copy-file follows nested symlinks and copies files from outside th
CVE-2026-477132.0 LOWAnythingLLM: Legacy mobile device tokens bypass multi-user workspace scoping after mode mi

IV. Related Vulnerabilities

V. Comments for CVE-2026-48116

No comments yet


Leave a comment