Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. astrbot
  4. ›
  5. CVE-2026-8754

CVE-2026-8754: AstrBot: File upload vulnerability in the function post_file of the file astrbot/dashboard/routes/chat.py

May 17, 2026 (updated May 23, 2026)

A vulnerability was detected in AstrBotDevs AstrBot up to 4.23.5. Impacted is the function post_file of the file astrbot/dashboard/routes/chat.py of the component File Upload Handler. The manipulation of the argument filename results in path traversal. It is possible to launch the attack remotely. The exploit is now public and may be used. Upgrading to version 4.23.6 is recommended to address this issue. The patch is identified as aaec41e5054569ceaa1113593a34da7568e2d211. You should upgrade the affected component.

References

  • gist.github.com/YLChen-007/054415c2b63e58813328bc879a90c504
  • github.com/AstrBotDevs/AstrBot
  • github.com/AstrBotDevs/AstrBot/commit/aaec41e5054569ceaa1113593a34da7568e2d211
  • github.com/AstrBotDevs/AstrBot/releases/tag/v4.23.6
  • github.com/advisories/GHSA-f63h-wc26-pmvc
  • nvd.nist.gov/vuln/detail/CVE-2026-8754
  • vuldb.com/submit/811172
  • vuldb.com/vuln/364381
  • vuldb.com/vuln/364381/cti

Code Behaviors & Features

Detect and mitigate CVE-2026-8754 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 4.23.6

Fixed versions

  • 4.23.6

Solution

Upgrade to version 4.23.6 or above.

Impact 6.3 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

pypi/astrbot/CVE-2026-8754.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 23 Jun 2026 12:23:21 +0000.