{"id":"CVE-2026-130860","summary":"Flagr before 1.2.5 Authentication Bypass via Default Basic-Auth Whitelist","details":"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.","modified":"2026-11-17T21:45:45.091412786Z","published":"2026-11-17T19:47:34.233Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-1188"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130860.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130860.json"},{"type":"PACKAGE","url":"https://github.com/openflagr/flagr"},{"type":"ARTICLE","url":"https://github.com/openflagr/flagr/blob/1.2.4/pkg/config/env.go#L256"},{"type":"ARTICLE","url":"https://github.com/openflagr/flagr/blob/1.2.4/pkg/config/middleware.go#L250-L262"},{"type":"FIX","url":"https://github.com/openflagr/flagr/commit/c7e995e3fa2d4d084cf1e722859aa00921626d53"},{"type":"REPORT","url":"https://github.com/openflagr/flagr/issues/813"},{"type":"ADVISORY","url":"https://github.com/openflagr/flagr/releases/tag/1.2.5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-130860"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/flagr-before-1.2.5-authentication-bypass-via-default-basic-auth-whitelist"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openflagr/flagr","events":[{"introduced":"0"},{"fixed":"e332eac5877c8e55ea8ab3786ec89edca58e3a35"},{"fixed":"c7e995e3fa2d4d084cf1e722859aa00921626d53"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"1.2.5"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"c7e995e3fa2d4d084cf1e722859aa00921626d53"}]},{"range":[{"fixed":"e332eac5877c8e55ea8ab3786ec89edca58e3a35"}],"source":"REFERENCES_TAG","original_tag":"1.2.5"}]}}],"versions":["1.2.4","1.2.3","1.2.2","1.2.1","1.2.0","1.1.20","1.1.19","1.1.18","1.1.17","1.1.16","1.1.15","1.1.14","1.1.12","1.1.11","1.1.10","1.1.9","1.1.8","1.1.7","1.1.6","1.1.5","1.1.4","1.1.3","1.1.2","1.1.1","1.1.0","1.0.15","1.0.14","1.0.13","1.0.12","1.0.11","1.0.10","1.0.9","1.0.8","1.0.7","1.0.6","1.0.5","1.0.4","1.0.3","1.0.2","1.0.1","1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-130860.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}