CVE-2026-130860

Flagr before 1.2.5 Authentication Bypass via Default Basic-Auth Whitelist

Published Nov 17, 2026 CVSS 4.0 · 8.8 High EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Flagr before version 1.2.5 contains an authentication bypass that lets an unauthenticated attacker call the flag‑management write API through the insecure default whitelist. By accessing endpoints such as /api/v1/flags, the attacker can create, modify, enable, disable, and delete flags, variants, segments, constraints, and distributions, effectively taking control of application feature toggling.

Affected Systems

Affecting OpenFlagr Flagr installations prior to version 1.2.5, including 1.2.4 and earlier. The vulnerability hinges on the default FLAGR_BASIC_AUTH_WHITELIST_PATHS configuration that allows requests to the write API without proper authentication.

Risk and Exploitability

The CVSS score of 8.8 indicates high severity, and although EPSS is not available, the vulnerability can be exploited by any remote attacker who can reach the Flagr service. The default whitelist matches only path prefixes regardless of HTTP method; attackers can craft POST, PUT, or DELETE requests to /api/v1/flags and related endpoints. The issue is not currently listed in the CISA KEV catalog, but the high score and clear attack path suggest a high likelihood of exploitation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Flagr to version 1.2.5 or later.
  • Reconfigure FLAGR_BASIC_AUTH_WHITELIST_PATHS to restrict write API paths and enforce method‑specific rules.
  • Apply additional authentication and authorization checks on all write endpoints in the middleware.

Generated by OpenCVE AI on November 17, 2026 at 21:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Openflagr
Openflagr flagr
Vendors & Products Openflagr
Openflagr flagr
Type Values Removed Values Added
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.
Title Flagr before 1.2.5 Authentication Bypass via Default Basic-Auth Whitelist
Weaknesses CWE-1188
References
Metrics cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L'}

cvssV4_0

{'score': 8.8, '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'}

Weaknesses
  • CWE-1188

    Initialization of a Resource with an Insecure Default

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 17, 2026, 7:47 PM
Reserved
Nov 17, 2026, 5:51 PM
Status
Received
Published
Nov 17, 2026, 8:17 PM
Modified
Nov 17, 2026, 8:17 PM