VDB
Sign up
MEDIUM6.3

PYSEC-2026-2380

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

Quick fix

PYSEC-2026-2380 — astrbot: upgrade to the fixed version with the command below.

pip install --upgrade 'astrbot>=4.23.6'

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/astrbot
Introduced in: 0Fixed in: 4.23.6
Fixpip install --upgrade 'astrbot>=4.23.6'

References