Flagsmith 2.215.0 through 2.297.1 contains a credential exposure vulnerability that allows organisation members to leak the server-wide GitHub personal access token by submitting code references with attacker-controlled repository URLs. Attackers can trigger the create-cleanup-issue endpoint so the server POSTs the FEATURELIFECYCLEGITHUBPAT to their host, enabling GitHub abuse and blind server-side request forgery.
Flagsmith through 2.297.1 contains an authorization bypass vulnerability that allows authenticated users to link external resources to features in other projects and organisations by supplying a foreign feature ID. Attackers with CREATEFEATURE permission on any project can POST to the feature-external-resources endpoint to trigger victim GitHub and GitLab integrations, posting labels, comments, and webhooks using the victim's stored credentials.