{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "3.1.0"
                  },
                  {
                    "last_affected": "3.1.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "3.1.1"
                  },
                  {
                    "last_affected": "3.1.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "3.1.2"
                  },
                  {
                    "last_affected": "3.1.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "3.1.3"
                  },
                  {
                    "last_affected": "3.1.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "3.1.4"
                  },
                  {
                    "last_affected": "3.1.4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "3.1.5"
                  },
                  {
                    "last_affected": "3.1.5"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "3.1.6"
                  },
                  {
                    "last_affected": "3.1.6"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "fixed": "199b3abecc14907176dae1f1cacf125419caa94d"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v3.1.7",
                "range": [
                  {
                    "fixed": "e03cacb9d142e16d5a419fbf40efbd8f1b0cc819"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "725ecf08997d37b8566100bfd62b97b768623f9a"
            },
            {
              "fixed": "199b3abecc14907176dae1f1cacf125419caa94d"
            },
            {
              "fixed": "e03cacb9d142e16d5a419fbf40efbd8f1b0cc819"
            }
          ],
          "repo": "https://github.com/chenyme/grok2api",
          "type": "GIT"
        }
      ],
      "versions": [
        "3.1.0",
        "3.1.1",
        "3.1.2",
        "3.1.3",
        "3.1.4",
        "3.1.5",
        "3.1.6"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulDB",
    "cwe_ids": [
      "CWE-266",
      "CWE-285"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/124xxx/CVE-2026-124574.json"
  },
  "details": "A vulnerability was determined in chenyme grok2api up to 3.1.6. This vulnerability affects the function beginSelectionSession of the file backend/internal/application/gateway/video.go of the component Video Job Retry Handler. This manipulation causes improper authorization. It is possible to initiate the attack remotely. The exploit has been publicly disclosed and may be utilized. Upgrading to version 3.1.7 is able to resolve this issue. Patch name: 199b3abecc14907176dae1f1cacf125419caa94d. It is suggested to upgrade the affected component.",
  "id": "CVE-2026-124574",
  "modified": "2026-11-11T02:30:58.672963344Z",
  "published": "2026-11-09T06:30:32.946Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/chenyme/grok2api/"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/124xxx/CVE-2026-124574.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-124574"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/cve/CVE-2026-124574"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/submit/1036006"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/vuln/432920"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/chenyme/grok2api/issues/1066"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/vuln/432920/cti"
    },
    {
      "type": "FIX",
      "url": "https://github.com/chenyme/grok2api/commit/199b3abecc14907176dae1f1cacf125419caa94d"
    },
    {
      "type": "FIX",
      "url": "https://github.com/chenyme/grok2api/pull/1067"
    },
    {
      "type": "FIX",
      "url": "https://github.com/chenyme/grok2api/releases/tag/v3.1.7"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P",
      "type": "CVSS_V4"
    }
  ],
  "summary": "chenyme grok2api Video Job Retry video.go beginSelectionSession improper authorization"
}