Read the docs

Code injection in NPC-Worldwide npcpy via load_sft_model

Priority LOW 24CWE-74Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00306 23rd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix No fix listed No fixed version in the sources yet

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

VendorProductAffected versionsFixed inStatusSource
NPC-Worldwidenpcpy2.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 listedCNA
  • 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

CPEVersionsRoleVendor
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

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-11-04 Threatist record created from CVE-2026-122014
  2. 2026-11-04 CISA SSVC decision points changed
  3. 2026-11-04 Alias added: GHSA-jv6g-mcg6-wpx7
  4. 2026-11-06 Affected versions changed · Red Hat
  5. 2026-11-06 CVSS score added · Red Hat

References

  • TI-2026-85211 Improper input validation in NPC-Worldwide npcpy MLX provider CVSS 4.0MEDIUM 5.3

Sources