NPC-Worldwide npcpy sft.py load_sft_model code injection
- State
- Published
- Severity
- 5.3 Medium
- Published
- Nov 4, 2026
- Updated
- Nov 10, 2026
- Reserved
- Nov 4, 2026
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.
| Product | Versions |
|---|---|
| npcpy NPC-Worldwide | 2.1.0 Affected2.1.1 Affected2.1.2 Affected2.1.3 Affected2.1.4 Affected2.1.5 Affected2.1.6 Affected2.1.7 Affected2.1.8 Affected2.1.9 Affected2.1.10 Affected2.1.11 Affected2.1.12 Affected2.1.13 Affected2.1.14 Affected2.1.15 Affected2.1.16 Affected2.1.17 Affected2.1.18 Affected2.1.19 Affected2.1.20 Affected2.1.21 Affected2.1.22 Affected2.1.23 Affected2.1.24 Affectedand 3 more versions |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.3 Medium | VulDB | |
| 3.1 | 6.3 Medium | VulDB | |
| 3.0 | 6.3 Medium | VulDB | |
| 2.0 | 7.5 High | VulDB |
Weaknesses
References
- VDB-431082 | NPC-Worldwide npcpy sft.py load_sft_model code injectionVulnerability DatabaseTechnical Details
- VDB-431082 | CTI Indicators (IOB, IOC, TTP, IOA)Detection RuleSign-In Required
- CVE-2026-122014 | CVE Analysis and ReportThird-Party Advisory
- Submit #1024529 | NPC-Worldwide npcpy 2.1.18 Code InjectionThird-Party Advisory
- https://github.com/NPC-Worldwide/npcpy/issues/308Issue Tracker
- https://github.com/user-attachments/files/33302468/poc.zipExploit
- https://github.com/NPC-Worldwide/npcpy/Product Page
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.