Summary
CVE-2026-130860 is an authentication bypass vulnerability caused by an insecure default configuration in Flagr (github.com/openflagr/flagr) versions before 1.2.5. Unauthenticated remote attackers can modify feature flag configuration. The CVE record lists a CVSS 4.0 score of 8.8 (High) and a CVSS 3.1 score of 8.2 (High).
Technical details
- Root cause: The default value of
FLAGR_BASIC_AUTH_WHITELIST_PATHSincludes/api/v1/flags(CWE-1188, Initialization of a Resource with an Insecure Default). The whitelist matching logic evaluates only path prefixes and ignores the HTTP method. - Trigger conditions: A Flagr instance running a vulnerable version with the default whitelist paths. Requests to whitelisted path prefixes skip authentication.
- Attack vector: Network, with no authentication or user interaction required.
- Impact: Unauthenticated attackers can manipulate flag configurations, variants, segments, constraints and distributions. This gives high integrity impact and limited availability impact.
Affected software
- Flagr (
github.com/openflagr/flagr) 0 through 1.2.4 (all versions before 1.2.5)
Severity
- CVSS v3.1 base score: 8.2 (High),
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L - CVSS v4.0 base score: 8.8 (High),
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
Mitigation and recommended actions
- Immediate: upgrade Flagr to version 1.2.5 or later.
- If you cannot upgrade immediately, restrict network access to the Flagr API, for example with firewall rules or a reverse proxy that requires authentication. Also review the
FLAGR_BASIC_AUTH_WHITELIST_PATHSsetting. The upstream issue and patch commit linked in the CVE record describe the change. - Review flag, variant, segment, constraint and distribution configurations for unexpected changes.

