Advisory

PYSEC-2026-2380

Also known as: CVE-2026-8754, GHSA-f63h-wc26-pmvc

Summary

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

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.

Severity

Medium Basis: CVSS v3 score 6.3, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Dates

Published
2026-07-13 15:19 UTC
Modified
2026-07-13 16:31 UTC

Affected packages and fixes

astrbot

PyPI · All systems

Affected

  • introduced 0, fixed 4.23.6 (ecosystem)

Fixed versions

4.23.6

Fix

  • Fixed version 4.23.6
    pip install --upgrade astrbot==4.23.6

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences