{"document":{"category":"csaf_vex","csaf_version":"2.0","title":"CVE-2026-58449: txtai - Unauthenticated Remote Code Execution via Unsafe Reflection in API /reindex function Parameter","publisher":{"category":"vendor","name":"HarborGuard Database","namespace":"https://database.harborguard.co"},"tracking":{"id":"CVE-2026-58449","status":"final","version":"1","initial_release_date":"2026-06-30T21:06:47.254Z","current_release_date":"2026-06-30T21:06:47.254Z","revision_history":[{"date":"2026-06-30T21:06:47.254Z","number":"1","summary":"Initial machine-readable export from HarborGuard."}]},"distribution":{"tlp":{"label":"WHITE"},"text":"Public CVE data; freely redistributable."},"notes":[{"category":"description","text":"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.","title":"CVE description"}],"references":[{"category":"self","summary":"CVE-2026-58449 on HarborGuard Database","url":"https://database.harborguard.co/cve/CVE-2026-58449"},{"category":"external","summary":"CVE Record","url":"https://www.cve.org/CVERecord?id=CVE-2026-58449"},{"category":"external","summary":"Original GitHub Issue","url":"https://github.com/neuml/txtai/issues/1111"},{"category":"external","summary":"Identical Report","url":"https://github.com/neuml/txtai/issues/1122"},{"category":"external","summary":"Fix Commit","url":"https://github.com/neuml/txtai/commit/11b32da720f03276199ebc5583c15fc5d1ccafd3"},{"category":"external","summary":"vulncheck.com","url":"https://www.vulncheck.com/advisories/txtai-unauthenticated-remote-code-execution-via-unsafe-reflection-in-api-reindex-function-parameter"}]},"product_tree":{"branches":[{"category":"vendor","name":"neuml","branches":[{"category":"product_name","name":"txtai","branches":[{"category":"product_version_range","name":"<=9.10.0","product":{"name":"neuml txtai <=9.10.0","product_id":"CSAFPID-1","product_identification_helper":{"cpe":"cpe:2.3:a:neuml:txtai:*:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"11b32da720f03276199ebc5583c15fc5d1ccafd3","product":{"name":"neuml txtai 11b32da720f03276199ebc5583c15fc5d1ccafd3","product_id":"CSAFPID-2","product_identification_helper":{"cpe":"cpe:2.3:a:neuml:txtai:*:*:*:*:*:*:*:*"}}}]}]}]},"vulnerabilities":[{"cve":"CVE-2026-58449","title":"txtai - Unauthenticated Remote Code Execution via Unsafe Reflection in API /reindex function Parameter","notes":[{"category":"description","text":"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.","title":"CVE description"}],"product_status":{"known_affected":["CSAFPID-1"],"fixed":["CSAFPID-2"]},"scores":[{"cvss_v4":{"version":"4.0","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","baseScore":9.3,"baseSeverity":"CRITICAL"},"products":["CSAFPID-1"]}],"remediations":[{"category":"vendor_fix","details":"Update to a fixed version: 11b32da720f03276199ebc5583c15fc5d1ccafd3.","product_ids":["CSAFPID-1"],"url":"https://github.com/neuml/txtai/commit/11b32da720f03276199ebc5583c15fc5d1ccafd3"}]}]}