GHSA-v84c-4fcp-8r85HighCVSS 8.2
Flagr before 1.2.5 contains an authentication bypass vulnerability that allows unauthenticated...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (8)
- https://nvd.nist.gov/vuln/detail/CVE-2026-130860
- https://github.com/openflagr/flagr/issues/813
- https://github.com/openflagr/flagr/commit/c7e995e3fa2d4d084cf1e722859aa00921626d53
- https://github.com/openflagr/flagr/blob/1.2.4/pkg/config/env.go#L256
- https://github.com/openflagr/flagr/blob/1.2.4/pkg/config/middleware.go#L250-L262
- https://github.com/openflagr/flagr/releases/tag/1.2.5
- https://www.vulncheck.com/advisories/flagr-before-1.2.5-authentication-bypass-via-default-basic-auth-whitelist
- https://github.com/advisories/GHSA-v84c-4fcp-8r85