Flagr before 1.2.5 Authentication Bypass via Default Basic-Auth Whitelist
- CVE-2026-130860
- GHSA-v84c-4fcp-8r85
- EUVD-2026-127241
Description
Flagr before 1.2.5 contains an authentication bypass vulnerability that allows unauthenticated remote attackers to access the flag management write API through an insecure default FLAGR_BASIC_AUTH_WHITELIST_PATHS including /api/v1/flags. Because basicAuth.whitelist() in pkg/config/middleware.go matches only path prefixes regardless of HTTP method, attackers can create, modify, enable, disable, and delete flags, variants, segments, constraints, and distributions.
Text from the CVE.org record.
Recommendation
OpenFlagr Flagr
- If you run a version before 1.2.5update to 1.2.5 or later
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
OpenFlagr Flagr
Affected versions Fixed in before 1.2.5 1.2.5
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.