{"cve":"CVE-2025-57698","nvd":{"published":"2025-11-07T17:15:47.660","modified":"2026-06-17T09:43:17.863","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-22"],"references":["https://github.com/DYX217/vulnerability-explore/blob/main/2/README.md"],"products":["astrbot:astrbot"],"source":"nvd","synced_at":"2026-10-19T22:14:53.307938015+00:00"},"epss":{"cve":"CVE-2025-57698","score":0.00834,"percentile":0.57682,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-xrj9-mw57-j34v","url":"https://osv.dev/vulnerability/GHSA-xrj9-mw57-j34v","summary":"AstrBot contains a directory traversal vulnerability","modified":"2026-07-07T17:57:25.025726887Z","packages":[{"ecosystem":"PyPI","name":"astrbot","purl":"pkg:pypi/astrbot","ranges":["<=3.5.22"],"fixed":[]}]},{"id":"PYSEC-2026-1198","url":"https://osv.dev/vulnerability/PYSEC-2026-1198","summary":"AstrBot contains a directory traversal vulnerability","modified":"2026-07-07T17:46:22.675181274Z","packages":[{"ecosystem":"PyPI","name":"astrbot","purl":"pkg:pypi/astrbot","ranges":["<=3.5.22"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}