{"id":"CVE-2026-5627","sourceIdentifier":"security@huntr.dev","published":"2026-04-07T14:16:24.460","lastModified":"2026-10-26T22:10:00.163","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"A path traversal vulnerability exists in mintplex-labs/anything-llm versions up to and including 1.9.1, within the `AgentFlows` component. The vulnerability arises from improper handling of user input in the `loadFlow` and `deleteFlow` methods in `server/utils/agentFlows/index.js`. Specifically, the combination of `path.join` and `normalizePath` allows attackers to bypass directory restrictions and access or delete arbitrary `.json` files on the server. This can lead to information disclosure, such as leaking sensitive configuration files containing API keys, or denial of service by deleting critical files like `package.json`. The issue is resolved in version 1.12.1."},{"lang":"es","value":"Una vulnerabilidad de salto de ruta existe en las versiones de mintplex-labs/anything-llm hasta la 1.9.1 inclusive, dentro del componente ’AgentFlows’. La vulnerabilidad surge de un manejo inadecuado de la entrada del usuario en los métodos ’loadFlow’ y ’deleteFlow’ en ’server/utils/agentFlows/index.js’. Específicamente, la combinación de ’path.join’ y ’normalizePath’ permite a los atacantes eludir las restricciones de directorio y acceder o eliminar archivos ’.json’ arbitrarios en el servidor. Esto puede llevar a la revelación de información, como la fuga de archivos de configuración sensibles que contienen claves API, o a la denegación de servicio al eliminar archivos críticos como ’package.json’. El problema se resuelve en la versión 1.12.1."}],"affected":[{"source":"security@huntr.dev","affectedData":[{"vendor":"mintplex-labs","product":"mintplex-labs/anything-llm","versions":[{"version":"unspecified","lessThan":"1.12.1","versionType":"custom","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","baseScore":7.2,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.2,"impactScore":5.9}],"cvssMetricV30":[{"source":"security@huntr.dev","type":"Secondary","cvssData":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","baseScore":9.1,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.3,"impactScore":6.0}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-04-07T13:52:46.517190Z","id":"CVE-2026-5627","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security@huntr.dev","type":"Secondary","description":[{"lang":"en","value":"CWE-29"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:mintplexlabs:anythingllm:*:*:*:*:*:*:*:*","versionEndIncluding":"1.9.1","matchCriteriaId":"29889CE1-BBB8-4EC0-BF2E-4B68E173DB5E"}]}]}],"references":[{"url":"https://github.com/mintplex-labs/anything-llm/commit/3444b9b0aa6764d72d53670ab4b1aaccdc6b7017","source":"security@huntr.dev","tags":["Patch"]},{"url":"https://huntr.com/bounties/597d41c5-7ea0-4786-80f4-bd536ec66374","source":"security@huntr.dev","tags":["Exploit","Third Party Advisory"]}]}