CVE-2026-122014 Details
Description
A vulnerability has been found in NPC-Worldwide npcpy up to 2.1.27. This affects the function load_sft_model of the file npcpy/ft/sft.py. The manipulation of the argument base_model_name_or_path leads to code injection. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.
A code injection vulnerability exists in NPC-Worldwide npcpy versions through 2.1.27. The issue arises in the load_sft_model function within npcpy/ft/sft.py, where the base_model_name_or_path argument from an untrusted adapter_config.json file is manipulated, leading to unauthorized code execution. This vulnerability can be exploited remotely, especially when the affected function is called as part of npcpy's public fine-tuning API.
Users are advised to avoid loading untrusted adapters that could exploit this vulnerability. The npcpy library should be updated to a version where this issue is addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 4, 2026AdVISE TEST Coordinator
Assessed Nov 4, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/NPC-Worldwide/npcpy/ | [email protected] | Source CodeVendor |
| https://github.com/NPC-Worldwide/npcpy/issues/308 | [email protected] | ExploitIssue TrackingTechnical AnalysisVendor |
| https://github.com/user-attachments/files/33302468/poc.zip | [email protected] | Broken LinkExploit |
| https://vuldb.com/cve/CVE-2026-122014 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/1024529 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/431082 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/431082/cti | [email protected] | AdvisoryPermission Required |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| NPC-Worldwide npcpy | <= 2.1.27 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 4, 2026 | CVE Modified | CISA-ADP |
| Nov 4, 2026 | New CVE Received | [email protected] |
Volerion