Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-58449: Improper Control of Generation of Code ('Code Injection') in neuml txtai

0
Critical
VulnerabilityCVE-2026-58449cvecve-2026-58449
Published: 06/30/2026 (06/30/2026, 21:06:47 UTC)
Source: CVE Database V5
Vendor/Project: neuml
Product: txtai

Description

txtai versions up to and including 9.10.0 have a critical code injection vulnerability in the /reindex API endpoint. This endpoint accepts a function parameter resolved via txtai.util.Resolver, which unsafely imports and accesses arbitrary callables without an allowlist. If the API is exposed without authentication (no TOKEN configured) and the index is writable, a remote attacker can execute arbitrary code on the server process during reindexing. The vulnerability is fixed by gating the endpoint behind a new reindex configuration flag in a commit after version 9.10.0.

CVSS v3.1

Score 9.8critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

GitHub Actionsmore threats →cve
txtai
pkg:github/txtai
Affected versions
<=9.10.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/30/2026, 21:51:16 UTC

Technical Analysis

The vulnerability in txtai (<=9.10.0) involves improper control of code generation through the /reindex API endpoint. The function parameter is resolved using txtai.util.Resolver, which performs __import__ and getattr on a caller-supplied dotted path without any allowlist, enabling arbitrary callable execution. When the API is exposed without authentication and the index is writable, a remote attacker can specify dangerous callables such as subprocess.getoutput, resulting in remote code execution as the server process. Exploitation requires specific deployment conditions that are not default. The fix introduces a configuration flag that restricts access to the /reindex endpoint.

Potential Impact

Successful exploitation allows a remote attacker to achieve remote code execution on the server running txtai, with full privileges of the server process. This can lead to complete compromise of the affected system, including confidentiality, integrity, and availability impacts. The vulnerability requires the API to be exposed without authentication and the index to be writable, which are not default configurations.

Mitigation Recommendations

A fix is available in the form of a commit after version 9.10.0 that gates the /reindex endpoint behind a new configuration flag. Users should upgrade to a version including this fix or apply the commit to restrict access to the endpoint. Additionally, enabling TOKEN-based authentication and ensuring the index is not writable unless necessary will mitigate the risk. Patch status is not explicitly confirmed in the advisory; users should consult the vendor repository or advisory for the exact fixed version and apply the fix accordingly.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-06-30T19:09:07.025Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a4436ef27e9c797196d42b7

Added to database: 06/30/2026, 21:36:47 UTC

Last enriched: 06/30/2026, 21:51:16 UTC

Last updated: 06/30/2026, 21:51:16 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses