Flagr before 1.2.5 Authentication Bypass via Default Basic-Auth Whitelist
- State
- Published
- Severity
- 8.8 High
- Published
- Nov 17, 2026
- Updated
- Nov 18, 2026
- Reserved
- Nov 17, 2026
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.
| Product | Versions |
|---|---|
| Flagr OpenFlagr | before 1.2.5 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.8 High | VulnCheck | |
| 3.1 | 8.2 High | VulnCheck |
Weaknesses
- CWE-1188 Initialization of a Resource with an Insecure Default
References
- https://github.com/openflagr/flagr/issues/813Issue Tracker
- https://github.com/openflagr/flagr/commit/c7e995e3fa2d4d084cf1e722859aa00921626d53Patch
- Flagr 1.2.5 Release NotesRelease Notes
- https://github.com/openflagr/flagr/blob/1.2.4/pkg/config/env.go#L256Technical Details
- https://github.com/openflagr/flagr/blob/1.2.4/pkg/config/middleware.go#L250-L262Technical Details
- VulnCheck Advisory: Flagr before 1.2.5 Authentication Bypass via Default Basic-Auth WhitelistThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.