{"id":"CVE-2024-47169","published":"2024-09-26T17:11:42Z","modified":"2024-09-26T18:23:22Z","title":"Agnai vulnerable to Remote Code Execution via JS Upload using Directory Traversal","vendor":"agnaistic","product":"agnai","tier":"tail","description":{"text":"Agnai is an artificial-intelligence-agnostic multi-user, mult-bot roleplaying chat system. A vulnerability in versions prior to 1.0.330 permits attackers to upload arbitrary files to attacker-chosen locations on the server, including JavaScript, enabling the execution of commands within those files. This issue could result in unauthorized access, full server compromise, data leakage, and other critical security threats. This does not affect `agnai.chat`, installations using S3-compatible storage, or self-hosting that is not publicly exposed. This does affect publicly hosted installs without S3-compatible storage. Version 1.0.330 fixes this vulnerability.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00785,"percentile":0.56997,"provenance":"source"},"cwes":[{"id":"CWE-35","name":"Path Traversal: '.../...//'"},{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"references":[{"url":"https://github.com/agnaistic/agnai/security/advisories/GHSA-mpch-89gm-hm83","tags":["x_refsource_CONFIRM"]}],"priority":{"score":17.6,"factors":[{"name":"EPSS percentile","points":11.4},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"agnaistic","affectedVersions":[{"vendor":"agnaistic","product":"agnai","versions":["< 1.0.330"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-09-26T17:33:28.285073Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"agnai","vulnerableRanges":["<1.0.330"],"patched":["1.0.330"],"from":["GHSA-mpch-89gm-hm83"],"provenance":"source"}],"summary":{"text":"A path traversal flaw in the Agnai roleplaying chat system (product agnai, from vendor agnaistic) lets its file upload handling write files to attacker-chosen locations on the server, in versions prior to 1.0.330. An attacker with network access and low-privilege authenticated access can upload JavaScript that executes commands on the server, which affects publicly hosted installs that do not use S3-compatible storage.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:35:55Z"},"euvd":{"id":"EUVD-2024-2836","exploited":false,"provenance":"source"}}