Description
A weakness has been identified in ModelTC LightX2V up to 0.5.0. Affected is the function AutoTokenizer.from_pretrained of the file lightx2v/models/runners/cosmos3/cosmos3_runner.py of the component Tokenizer. This manipulation of the argument auto_map causes code injection. The attack is restricted to local execution. The exploit has been made available to the public and could be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.
Published: 2026-10-13
Score: 4.8 Medium
EPSS: n/a
KEV: No
Impact: Local code execution via code injection in ModelTC LightX2V’s tokenizer
Action: Patch
AI Analysis

Impact

A weakness has been identified in ModelTC LightX2V up to 0.5.0 that allows manipulation of the auto_map argument within the AutoTokenizer.from_pretrained function. The manipulation can lead to code injection, granting an attacker the ability to execute arbitrary code within the local environment where the tokenizer is instantiated. This is a local-only vulnerability that can compromise confidentiality, integrity, and availability of the affected system. The defect is consistent with CWE-74 (Unexpected URL Redirects) and CWE-94 (Improper Control of Generation of Code).

Affected Systems

The vulnerability affects the ModelTC LightX2V product, specifically versions up to and including 0.5.0. The issue resides in the file lightx2v/models/runners/cosmos3/cosmos3_runner.py within the Tokenizer component. No other product or version information is provided.

Risk and Exploitability

The CVSS score of 4.8 indicates a moderate security impact. EPSS data is not available, and the vulnerability is not listed in the CISA KEV catalog. The attack is limited to local execution, meaning the attacker must have access to the host running the application or have the ability to run code locally. Because the exploit was made publicly available, a threat actor who can supply a crafted auto_map value can trigger code injection if the vulnerable function is called in a context that permits such input. Consequently, the risk is primarily to systems where the tokenizer is used without proper input validation or where the application runs with elevated privileges.

Generated by OpenCVE AI on October 13, 2026 at 02:28 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ModelTC LightX2V to a version newer than 0.5.0 once it becomes available, ensuring that the AutoTokenizer.from_pretrained implementation has been patched to reject or sanitize the auto_map argument. This is the most authoritative fix.
  • If an upgrade cannot be performed immediately, restrict or disable the use of AutoTokenizer.from_pretrained in the codebase, and replace it with a safer tokenizer implementation that does not accept untrusted auto_map values. This mitigates the risk of executing malicious code within the application.
  • Monitor the project’s issue tracker and release notes for a formal fix or security advisory, and apply any security patches as soon as they are released.

Generated by OpenCVE AI on October 13, 2026 at 02:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 13 Oct 2026 01:00:00 +0000

Type Values Removed Values Added
Description A weakness has been identified in ModelTC LightX2V up to 0.5.0. Affected is the function AutoTokenizer.from_pretrained of the file lightx2v/models/runners/cosmos3/cosmos3_runner.py of the component Tokenizer. This manipulation of the argument auto_map causes code injection. The attack is restricted to local execution. The exploit has been made available to the public and could be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.
Title ModelTC LightX2V Tokenizer cosmos3_runner.py AutoTokenizer.from_pretrained code injection
First Time appeared Modeltc
Modeltc lightx2v
Weaknesses CWE-74
CWE-94
CPEs cpe:2.3:a:modeltc:lightx2v:*:*:*:*:*:*:*:*
Vendors & Products Modeltc
Modeltc lightx2v
References
Metrics cvssV2_0

{'score': 4.3, 'vector': 'AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:C'}

cvssV3_0

{'score': 5.3, 'vector': 'CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C'}

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C'}

cvssV4_0

{'score': 4.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}


Subscriptions

Modeltc Lightx2v
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-10-13T00:15:19.805Z

Reserved: 2026-10-11T18:45:20.514Z

Link: CVE-2026-108943

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-13T01:16:42.507

Modified: 2026-10-13T01:16:42.507

Link: CVE-2026-108943

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-13T02:30:10Z

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')