Agnai vulnerable to Remote Code Execution via JS Upload using Directory Traversal
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-434.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| agnaistic | agnai | before 1.0.330 | 1.0.330 | Patch available | CNA |
| — | agnai (npm) | before 1.0.330 | 1.0.330 | Patch available | GHSA-mpch-89gm-hm83 |
- agnai Vendoragnaistic Affected before 1.0.330 Fixed in 1.0.330 Patch available CNA
- agnai (npm) Vendor— Affected before 1.0.330 Fixed in 1.0.330 Patch available GHSA-mpch-89gm-hm83
Remediation
- Fix · CNA agnai (agnaistic) Fixed in 1.0.330
- Fix · GHSA-mpch-89gm-hm83 agnai (npm) Fixed in 1.0.330 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-47169
- 2026-10-03 Alias added: GHSA-mpch-89gm-hm83
References
More agnaistic Agnai vulnerabilities
- TI-2024-31538 Agnai File Disclosure Vulnerability: JSON via Path Traversal CVSS 3.1MEDIUM 4.3
- TI-2024-31539 Agnai vulnerable to Relative Path Traversal in Image Upload CVSS 3.1MEDIUM 4.3
Sources
- CVE-2024-47169 · CVE Program
- CVE-2024-47169 · NVD
- FIRST EPSS
- GHSA-mpch-89gm-hm83 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences