{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:librechat:librechat:0.8.1:rc2:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0.8.1-rc2"
              },
              {
                "last_affected": "0.8.1-rc2"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "CPE_STRING"
            ]
          },
          "events": [
            {
              "introduced": "f0f81945fb80e821f839d8fb29ccae0aaa471511"
            },
            {
              "last_affected": "f0f81945fb80e821f839d8fb29ccae0aaa471511"
            }
          ],
          "repo": "https://github.com/danny-avila/librechat",
          "type": "GIT"
        }
      ],
      "versions": [
        "0.8.1-rc2"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "sba-research",
    "cwe_ids": [
      "CWE-284"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/41xxx/CVE-2025-41258.json"
  },
  "details": "LibreChat version 0.8.1-rc2 uses the same JWT secret for the user session mechanism and RAG API which compromises the service-level authentication of the RAG API.",
  "id": "CVE-2025-41258",
  "modified": "2026-08-12T03:51:27.289556276Z",
  "published": "2026-03-18T11:08:19.866Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/41xxx/CVE-2025-41258.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/sbaresearch/advisories/tree/public/2025/SBA-ADV-20251205-01_LibreChat_RAG_API_Authentication_Bypass"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-41258"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/danny-avila/LibreChat"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "LibreChat RAG API Authentication Bypass"
}