{"answers":{"affected":"3 open source packages ship an affected version, including astrbot and AstrBot.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-8754 exists.","fix":"Upgrade astrbot to 4.23.6 or later.","what":"CVE-2026-8754 is a medium-severity path traversal vulnerability in AstrBotDevs AstrBot, published on 17 May 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-8754 and fix it if it is affected.\n\nWhat it is: CVE-2026-8754 is a medium-severity path traversal vulnerability in AstrBotDevs AstrBot, published on 17 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-8754 exists.\n\nAffected packages and fixed versions:\n- astrbot (PyPI): affected all versions; fixed in 4.23.6\n- astrbot (PyPI): affected all versions; fixed in 4.23.6\n- AstrBot (PyPI): affected all versions; fixed in 4.23.6\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-8754/ (Markdown: https://insights.sbomify.com/CVE-2026-8754/index.md)","id":"CVE-2026-8754","markdown":"https://insights.sbomify.com/CVE-2026-8754/index.md","name":"CVE-2026-8754","record":{"aliases":["GHSA-f63h-wc26-pmvc","PYSEC-2026-2380"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"AstrBot chatbot framework","requires_auth":"low_privilege","summary":"Remote attackers can exploit a path traversal vulnerability in the file upload handler to read or modify arbitrary files on the server.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","version":"4.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"AstrBotDevs AstrBot File Upload chat.py post_file path traversal","id":"CVE-2026-8754","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":3,"n_references":7,"next":{"headline":"fishaudio Bert-VITS2 Model hiyoriUI.py _get_all_models path traversal","id":"CVE-2026-8755"},"packages":[{"ecosystem":"PyPI","fixed":["4.23.6"],"introduced":["0"],"last_affected":[],"package":"AstrBot","purl":null,"source":"GHSA-f63h-wc26-pmvc"},{"ecosystem":"PyPI","fixed":["4.23.6"],"introduced":["0"],"last_affected":[],"package":"astrbot","purl":"pkg:pypi/astrbot","source":"GHSA-f63h-wc26-pmvc"},{"ecosystem":"PyPI","fixed":["4.23.6"],"introduced":["0"],"last_affected":[],"package":"astrbot","purl":"pkg:pypi/astrbot","source":"PYSEC-2026-2380"}],"prev":{"headline":"kalcaddle Kodbox fileThumb Plugin VideoResize.class.php parseVideoInfo command injection","id":"CVE-2026-8753"},"products":["AstrBot"],"published":"2026-05-17","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-18","vendors":["AstrBotDevs"]},"summary":"Remote attackers can exploit a path traversal vulnerability in the file upload handler to read or modify arbitrary files on the server.","url":"https://insights.sbomify.com/CVE-2026-8754/"}