Flagr before 1.2.5 Authentication Bypass via Default Basic-Auth Whitelist

State
Published
Severity
8.8 High
Published
Nov 17, 2026
Updated
Nov 18, 2026
Reserved
Nov 17, 2026

Read the record on cve.org

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.

ProductVersions
Flagr OpenFlagrbefore 1.2.5 Affected

Weaknesses

  • CWE-1188 Initialization of a Resource with an Insecure Default

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.