Code injection in NPC-Worldwide npcpy via load_sft_model
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-94.
Summary
NPC-Worldwide npcpy up to 2.1.27 is affected. Improper control of code generation (CWE-94) lets the base_model_name_or_path argument of load_sft_model in npcpy/ft/sft.py inject code. A remote attacker without privileges can trigger it if a user interacts with the affected component. The exploit has been publicly disclosed and may be used.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| NPC-Worldwide | npcpy | 2.1.0; 2.1.1; 2.1.2; 2.1.3; 2.1.4; 2.1.5; 2.1.6; 2.1.7; 2.1.8; 2.1.9; 2.1.10; 2.1.11; 2.1.12; 2.1.13; 2.1.14; 2.1.15; 2.1.16; 2.1.17; 2.1.18; 2.1.19; 2.1.20; 2.1.21; 2.1.22; 2.1.23; 2.1.24; 2.1.25; 2.1.26; 2.1.27 | — | No fix listed | CNA |
- npcpy VendorNPC-Worldwide Affected 2.1.0; 2.1.1; 2.1.2; 2.1.3; 2.1.4; 2.1.5; 2.1.6; 2.1.7; 2.1.8; 2.1.9; 2.1.10; 2.1.11; 2.1.12; 2.1.13; 2.1.14; 2.1.15; 2.1.16; 2.1.17; 2.1.18; 2.1.19; 2.1.20; 2.1.21; 2.1.22; 2.1.23; 2.1.24; 2.1.25; 2.1.26; 2.1.27 Fixed in — No fix listed CNA
CPE names CNA · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:npc-worldwide:npcpy:*:*:*:*:*:*:*:* | — | — | — |
- cpe:2.3:a:npc-worldwide:npcpy:*:*:*:*:*:*:*:* Versions — — ·—
Remediation
The sources list no fixed version for npcpy.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
Vendor assessments
Timeline
- 2026-11-04 Threatist record created from CVE-2026-122014
- 2026-11-04 CISA SSVC decision points changed
- 2026-11-04 Alias added: GHSA-jv6g-mcg6-wpx7
- 2026-11-06 Affected versions changed · Red Hat
- 2026-11-06 CVSS score added · Red Hat
References
More NPC-Worldwide vulnerabilities
- TI-2026-85211 Improper input validation in NPC-Worldwide npcpy MLX provider CVSS 4.0MEDIUM 5.3
Sources
- CVE-2026-122014 · CVE Program
- CVE-2026-122014 · NVD
- FIRST EPSS
- GHSA-jv6g-mcg6-wpx7 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-122014 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences