What’s Vulnerable › Vulnerabilities
CVE-2026-58449: txtai - Unauthenticated Remote Code Execution via Unsafe Reflection in API /reindex function Parameter
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-30 · updated 2026-10-25
- Weakness: CWE-94
Description
txtai through 9.10.0, fixed in commit 11b32da, exposes an API /reindex endpoint whose function body parameter is resolved through txtai.util.Resolver, which performs __import__ and getattr on the caller-supplied dotted path with no allowlist. When the API is exposed with no TOKEN configured (authentication is opt-in, so all endpoints are unauthenticated) and the index is configured writable, a remote attacker can set function to an arbitrary callable such as subprocess.getoutput, achieving remote code execution as the server process during reindexing. Exploitation requires those deployment conditions (API exposed, no TOKEN, writable index); it is not the default configuration. The fix gates the endpoint behind a new reindex configuration flag.
Affected products
- neuml txtai: through 9.10.0
References
- https://github.com/neuml/txtai/commit/11b32da720f03276199ebc5583c15fc5d1ccafd3
- https://github.com/neuml/txtai/issues/1111
- https://github.com/neuml/txtai/issues/1122
- https://www.vulncheck.com/advisories/txtai-unauthenticated-remote-code-execution-via-unsafe-reflection-in-api-reindex-function-parameter
Get alerted when CVE-2026-58449 or the next vulnerability affects your stack