CVE-2026-144677: Flagsmith 2.215.0 through 2.297.1 GitHub PAT Exposure via create_cleanup_issue
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.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
An authenticated Flagsmith organisation member can exploit it. The attacker needs the ability to submit code references containing an attacker-controlled repository URL and trigger the create-cleanup-issue endpoint.
Are deployments without a GitHub personal access token exposed to credential theft?
The exposed credential is the server-wide FEATURE_LIFECYCLE_GITHUB_PAT. The provided information does not establish credential theft where that token is not configured, although the issue is also described as enabling blind server-side request forgery.
What is the impact if exploitation succeeds?
The server can POST the configured GitHub personal access token to an attacker-controlled host. The attacker may then abuse that GitHub token, and can use the behavior for blind server-side request forgery.
Which versions are affected?
Flagsmith versions 2.215.0 through 2.297.1 are affected.