danny-avila
LibreChat
Case files
- CVE-2026-31942: LibreChat's Keys Route Pinned the User ID. The Spread on the Same Line Overrode It.
CVE-2026-31942: LibreChat's Keys Route Pinned the User ID. The Spread on the Same Line Overrode It.
LibreChat's PUT /api/keys handler is one expression of business logic. It pins userId: req.user.id, the identifier the JWT middleware extracted from the bearer token, then it spreads ...req.body over the pin.