Skip to content
LowVulnerability

CVE-2026-45403: AnythingLLM agent filesystem copy tool follows symlinks to copy outside files

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

Summary

AnythingLLM's agent filesystem copy tool, prior to version 1.13.0, validates only the top-level source and destination paths. Its recursive copy helper descends into child entries with fs.stat() and copies them with fs.copyFile() without validating each child or rejecting symlinks, so a symlink nested in an allowed source directory can pull file contents from outside the allowed root into an allowed destination as a regular file.

Mitigation

Fixed in 1.13.0.