CVE-2026-130860
HIGH
NVD
CVSS Score
8.2
Severity
HIGH
Published
Nov 17, 2026
Vendor
unknown
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
- 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/commit/c7e995e3fa2d4d084cf1e722859aa00921626d53
- https://github.com/openflagr/flagr/issues/813
- https://github.com/openflagr/flagr/releases/tag/1.2.5