{"id":"CVE-2025-7104","published":"2025-09-29T17:10:59Z","modified":"2025-10-15T16:08:39Z","title":"Mass Assignment in danny-avila/librechat","vendor":"danny-avila","product":"danny-avila/librechat","tier":"tail","description":{"text":"A mass assignment vulnerability exists in danny-avila/librechat, affecting all versions. This vulnerability allows attackers to manipulate sensitive fields by automatically binding user-provided data to internal object properties or database fields without proper filtering. As a result, any extra fields in the request body are included in agentData and passed to the database layer, allowing overwriting of any field in the schema, such as author, access_level, isCollaborative, and projectIds. Additionally, the Object.Prototype can be polluted due to the use of Object.assign with spread operators.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.003,"percentile":0.23093,"provenance":"source"},"cwes":[{"id":"CWE-915","name":"Improperly Controlled Modification of Dynamically-Determined Object Attributes"}],"references":[{"url":"https://huntr.com/bounties/32a175c4-7543-4503-a3d0-7880abd1826b","tags":[]},{"url":"https://github.com/danny-avila/librechat/commit/a37bf6719cfbc2de270f7d87b6b85d87cc1768db","tags":[]}],"priority":{"score":7.6,"factors":[{"name":"EPSS percentile","points":4.62},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"danny-avila","affectedVersions":[{"vendor":"danny-avila","product":"danny-avila/librechat","versions":[">= unspecified, < v0.7.9"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-15T16:08:26.597585Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-31595","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-danny-avila-librechat-cve-2024-10361","parents":[{"from":"CVE-2024-10361","to":"CVE-2025-7104","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["api/server/controllers/agents/v1.js"],"commits":["https://github.com/danny-avila/librechat/commit/0b744db1e2af31a531ffb761584d85540430639c","https://github.com/danny-avila/librechat/commit/a37bf6719cfbc2de270f7d87b6b85d87cc1768db"],"basis":"rarely changed file"}]}]}}