Skip to content
OpenAdvisories
Medium · 4.3 CVE-2024-47171 EUVD-2024-2790GHSA-g54f-66mw-hv66

Agnai vulnerable to Relative Path Traversal in Image Upload

Published Sep 26, 2024 · Updated Sep 26, 2024 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
agnaistic agnai < 1.0.330 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm agnai < 1.0.330 1.0.330 GHSA-g54f-66mw-hv66

References