{"id":"CVE-2024-47171","url":"https://www.cyber-defence.io/tools/cve/CVE-2024-47171","generatedAt":"2026-10-28T06:14:55.116Z","title":"A vulnerability in versions prior to 1.0.330 permits attackers to upload image files at attacker-chosen location on the server.","description":"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 image files at attacker-chosen location on the server. This issue can lead to image file uploads to unauthorized or unintended directories, including overwriting of existing images which may be used for defacement. This does not affect `agnai.chat`, installations using S3-compatible storage, or self-hosting that is not publicly exposed. Version 1.0.330 fixes this vulnerability.","published":"2024-09-26T18:15:11.000Z","lastModified":"2026-06-17T07:56:40.000Z","status":"Analyzed","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"3.1","score":4.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"},"cwe":["CWE-35","CWE-22"],"affected":["agnai/agnai"],"epss":{"score":0.00495,"percentile":0.42251,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (0.50%). Track it; it rarely justifies an emergency change on its own."},"changes":[],"references":[{"url":"https://github.com/agnaistic/agnai/blob/75abbd5b0f5e48ddecc805365cf1574d05ee1ce5/srv/api/character.ts#L140:","tags":["Patch"],"source":"security-advisories@github.com"},{"url":"https://github.com/agnaistic/agnai/blob/75abbd5b0f5e48ddecc805365cf1574d05ee1ce5/srv/api/upload.ts#L55","tags":["Patch"],"source":"security-advisories@github.com"},{"url":"https://github.com/agnaistic/agnai/security/advisories/GHSA-g54f-66mw-hv66","tags":["Vendor Advisory"],"source":"security-advisories@github.com"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-47171","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}