AVID-2026-R1543
Description
Agnai vulnerable to Remote Code Execution via JS Upload using Directory Traversal (CVE-2024-47169)
Details
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.
Reason for inclusion in AVID: CVE-2024-47169 describes a remote code execution vulnerability in Agnai, an AI-focused chat system. It allows uploading arbitrary files via directory traversal and executing uploaded JavaScript on the server, enabling full server compromise. This is a software vulnerability in a component used within AI deployment/serving stacks, affecting AI workloads and pipelines. The report provides CVSS details, affected versions, and a fixed version, offering sufficient evidence for curation.
References
Affected or Relevant Artifacts
- Developer: agnaistic
- Deployer: agnaistic
- Artifact Details:
| Type | Name |
|---|---|
| System | agnai |
Impact
AVID Taxonomy Categorization
- Risk domains: Security
- SEP subcategories: S0100: Software Vulnerability
- Lifecycle stages: L06: Deployment
CVSS
| Version | 3.1 |
| Vector String | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Base Score | 8.8 |
| Base Severity | 🔴 High |
| Attack Vector | NETWORK |
| Attack Complexity | 🟢 Low |
| Privileges Required | 🟢 Low |
| User Interaction | NONE |
| Scope | UNCHANGED |
| Confidentiality Impact | 🔴 High |
| Integrity Impact | 🔴 High |
| Availability Impact | 🔴 High |
CWE
| ID | Description |
|---|---|
| CWE-35 | CWE-35: Path Traversal: ‘…/…//’ |
| CWE-434 | CWE-434: Unrestricted Upload of File with Dangerous Type |
Other information
- Report Type: Advisory
- Credits:
- Date Reported: 2024-09-26
- Version: 0.3.3
- AVID Entry