CVE-2026-58449
published critical CVSS 4.0 · 9.3txtai - Unauthenticated Remote Code Execution via Unsafe Reflection in API /reindex function Parameter
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| neuml | — | txtai0 through 9.10.0 (affected · semver) · 11b32da720f03276199ebc5583c15fc5d1ccafd3 (unaffected · git) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.3 / 10
- Severity
- critical
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 9.8 | critical | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| neuml | txtai | 0 through 9.10.0 (affected · semver)11b32da720f03276199ebc5583c15fc5d1ccafd3 (unaffected · git)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-94 Improper Control of Generation of Code ('Code Injection')
References
4- Fix Commit https://github.com/neuml/txtai/commit/11b32da720f03276199ebc5583c15fc5d1ccafd3
- Original GitHub Issue https://github.com/neuml/txtai/issues/1111
- Identical Report 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
Provider assertions
2VulnCheck · cna
txtai - Unauthenticated Remote Code Execution via Unsafe Reflection in API /reindex function Parameter
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a251b5535815c86e4c6b637c4e53f2376f11a25f736784e6021d418e2ad25e05
- Ingested
- 23 Sep 2026, 09:22:29 UTC
- Source record
- Official CVE record