{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-54042",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-06-11T16:57:50.020Z",
        "datePublished": "2026-11-20T20:07:18.987Z",
        "dateUpdated": "2026-11-20T20:16:30.529Z"
    },
    "containers": {
        "cna": {
            "title": "LibreChat: Missing Rate Limiting on 2FA Verification Endpoint Allows TOTP Guessing Attempts",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-307",
                            "lang": "en",
                            "description": "CWE-307: Improper Restriction of Excessive Authentication Attempts",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "HIGH",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 6.8,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "LOW",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-ch3w-5cqg-47qm",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-ch3w-5cqg-47qm"
                },
                {
                    "name": "https://github.com/LibreChat-AI/LibreChat/pull/13555",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/LibreChat-AI/LibreChat/pull/13555"
                },
                {
                    "name": "https://github.com/LibreChat-AI/LibreChat/commit/5011be4d3864c66666166130f6e8e3cbd6b192ed",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/LibreChat-AI/LibreChat/commit/5011be4d3864c66666166130f6e8e3cbd6b192ed"
                },
                {
                    "name": "https://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.7",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.7"
                },
                {
                    "name": "https://www.librechat.ai/changelog/v0.8.7",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://www.librechat.ai/changelog/v0.8.7"
                }
            ],
            "affected": [
                {
                    "vendor": "LibreChat-AI",
                    "product": "LibreChat",
                    "versions": [
                        {
                            "version": "< 0.8.7",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-11-20T20:16:30.529Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. Prior to 0.8.7, POST /api/auth/2fa/verify-temp in api/server/routes/auth.js calls verify2FAWithTempToken and accepts repeated TOTP or backup-code guesses without a dedicated attempt limiter. An attacker must first possess valid primary credentials and a valid five-minute temp token, but can then make repeated second-factor attempts and obtain a full session if a valid code is guessed. This issue is fixed in version 0.8.7."
                }
            ],
            "source": {
                "advisory": "GHSA-ch3w-5cqg-47qm",
                "discovery": "UNKNOWN"
            }
        }
    }
}