{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.1.1"
                  },
                  {
                    "last_affected": "2.1.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.1.2"
                  },
                  {
                    "last_affected": "2.1.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.1.3"
                  },
                  {
                    "last_affected": "2.1.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.1.4"
                  },
                  {
                    "last_affected": "2.1.4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.1.5"
                  },
                  {
                    "last_affected": "2.1.5"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.1.6"
                  },
                  {
                    "last_affected": "2.1.6"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.1.7"
                  },
                  {
                    "last_affected": "2.1.7"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.1.8"
                  },
                  {
                    "last_affected": "2.1.8"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.1.9"
                  },
                  {
                    "last_affected": "2.1.9"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.1.10"
                  },
                  {
                    "last_affected": "2.1.10"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.1.11"
                  },
                  {
                    "last_affected": "2.1.11"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.1.12"
                  },
                  {
                    "last_affected": "2.1.12"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.1.13"
                  },
                  {
                    "last_affected": "2.1.13"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.1.14"
                  },
                  {
                    "last_affected": "2.1.14"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.1.15"
                  },
                  {
                    "last_affected": "2.1.15"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.1.16"
                  },
                  {
                    "last_affected": "2.1.16"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.1.17"
                  },
                  {
                    "last_affected": "2.1.17"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.1.18"
                  },
                  {
                    "last_affected": "2.1.18"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.1.19"
                  },
                  {
                    "last_affected": "2.1.19"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.1.20"
                  },
                  {
                    "last_affected": "2.1.20"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.1.21"
                  },
                  {
                    "last_affected": "2.1.21"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.1.22"
                  },
                  {
                    "last_affected": "2.1.22"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.1.23"
                  },
                  {
                    "last_affected": "2.1.23"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.1.24"
                  },
                  {
                    "last_affected": "2.1.24"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.1.25"
                  },
                  {
                    "last_affected": "2.1.25"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.1.26"
                  },
                  {
                    "last_affected": "2.1.26"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.1.27"
                  },
                  {
                    "last_affected": "2.1.27"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "2.1.27"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          },
          "events": [
            {
              "introduced": "e1696baff195f189d0f22527faa7937390d17ccf"
            },
            {
              "last_affected": "6c615d4cccca46266158dda5318552d4b093c3d2"
            }
          ],
          "repo": "https://github.com/npc-worldwide/npcpy",
          "type": "GIT"
        }
      ],
      "versions": [
        "2.1.1",
        "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.2",
        "2.1.20",
        "2.1.21",
        "2.1.22",
        "2.1.23",
        "2.1.24",
        "2.1.25",
        "2.1.26",
        "2.1.27",
        "2.1.3",
        "2.1.4",
        "2.1.5",
        "2.1.6",
        "2.1.7",
        "2.1.8",
        "2.1.9"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulDB",
    "cwe_ids": [
      "CWE-74",
      "CWE-94"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/122xxx/CVE-2026-122014.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "range": [
              {
                "introduced": "2.1.0"
              },
              {
                "last_affected": "2.1.0"
              }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandaloneSingleVersion"
          }
        ]
      }
    ]
  },
  "details": "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.",
  "id": "CVE-2026-122014",
  "modified": "2026-11-12T02:30:41.158922840Z",
  "published": "2026-11-04T21:00:26.428Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/NPC-Worldwide/npcpy/"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/122xxx/CVE-2026-122014.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-122014"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/cve/CVE-2026-122014"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/submit/1024529"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/vuln/431082"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/NPC-Worldwide/npcpy/issues/308"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/vuln/431082/cti"
    },
    {
      "type": "EVIDENCE",
      "url": "https://github.com/user-attachments/files/33302468/poc.zip"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P",
      "type": "CVSS_V4"
    }
  ],
  "summary": "NPC-Worldwide npcpy sft.py load_sft_model code injection"
}