Skip to main content

Flagr CVE-2026-130860

| EUVDEUVD-2026-127241 HIGH
Initialization of a Resource with an Insecure Default (CWE-1188)
2026-11-17 VulnCheck GHSA-v84c-4fcp-8r85
8.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach network-exposed Flagr instance
  2. Delivery
    Request /api/v1/flags write endpoint
  3. Exploit
    Prefix whitelist bypasses basic auth
  4. Execution
    Send POST/PUT/DELETE flag operations
  5. Impact
    Create, alter, or delete feature flags

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V13 - Configuration Secure default settings
Exploitation Conditions

Exploitation requires a Flagr instance (before 1.2.5) that is network-reachable AND running with HTTP basic auth enabled (FLAGR_BASIC_AUTH) while still using the default FLAGR_BASIC_AUTH_WHITELIST_PATHS value, which includes the /api/v1/flags prefix - the condition is satisfied out-of-the-box for any operator who enabled basic auth and did not override the whitelist. The specific defect is that basicAuth.whitelist() matches on path prefix only and ignores the HTTP method, so write verbs (POST/PUT/DELETE) to /api/v1/flags and its subpaths (variants, segments, constraints, distributions, /enabled) are treated as whitelisted just like read requests. Limiting factors: the flaw only provides value where basic auth was the chosen protection (an instance with no auth is already open by design), and exposure depends on the service being reachable by the attacker; operators who customized the whitelist to exclude /api/v1/flags, or who placed Flagr behind an external auth gateway, are not affected. Remediation per the vendor is upgrading to 1.2.5 (which drops the flags prefix from the default whitelist); equivalently, removing /api/v1/flags from FLAGR_BASIC_AUTH_WHITELIST_PATHS.

Impact

This is a genuine, actionable medium-to-high priority rather than an inflated CVSS number. The input CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) is internally consistent with the description: an unauthenticated network attacker can reach the flag-management write API because the default FLAGR_BASIC_AUTH_WHITELIST_PATHS includes the /api/v1/flags prefix, and basicAuth.whitelist() in pkg/config/middleware.go matches path prefixes regardless of HTTP method. The impact profile (VI:H, VA:L, VC:N) matches the described effect - attackers can create, modify, enable/disable, and delete flags, variants, segments, constraints, and distributions (integrity high; disabling flags degrades dependent app behavior, hence availability low; no direct confidentiality impact rated). Mitigating signals: no CISA KEV entry and no EPSS score are present in the input, so there is no evidence of active or widespread exploitation; vuln.today's decision label is 'this_week' (not act_now/emergency); and the flaw only matters where an operator enabled basic auth yet relied on the vulnerable default whitelist - i.e., it defeats an intended protection rather than exposing an unconfigured instance. One important nuance to verify: PR:N accurately reflects the auth-bypass design, but the real-world blast radius depends on the instance being internet- or network-reachable and on basic auth being the chosen protection mechanism; organizations that fronted Flagr with a separate gateway/WAF or customized the whitelist are not exposed.

Exploit ScenarioDerived

An operator deploys Flagr (before 1.2.5) with FLAGR_BASIC_AUTH enabled to protect the admin/write API but leaves the default whitelist, which includes the /api/v1/flags prefix. An unauthenticated remote attacker who can reach the service sends a POST/PUT/DELETE to /api/v1/flags endpoints and, because the whitelist matches path prefix only and not HTTP method, bypasses authentication to tamper with feature-flag configuration. No public exploit is identified in the provided data, but the root cause and trigger are fully documented in the vendor commit and VulnCheck advisory, and the attack requires only a standard HTTP client (AC:L, no user interaction).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.9% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 18, 2026

