{
  "id": "CVE-2025-8850",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-8850",
  "published_at": "2025-10-30T19:59:36.327Z",
  "title": "Insecure API Design in danny-avila/librechat",
  "vendor": "danny-avila",
  "product": "danny-avila/librechat",
  "cvss": {
    "score": 8.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In danny-avila/librechat version 0.7.9, there is an insecure API design issue in the 2-Factor Authentication (2FA) flow. The system allows users to disable 2FA without requiring a valid OTP or backup code, bypassing the intended verification process. This vulnerability occurs because the backend does not properly validate the OTP or backup code when the API endpoint '/api/auth/2fa/disable' is directly accessed. This flaw can be exploited by authenticated users to weaken the security of their own accounts, although it does not lead to full account compromise.",
  "cwe": "CWE-440",
  "cpes": [
    "cpe:2.3:a:librechat:librechat:0.7.9:-:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 3.1,
    "nvd": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "danny-avila",
        "product": "danny-avila/librechat",
        "ranges": [
          "\u003e= unspecified, \u003c v0.8.0-rc2"
        ],
        "fixed_in": [
          "v0.8.0-rc2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade danny-avila/librechat to v0.8.0-rc2 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/danny-avila/librechat/commit/7e4c8a5d0d2dbe5bf8fd272ff6acafb27d24744f"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
