Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach network-exposed Flagr instance
-
DeliveryRequest /api/v1/flags write endpoint
-
ExploitPrefix whitelist bypasses basic auth
-
ExecutionSend POST/PUT/DELETE flag operations
-
ImpactCreate, 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). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
EUVD-2026-127241
GHSA-v84c-4fcp-8r85
NVD
CVE.org
EPSS
Exploit-DB