CVE-2026-130860
Flagr before 1.2.5 Authentication Bypass via Default Basic-Auth Whitelist
High · 8.8Fix available
- CVSS
- 8.8
- EPSS
- 0.65% (p52)
- Published
- 2026-11-17
- Age
- 19d old
- Modified
- 2026-11-18
- Product
- OpenFlagr Flagr
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
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.
Fixed in
1.2.5
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | Flagr | >=0, <1.2.5 | 1.2.5 |
Sources
- NVD · first seen 19d ago · NVD terms of use
- OSV · first seen 19d ago · CC-BY 4.0
- CVE List · first seen 19d ago · CVE Terms of Use
References
- https://github.com/openflagr/flagr/issues/813 issue-tracking
- https://github.com/openflagr/flagr/commit/c7e995e3fa2d4d084cf1e722859aa00921626d53 patch
- https://github.com/openflagr/flagr/releases/tag/1.2.5 release-notes
- https://github.com/openflagr/flagr/blob/1.2.4/pkg/config/env.go#L256 technical-description
- https://github.com/openflagr/flagr/blob/1.2.4/pkg/config/middleware.go#L250-L262 technical-description
- https://www.vulncheck.com/advisories/flagr-before-1.2.5-authentication-bypass-via-default-basic-auth-whitelist third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130860.json advisory
- https://github.com/openflagr/flagr package
- https://nvd.nist.gov/vuln/detail/CVE-2026-130860 advisory