CVE-2026-130860: Flagr before 1.2.5 contains an authentication bypass vulnerability that allows unauthenticated remote attackers to access the flag management write API through…
- Source:
- NVD CVE API 2.0
- Published:
- Fetched:
- Updated:
https://nvd.nist.gov/vuln/detail/CVE-2026-130860 ↗
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 https://www.vulncheck.com/advisories/flagr-before-1.2.5-authentication-bypass-via-default-basic-auth-whitelist