# CVE-2024-47170: Agnai File Disclosure Vulnerability: JSON via Path Traversal

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- 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.66%, higher than 46% of CVEs (2026-11-30)
- Published: 2024-09-26T17:16:21.950Z
- Modified: 2026-06-17T07:56:40.007Z
- Also known as: GHSA-h355-hm5h-cm8h
- Weaknesses: CWE-22, CWE-35
- SSVC (CISA-ADP): exploitation none, 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 read arbitrary JSON files at attacker-chosen locations on the server. This issue can lead to unauthorized access to sensitive information and exposure of confidential configuration files. This only affects installations with `JSON_STORAGE` enabled which is intended to local/self-hosting only. Version 1.0.330 fixes this issue.

(As written by CVE List.)

## Affected

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

## Every score

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

## References

- <https://github.com/agnaistic/agnai/security/advisories/GHSA-h355-hm5h-cm8h> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-47170> (advisory)
- <https://github.com/agnaistic/agnai> (package)

## Sources

- CVE List: [CVE-2024-47170](https://www.cve.org/CVERecord?id=CVE-2024-47170), CVE Terms of Use, modified 2025-03-12
- GitHub Advisory Database: [GHSA-h355-hm5h-cm8h](https://github.com/advisories/GHSA-h355-hm5h-cm8h), CC-BY-4.0, modified 2024-09-26
- NVD: [CVE-2024-47170](https://nvd.nist.gov/vuln/detail/CVE-2024-47170), Public domain, modified 2026-06-17

---

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