---
title: "CVE-2024-47169: Agnai vulnerable to Remote Code Execution via JS Upload using Directory Traversal"
url: https://erroneo.us/security/cve/CVE-2024-47169/
description: "CVE-2024-47169 (agnai (npm)): Agnai is an artificial-intelligence-agnostic multi-user, mult-bot roleplaying chat system. A vulnerability in versions prior…"
type: vulnerability-record
section: "Security Digest"
date_published: 2024-09-26
date_modified: 2024-11-26
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2024-47169"
kev: false
cvss: 9.0
epss: 0.00785
license: All rights reserved. Quote with attribution and a link.
---

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

**Signal:** Critical, preconditions apply. Severe if exploited, but exploitation needs conditions that may not apply to you. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 0.8% , percentile 56: FIRST’s model estimates a 0.8% chance of exploitation activity in the next 30 days, higher than 56% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Needs an account (low (any account)). Exposure depends on who can log in.
- Only applies if your dependency tree includes agnai (npm) < 1.0.330, fixed in 1.0.330 . Check your lockfile, including transitive dependencies.

## What it is

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.

## Affected packages

- npm `agnai` < 1.0.330 → fixed: 1.0.330

## Affected products (CVE record)

- agnaistic agnai: < 1.0.330

## Severity

- GitHub_M CVSS 3.1: 8.8 `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub CVSS 4.0: 9.0 `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`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable no , technical impact total .
- FIRST EPSS (model of 2026-10-21): 0.78% probability of exploitation activity in the next 30 days; percentile 56.

## Sources

- [GitHub Advisory GHSA-mpch-89gm-hm83](https://github.com/advisories/GHSA-mpch-89gm-hm83)
- [CVE.org record CVE-2024-47169](https://www.cve.org/CVERecord?id=CVE-2024-47169)
- [NVD entry CVE-2024-47169](https://nvd.nist.gov/vuln/detail/CVE-2024-47169)
- [github.com](https://github.com/agnaistic/agnai/security/advisories/GHSA-mpch-89gm-hm83)

---
Source page: https://erroneo.us/security/cve/CVE-2024-47169/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
