{"id":"EUVD-2024-0091","revision":"2ef90909ae764e4ca0eb894bc99b3561","records":[{"revision":"2ef90909ae764e4ca0eb894bc99b3561","observedAt":"2026-11-02T23:07:26.989+00:00","statement":{"source":"euvd","id":"EUVD-2024-0091","aliases":["CVE-2024-7774","GHSA-hc5w-c9f8-9cc4","PYSEC-2024-111"],"title":"A path traversal vulnerability exists in the `getFullPath` method of langchain-ai/langchainjs version 0.2.5. This vulnerability allows attackers to save files anywhere in the filesystem, overwrite existing text files, read `.txt` files, and…","description":"A path traversal vulnerability exists in the `getFullPath` method of langchain-ai/langchainjs version 0.2.5. This vulnerability allows attackers to save files anywhere in the filesystem, overwrite existing text files, read `.txt` files, and delete files. The vulnerability is exploited through the `setFileContent`, `getParsedFile`, and `mdelete` methods, which do not properly sanitize user input.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"severity":null}],"references":["https://huntr.com/bounties/8fe40685-b714-4191-af7a-3de5e5628cee","https://github.com/langchain-ai/langchainjs/commit/a0fad77d6b569e5872bd4a9d33be0c0785e538a9"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-0091","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Oct 29, 2024, 12:49:21 PM","dateUpdated":"Oct 29, 2024, 1:31:38 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2024-0091","identifiers":["EUVD-2024-0091","CVE-2024-7774","GHSA-hc5w-c9f8-9cc4","PYSEC-2024-111"]},"retained":false,"historicalAffected":[]}],"coverage":[]}