CVE-2026-130860 Flagr before 1.2.5 Authentication Bypass via Default Basic-Auth Whitelist
- Exploited in the wild
- Not known
- Fix
- 1.2.5
What is CVE-2026-130860?
CVE-2026-130860 is a high-severity vulnerability in OpenFlagr Flagr, published on 17 Nov 2026.
Official 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.
Weakness: CWE-1188
Which versions are affected by CVE-2026-130860?
1 open source package ship an affected version, including github.com/openflagr/flagr.
| Package | Affected | Fixed in |
|---|---|---|
github.com/openflagr/flagr Gopkg:golang/github.com/openflagr/flagr | All versions | 1.2.5 |
How do I fix CVE-2026-130860?
Upgrade github.com/openflagr/flagr to 1.2.5 or later.
Is CVE-2026-130860 being exploited?
There is no known exploitation of CVE-2026-130860 in the wild and no public exploit code.
Sources
Also known as GHSA-v84c-4fcp-8r85.