Skip to content

CVE-2024-47169 Agnai vulnerable to Remote Code Execution via JS Upload using Directory Traversal

HighCVSS 8.8 EPSS 0.78%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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 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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
agnai < 1.0.330 1.0.330 Fixed
npm agnai(npm) < 1.0.330 1.0.330 Fixed
agnaistic agnai = < 1.0.330 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm agnai(npm) < 1.0.330 1.0.330
agnaistic agnai = < 1.0.330 No fix listed
agnai < 1.0.330 1.0.330

References