{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "1.2.5"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "c7e995e3fa2d4d084cf1e722859aa00921626d53"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "1.2.5",
                "range": [
                  {
                    "fixed": "e332eac5877c8e55ea8ab3786ec89edca58e3a35"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "e332eac5877c8e55ea8ab3786ec89edca58e3a35"
            },
            {
              "fixed": "c7e995e3fa2d4d084cf1e722859aa00921626d53"
            }
          ],
          "repo": "https://github.com/openflagr/flagr",
          "type": "GIT"
        }
      ]
    }
  ],
  "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"
  },
  "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.",
  "id": "CVE-2026-130860",
  "modified": "2026-11-17T21:45:26.075408644Z",
  "published": "2026-11-17T19:47:34.233Z",
  "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"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Flagr before 1.2.5 Authentication Bypass via Default Basic-Auth Whitelist"
}