{"id":"CVE-2025-59835","state":"PUBLISHED","title":"LangBot has a cross-directory file upload vulnerability, which could lead to system takeover","description":"LangBot is a global IM bot platform designed for LLMs. In versions 4.1.0 up to but not including 4.3.5, authorized attackers can exploit the /api/v1/files/documents interface to perform arbitrary file uploads. Since this interface does not strictly restrict the storage directory of files on the server, it is possible to upload dangerous files to specific system directories. This is fixed in version 4.3.5.","publishedAt":"2025-10-02T18:59:42.808Z","updatedAt":"2025-10-02T19:50:39.752Z","severity":{"score":8.6,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P","source":"GitHub_M"},"assigner":"GitHub_M","products":["langbot-app LangBot"],"affected":[{"vendor":"langbot-app","product":"LangBot","versions":[{"version":">= 4.1.0, < 4.3.5","status":"affected"}]}],"references":["https://github.com/langbot-app/LangBot/security/advisories/GHSA-7j3j-qj83-9qv4","https://github.com/langbot-app/LangBot/pull/1691","https://github.com/langbot-app/LangBot/releases/tag/v4.3.5"],"weaknesses":["CWE-23","CWE-434"],"ingestedAt":"2026-10-29T20:09:39.787Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/59xxx/CVE-2025-59835.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-59835","state":"PUBLISHED","datePublished":"2025-10-02T18:59:42.808Z","dateUpdated":"2025-10-02T19:50:39.752Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-09-22T14:34:03.471Z"},"containers":{"cna":{"title":"LangBot has a cross-directory file upload vulnerability, which could lead to system takeover","descriptions":[{"lang":"en","value":"LangBot is a global IM bot platform designed for LLMs. In versions 4.1.0 up to but not including 4.3.5, authorized attackers can exploit the /api/v1/files/documents interface to perform arbitrary file uploads. Since this interface does not strictly restrict the storage directory of files on the server, it is possible to upload dangerous files to specific system directories. This is fixed in version 4.3.5."}],"affected":[{"vendor":"langbot-app","product":"LangBot","versions":[{"version":">= 4.1.0, < 4.3.5","status":"affected"}]}],"references":[{"url":"https://github.com/langbot-app/LangBot/security/advisories/GHSA-7j3j-qj83-9qv4","name":"https://github.com/langbot-app/LangBot/security/advisories/GHSA-7j3j-qj83-9qv4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/langbot-app/LangBot/pull/1691","name":"https://github.com/langbot-app/LangBot/pull/1691","tags":["x_refsource_MISC"]},{"url":"https://github.com/langbot-app/LangBot/releases/tag/v4.3.5","name":"https://github.com/langbot-app/LangBot/releases/tag/v4.3.5","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","subAvailabilityImpact":"HIGH","baseScore":8.6,"baseSeverity":"HIGH","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-23","lang":"en","description":"CWE-23: Relative Path Traversal","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-434","lang":"en","description":"CWE-434: Unrestricted Upload of File with Dangerous Type","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-10-02T18:59:42.808Z"},"source":{"advisory":"GHSA-7j3j-qj83-9qv4","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-10-02T19:50:28.048098Z","id":"CVE-2025-59835","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-10-02T19:50:39.752Z"}}]}}}