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.
Severity (CVSS)
| Base score | 8.8 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-1188 — Initialization of a Resource with an Insecure Default
Affected products
| Vendor | Product | Versions |
|---|---|---|
| OpenFlagr | Flagr | 0 to <1.2.5 [affected] |
References
- https://github.com/openflagr/flagr/issues/813 (issue-tracking)
- https://github.com/openflagr/flagr/commit/c7e995e3fa2d4d084cf1e722859aa00921626d53 (patch)
- https://github.com/openflagr/flagr/releases/tag/1.2.5 (release-notes)
- https://github.com/openflagr/flagr/blob/1.2.4/pkg/config/env.go#L256 (technical-description)
- https://github.com/openflagr/flagr/blob/1.2.4/pkg/config/middleware.go#L250-L262 (technical-description)
- https://www.vulncheck.com/advisories/flagr-before-1.2.5-authentication-bypass-via-default-basic-auth-whitelist (third-party-advisory)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 18 Nov 2026 08:08 UTC.