# CVE-2026-130860: Flagr before 1.2.5 Authentication Bypass via Default Basic-Auth Whitelist

- Severity: High 8.8 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.65%, higher than 52% of CVEs (2026-12-01)
- Published: 2026-11-17T19:47:34.233Z
- Modified: 2026-11-18T17:17:41.360Z
- Weaknesses: CWE-1188
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- OpenFlagr Flagr: before 1.2.5

## Every score

- VulnCheck: CVSS:4.0 8.8 High `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`
- VulnCheck: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L`

## 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)

## Sources

- CVE List: [CVE-2026-130860](https://www.cve.org/CVERecord?id=CVE-2026-130860), CVE Terms of Use, modified 2026-11-18
- NVD: [CVE-2026-130860](https://nvd.nist.gov/vuln/detail/CVE-2026-130860), Public domain, modified 2026-11-18

---

Page: https://cve.day/CVE-2026-130860 · Whole record: https://cve.day/CVE-2026-130860.json · Rebuilt by cve.day 2026-11-25T22:59:51.062Z
