Read the docs
TI-2024-31537 Aliases CVE-2024-47169GHSA-mpch-89gm-hm83

Agnai vulnerable to Remote Code Execution via JS Upload using Directory Traversal

Priority HIGH 73CWE-35Published · Updated

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

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00785 56th percentileScored 2026-11-07
Fix Fixed agnai (agnaistic): 1.0.330agnai (npm): 1.0.330

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

VendorProductAffected versionsFixed inStatusSource
agnaisticagnaibefore 1.0.3301.0.330Patch availableCNA
—agnai (npm)before 1.0.3301.0.330Patch availableGHSA-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

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:agnai:agnai:*:*:*:*:*:*:*:*before 1.0.330Vulnerableagnaistic
  • cpe:2.3:a:agnai:agnai:*:*:*:*:*:*:*:* Versions before 1.0.330 Vulnerable ·agnaistic

Remediation

  • Fix · CNA agnai (agnaistic) Fixed in 1.0.330
  • Fix · GHSA-mpch-89gm-hm83 agnai (npm) Fixed in 1.0.330 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-47169
  2. 2026-10-03 Alias added: GHSA-mpch-89gm-hm83

References

  • 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