Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. agnai
  4. ›
  5. CVE-2024-47169

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

September 26, 2024

A vulnerability has been discovered in Agnai that 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
  • self-hosting that is not publicly exposed

This DOES affect:

  • publicly hosted installs without S3-compatible storage

References

  • github.com/advisories/GHSA-mpch-89gm-hm83
  • github.com/agnaistic/agnai
  • github.com/agnaistic/agnai/security/advisories/GHSA-mpch-89gm-hm83
  • nvd.nist.gov/vuln/detail/CVE-2024-47169

Code Behaviors & Features

Detect and mitigate CVE-2024-47169 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.0.330

Fixed versions

  • 1.0.330

Solution

Upgrade to version 1.0.330 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-35: Path Traversal: '.../...//'
  • CWE-434: Unrestricted Upload of File with Dangerous Type

Source file

npm/agnai/CVE-2024-47169.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:35 +0000.