CVE-2026-130860
Flagr before 1.2.5 contains an authentication bypass vulnerability …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/openflagr/flagr/blob/1.2.4/pkg/config/env.go#L256
- github.com/openflagr/flagr/blob/1.2.4/pkg/config/middleware.go#L250-L262
- github.com/openflagr/flagr/commit/c7e995e3fa2d4d084cf1e722859aa00921626d53
- github.com/openflagr/flagr/issues/813
- github.com/openflagr/flagr/releases/tag/1.2.5
- www.vulncheck.com/advisories/flagr-before-1.2.5-authentication-bypass-via-default-basic-au
- nvd.nist.gov/vuln/detail/CVE-2026-130860
- cve.org/CVERecord?id=CVE-2026-130860
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.