CVE Wiki Pixee · CVE intelligence
← All CVEs

CVE-2026-58449

Critical · CVSS 9.8

txtai — Unsafe Reflection / Arbitrary Code Execution via API endpoint (CWE-94)

CVSS
9.8
nvd
EPSS
KEV
No
Class
oss containerizable
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.

Search profile — drives PoC discovery

Symbols txtai.util.Resolver__import__getattr/reindexreindexfunctionsubprocess.getoutputreindex configuration flagTOKEN11b32da720f03276199ebc5583c15fc5d1ccafd3
Keywords CVE-2026-58449txtaireindexRCEremote code executionResolverunauthenticatedAPIunsafe reflectiontxtai exploittxtai PoCtxtai vulnerabilityneuml txtaitxtai 9.10.0
Versions: through 9.10.0, fixed in commit 11b32da

References

Status: enriched · ingested 2026-07-15T00:00:20.000Z · profiled 2026-07-15T06:30:20.000Z