{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-54039",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-06-11T16:57:50.019Z",
        "datePublished": "2026-11-20T20:03:01.578Z",
        "dateUpdated": "2026-11-20T20:15:25.258Z"
    },
    "containers": {
        "cna": {
            "title": "LibreChat: Pre-registration account takeover via attacker-controlled `provider` field and social-login email fallback",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-287",
                            "lang": "en",
                            "description": "CWE-287: Improper Authentication",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-915",
                            "lang": "en",
                            "description": "CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 8.1,
                        "baseSeverity": "HIGH",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "REQUIRED",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-wjpf-x42h-cv4m",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-wjpf-x42h-cv4m"
                },
                {
                    "name": "https://github.com/LibreChat-AI/LibreChat/pull/13307",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/LibreChat-AI/LibreChat/pull/13307"
                },
                {
                    "name": "https://github.com/LibreChat-AI/LibreChat/commit/b01d34abe29152e6e7f763089c0d9a6e647d0dba",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/LibreChat-AI/LibreChat/commit/b01d34abe29152e6e7f763089c0d9a6e647d0dba"
                },
                {
                    "name": "https://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.6",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.6"
                },
                {
                    "name": "https://www.librechat.ai/changelog/v0.8.6",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://www.librechat.ai/changelog/v0.8.6"
                }
            ],
            "affected": [
                {
                    "vendor": "LibreChat-AI",
                    "product": "LibreChat",
                    "versions": [
                        {
                            "version": ">= 0.7.0, < 0.8.6",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-11-20T20:15:25.258Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. From 0.7.0 until 0.8.6, when local registration is enabled and at least one social provider is configured, POST /api/auth/register passes an unparsed request object into api/server/services/AuthService.js, allowing an unauthenticated attacker to persist a forged provider value for a known victim email. The api/strategies/socialLogin.js email-fallback path then accepts the planted record when the victim signs in because it compares the stored provider name without requiring the provider subject identifier. The victim OAuth session and the attacker local-password session become bound to the same user record, giving the attacker persistent read and write access to data created by the victim. The first-user administrator role is an additional conditional impact only on a fresh deployment. This issue is fixed in version 0.8.6."
                }
            ],
            "source": {
                "advisory": "GHSA-wjpf-x42h-cv4m",
                "discovery": "UNKNOWN"
            }
        }
    }
}