My understanding is that plugins are usually specifically written only to run inside Foreman, using and extending its interfaces, which makes them derivative works of Foreman (thus GPLv3).