CVE-2025-57698

CVE-2025-57698 is a high-severity vulnerability in Astrbot with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-22.

Key facts

Description

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.

Frequently asked questions

What is CVE-2025-57698?
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.
How severe is CVE-2025-57698?
CVE-2025-57698 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
Is CVE-2025-57698 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (51st percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2025-57698?
CVE-2025-57698 affects Astrbot. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2025-57698?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
Does CVE-2025-57698 have an EU (EUVD) identifier?
Yes. CVE-2025-57698 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-38262.
When was CVE-2025-57698 published?
CVE-2025-57698 was published on 2025-11-07 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Astrbot

All CVEs affecting Astrbot →

Other CWE-22 (Path Traversal) vulnerabilities

Browse all CWE-22 (Path Traversal) vulnerabilities →