Unauthenticated remote attackers can create, modify, enable/disable, and delete flags, variants, segments, constraints, and distributions in Flagr deployments running versions before 1.2.5 whenever HTTP basic auth is enabled but the basic-auth path whitelist has not been customized. The whitelist matches only path prefixes and ignores the HTTP method, so write verbs aimed at /api/v1/flags and its subpaths are treated as exempt from authentication exactly like read requests, yielding high integrity impact with limited availability impact rather than any confidentiality loss. The vendor has released 1.2.5, which removes the /api/v1/flags prefix from the default whitelist; no public exploit code was identified at time of analysis, though the default configuration makes the exposure trivially reachable for affected instances.

RemediationAI

Vendor-released patch: 1.2.5 (commit c7e995e3fa2d4d084cf1e722859aa00921626d53, release https://github.com/openflagr/flagr/releases/tag/1.2.5), which removes /api/v1/flags from the default whitelist and adds /static for UI assets. Where upgrading immediately is not possible, an equivalent configuration fix is to remove /api/v1/flags from FLAGR_BASIC_AUTH_WHITELIST_PATHS and restart the service, leaving only the intended open endpoints such as /api/v1/health, /api/v1/evaluation, and /api/v1/exposures; the side effect is that the Flagr web UI's flag-management calls will then be challenged for basic-auth credentials, which is the intended behavior rather than a regression. Because the bypass presupposes basic auth being the sole protection, instances running without authentication remain open by design and should either enable basic auth with a corrected whitelist or be placed behind an authenticating reverse proxy or gateway - with the trade-off that an external gateway must cover all write routes under /api/v1/flags to be an effective substitute. Confirm afterward that unauthenticated POST/PUT/DELETE requests to /api/v1/flags return 401, and refer to the VulnCheck advisory at https://www.vulncheck.com/advisories/flagr-before-1.2.5-authentication-bypass-via-default-basic-auth-whitelist for vendor guidance.

Affected VersionsENISA

Flagr 0 <1.2.5

Affected Packages

euvd flagr fix: 1.2.5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Flagr is a Go-based open-source feature-flag and experimentation service. The root cause class is CWE-1188 (insecure default initialization of a resource): the environment-driven setting FLAGR_BASIC_AUTH_WHITELIST_PATHS shipped with a default of /api/v1/health,/api/v1/flags,/api/v1/evaluation,/api/v1/exposures, and basicAuth.whitelist() in pkg/config/middleware.go matched request paths by prefix without consulting the HTTP method. Because the flag-management write endpoints live under the same /api/v1/flags prefix as flag reads, every POST, PUT, and DELETE to /api/v1/flags, /api/v1/flags/{id}, /api/v1/flags/{id}/enabled, /api/v1/flags/{id}/variants, and analogous segment, constraint, and distribution routes bypassed the basic-auth middleware entirely. Affected CPE is cpe:2.3:a:openflagr:flagr:* with the range 0 through 1.2.4 per the EUVD affected-version list (Flagr 0 <1.2.5). The fix commit c7e995e3fa2d4d084cf1e722859aa00921626d53 drops /api/v1/flags from the default whitelist, adds /static for UI bundle assets, documents that whitelist entries match path only and not method, and includes tests asserting 401 responses for GET, POST, PUT, and DELETE against the flags API while /api/v1/evaluation remains open. The flaw only yields access where basic auth was the chosen protection; instances with no authentication configured are open by design, and operators who trimmed the whitelist themselves or front Flagr with an external auth gateway are not exposed.

Know when Flagr gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 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
vuln.today AI 8.2 HIGH

Auth bypass gives unauthenticated network write access (AV:N/AC:L/PR:N/UI:N); flag tampering is high integrity, flag disabling is low availability, and no data is directly disclosed (C:N).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Flagr versions prior to 1.2.5 contain an authentication bypass that allows unauthenticated attackers to modify feature flag configurations, including flags, variants, segments, and distributions, when HTTP basic auth is enabled with the default path whitelist. This directly compromises the integrity of feature flag data, potentially enabling unauthorized feature releases, altering user targeting, or disrupting application behavior, and affects all organizations using affected Flagr deployments in their default configuration.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.9%
Top 39% exploitable
Prevalence
Low
niche open-source feature-flag microservice, limited enterprise footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.9%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy