Skip to content
HighVulnerability

CVE-2026-48116: AnythingLLM is an application that turns pieces of content into context that any LLM can use as references during…

Identifier
CVE-2026-48116
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.

Summary

AnythingLLM versions prior to 1.13.0 pass the LLM-controlled pattern parameter of the filesystem-search-files agent skill to ripgrep as a positional argument without a -- end-of-options separator. A pattern such as --pre=/bin/sh makes ripgrep run /bin/sh on 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 combine this with the filesystem-write-text-file skill to run arbitrary commands inside the AnythingLLM server container.

Mitigation

Fixed in 1.13.0.