CriticalVulnerability
CVE-2026-58449: txtai remote code execution through unauthenticated /reindex endpoint
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-58449
- Published
- Record updated
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.
Related items
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database
- MediumNSA urges immediate post-quantum shift after AI labs report cryptography breakthroughsSimilar attack, CSO Online
- LowPerplexity caught an AI attacker casing its cloudSimilar attack, CSO Online