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

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.78%, higher than 57% of CVEs (2026-12-01)
- Published: 2024-09-26T17:11:42.815Z
- Modified: 2026-06-17T07:56:39.890Z
- Also known as: GHSA-mpch-89gm-hm83
- Weaknesses: CWE-22, CWE-35, CWE-434
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- 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 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.

(As written by CVE List.)

## Affected

- agnaistic agnai: < 1.0.330
- agnai agnai: before 1.0.330
- agnai (npm): before 1.0.330

## Every score

- GitHub_M: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Critical `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/agnaistic/agnai/security/advisories/GHSA-mpch-89gm-hm83> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-47169> (advisory)
- <https://github.com/agnaistic/agnai> (package)

## Sources

- CVE List: [CVE-2024-47169](https://www.cve.org/CVERecord?id=CVE-2024-47169), CVE Terms of Use, modified 2024-09-26
- GitHub Advisory Database: [GHSA-mpch-89gm-hm83](https://github.com/advisories/GHSA-mpch-89gm-hm83), CC-BY-4.0, modified 2024-09-26
- NVD: [CVE-2024-47169](https://nvd.nist.gov/vuln/detail/CVE-2024-47169), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-47169 · Whole record: https://cve.day/CVE-2024-47169.json · Rebuilt by cve.day 2026-11-25T22:58:45.802Z
