CVE-2026-130860
Flagr before 1.2.5 contains an authentication bypass vulnerability that allows unauthenticated remote attackers to access the flag management write API through…
Impact
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.
An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: high risk of data or systems being changed, low risk of outages.
Affected products · OpenFlagr
| Product | Affected versions |
|---|---|
| Flagr | before 1.2.5 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/openflagr/flagr/issues/813
- https://github.com/openflagr/flagr/commit/c7e995e3fa2d4d084cf1e722859aa00921626d53
- https://github.com/openflagr/flagr/releases/tag/1.2.5
- 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://www.vulncheck.com/advisories/flagr-before-1.2.5-authentication-bypass-via-default-basic-auth-whitelist
- https://github.com/advisories/GHSA-v84c-4fcp-8r85
- https://nvd.nist.gov/vuln/detail/CVE-2026-130860