{"answers":{"affected":"3 open source packages ship an affected version, including github.com/casdoor/casdoor. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-6815 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-6815 is a medium-severity path traversal vulnerability in Casdoor, published on 11 May 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-6815 and fix it if it is affected.\n\nWhat it is: CVE-2026-6815 is a medium-severity path traversal vulnerability in Casdoor, published on 11 May 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-6815 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/casdoor/casdoor (Go): affected all versions; no fix listed\n- github.com/casdoor/casdoor (Go): affected all versions up to 1.1000.0; no fix listed\n- github.com/casdoor/casdoor (Go): affected all versions up to 1.1000.0; no fix listed\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-6815/ (Markdown: https://insights.sbomify.com/CVE-2026-6815/index.md)","id":"CVE-2026-6815","markdown":"https://insights.sbomify.com/CVE-2026-6815/index.md","name":"CVE-2026-6815","record":{"aliases":["GHSA-rmxx-v9rj-vpvg","GO-2026-5945"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Casdoor identity provider","requires_auth":"none","summary":"An authenticated admin can exploit path traversal in Casdoor's file storage to write arbitrary files, potentially leading to code execution or data modification.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"certcc","cpe":[{"product":"casdoor","vendor":"casbin"}],"cvss":{"score":5.9,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"An arbitrary file write vulnerability exists in Casdoor's Local File System storage provider. Due to insufficient path sanitization, an authenticated attacker with administrative privileges can perform a Path Traversal attack to create or overwrite arbitrary files anywhere on the host filesystem, bypassing the application's intended storage sandbox.","ecosystems":["Go"],"exploits":{"exploitdb":1,"first_seen":"2026-05-27","github_poc":1,"max_poc_stars":2,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-06-04T15:06:44Z","kind":"github_poc","ref":"https://github.com/danilo-dellorco/CVE-2026-6815","stars":2,"title":"Proof of Concept (PoC) exploit for CVE-2026-6815: Authenticated Path Traversal \u0026 Arbitrary File Write in Casdoor (\u003c 3.54.1) leading to RCE/DoS."},{"date":"2026-05-27","kind":"exploitdb","ref":"52584","stars":null,"title":"Casdoor 3.54.1 - Arbitrary File Write via Path Traversal"}],"tier":"poc_unverified"},"has_fix":true,"headline":"CVE-2026-6815","id":"CVE-2026-6815","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":3,"n_references":1,"next":{"headline":"TFA Basic Plugins - Access Bypass","id":"CVE-2026-6816"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/casdoor/casdoor","purl":"pkg:golang/github.com/casdoor/casdoor","source":"GO-2026-5945"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["1.1000.0"],"package":"github.com/casdoor/casdoor","purl":null,"source":"GHSA-rmxx-v9rj-vpvg"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["1.1000.0"],"package":"github.com/casdoor/casdoor","purl":"pkg:golang/github.com/casdoor/casdoor","source":"GHSA-rmxx-v9rj-vpvg"}],"prev":{"headline":"Cross-site scripting in Continually","id":"CVE-2026-6813"},"products":["Casdoor"],"published":"2026-05-11","related":[{"cvss_score":9.1,"headline":"Casdoor arbitrary file write vulnerability","id":"CVE-2022-38638","kev_date_added":null,"published":"2022-09-09"},{"cvss_score":8.1,"headline":"GHSL-2024-035: Casdoor CORS misconfiguration","id":"CVE-2024-41657","kev_date_added":null,"published":"2024-08-20"},{"cvss_score":8.1,"headline":"Casdoor arbitrary file deletion vulnerability via uploadFile function","id":"CVE-2022-44942","kev_date_added":null,"published":"2022-12-07"},{"cvss_score":7.5,"headline":"casdoor's use of`ssh.InsecureIgnoreHostKey()` disables host key verification","id":"CVE-2024-41264","kev_date_added":null,"published":"2024-08-01"},{"cvss_score":7.5,"headline":"SQL Injection in Casdoor","id":"CVE-2022-24124","kev_date_added":null,"published":"2022-01-29"},{"cvss_score":6.5,"headline":"Casdoor Cross-Site Request Forgery vulnerability","id":"CVE-2023-34927","kev_date_added":null,"published":"2023-06-22"},{"cvss_score":6.1,"headline":"GHSL-2024-036: Reflected XSS in QrCodePage.js","id":"CVE-2024-41658","kev_date_added":null,"published":"2024-08-20"}],"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":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-13","vendors":["Casdoor"]},"summary":"An authenticated admin can exploit path traversal in Casdoor's file storage to write arbitrary files, potentially leading to code execution or data modification.","url":"https://insights.sbomify.com/CVE-2026-6815/"}