Security mailing lists by PureSourceCode

CVE-2025-57698

HIGH 7.5CVSS 3.1

AstrBot contains a directory traversal vulnerability

AstrBot Project v3.5.22 contains a directory traversal vulnerability. The handler function install_plugin_upload of the interface '/plugin/install-upload' parses the filename from the request body provided by the user, and directly uses the filename to assign to file_path without checking the validity of the filename. The variable file_path is then passed as a parameter to the function file.save, so that the file in the request body can be saved to any location in the file system through directory traversal.

Published
7 Nov 2025
Last modified
5 Nov 2026
Assigned by
cve@mitre.org
NVD status
Analyzed
Weakness
CWE-22
Also known as
GHSA-xrj9-mw57-j34vPYSEC-2026-1198
Sources
NVDJSONOSV GHSA-xrj9-mw57-j34vJSONOSV PYSEC-2026-1198JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
OSV PyPA CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD astrbot astrbot
cpe:2.3:a:astrbot:astrbot:3.5.22:*:*:*:*:*:*:*
= 3.5.22
OSV PyPI astrbot <= 3.5.22

References

History

  • 25 Nov 2026 20:59 UTC · NVD: first stored (published 7 Nov 2025)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Nov 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.