CVE-2026-58449

Source
https://cve.org/CVERecord?id=CVE-2026-58449
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-58449.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-58449
Published
2026-06-30T21:06:47.254Z
Modified
2026-07-16T03:31:07.716021017Z
Severity
  • 9.3 (Critical) CVSS_V4 - 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 CVSS Calculator
Summary
txtai - Unauthenticated Remote Code Execution via Unsafe Reflection in API /reindex function Parameter
Details

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.

Database specific
{
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
        "CWE-94"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58449.json"
}
References

Affected packages

Git / github.com/neuml/txtai

Affected ranges

Type
GIT
Repo
https://github.com/neuml/txtai
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
{
    "source": [
        "DESCRIPTION",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "9.10.0"
        }
    ]
}

Affected versions

v1.*
v1.0.0
v1.1.0
v1.2.0
v1.2.1
v1.3.0
v1.4.0
v1.5.0
v2.*
v2.0.0
v3.*
v3.0.0
v3.1.0
v3.2.0
v3.3.0
v3.4.0
v3.5.0
v3.6.0
v3.7.0
v4.*
v4.0.0
v4.1.0
v4.2.0
v4.2.1
v4.3.0
v4.3.1
v4.4.0
v4.5.0
v4.6.0
v5.*
v5.0.0
v5.1.0
v5.2.0
v5.3.0
v5.4.0
v5.5.0
v5.5.1
v6.*
v6.0.0
v6.1.0
v6.2.0
v6.3.0
v7.*
v7.0.0
v7.1.0
v7.2.0
v7.3.0
v7.4.0
v7.5.0
v8.*
v8.0.0
v8.1.0
v8.2.0
v8.3.0
v8.3.1
v8.4.0
v8.5.0
v8.6.0
v9.*
v9.0.0
v9.0.1
v9.1.0
v9.10.0
v9.2.0
v9.3.0
v9.4.0
v9.4.1
v9.5.0
v9.6.0
v9.7.0
v9.8.0
v9.9.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-58449.json"