Skip to content
CriticalVulnerability

CVE-2026-58449: txtai remote code execution through unauthenticated /reindex endpoint

Identifier
CVE-2026-58449
Published
Record updated
View JSON

Summary

txtai through 9.10.0 exposes an API /reindex endpoint whose function body parameter is resolved through txtai.util.Resolver, which runs __import__ and getattr on a caller-supplied dotted path with no allowlist. When the API has no TOKEN configured and the index is writable, a remote attacker can set function to an arbitrary callable such as subprocess.getoutput and gain remote code execution as the server process during reindexing.

Mitigation

Fixed in commit 11b32da. The fix gates the endpoint behind a new reindex configuration flag.