{"answers":{"affected":"2 open source packages ship an affected version, including wwbn/avideo. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-40909 exists.","fix":"No fix has been published for CVE-2026-40909 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-40909 is a high-severity path traversal vulnerability in Wwbn Avideo, published on 21 Apr 2026. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-40909 and fix it if it is affected.\n\nWhat it is: CVE-2026-40909 is a high-severity path traversal vulnerability in Wwbn Avideo, published on 21 Apr 2026. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-40909 exists.\n\nAffected packages and fixed versions:\n- wwbn/avideo (Packagist): affected all versions up to 29.0; no fix listed\n- wwbn/avideo (Packagist): affected all versions up to 29.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-40909/ (Markdown: https://insights.sbomify.com/CVE-2026-40909/index.md)","id":"CVE-2026-40909","markdown":"https://insights.sbomify.com/CVE-2026-40909/index.md","name":"CVE-2026-40909","record":{"aliases":["GHSA-6rc6-p838-686f"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Video platform","requires_auth":"high_privilege","summary":"An attacker can exploit a path traversal vulnerability in the locale save endpoint to write arbitrary PHP files, achieving remote code execution.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"avideo","vendor":"wwbn"}],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"WWBN AVideo is an open source video platform. In versions 29.0 and prior, the locale save endpoint (`locale/save.php`) constructs a file path by directly concatenating `$_POST['flag']` into the path at line 30 without any sanitization. The `$_POST['code']` parameter is then written verbatim to that path via `fwrite()` at line 40. An admin attacker (or any user who can CSRF an admin, since no CSRF token is checked and cookies use `SameSite=None`) can traverse out of the `locale/` directory and write arbitrary `.php` files to any writable location on the filesystem, achieving Remote Code Execution. Commit 57f89ffbc27d37c9d9dd727212334846e78ac21a fixes the issue.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"WWBN AVideo has a Path Traversal in Locale Save Endpoint Enables Arbitrary PHP File Write to Any Web-Accessible Directory (RCE)","id":"CVE-2026-40909","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":"wwbn:avideo","products":["wwbn:avideo"],"type":"path_traversal","year":"2026"},"n_packages":2,"n_references":2,"next":{"headline":"frp: Authentication bypass in frp HTTP vhost routing when routeByHTTPUser is used for access control","id":"CVE-2026-40910"},"packages":[{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["29.0"],"package":"wwbn/avideo","purl":null,"source":"GHSA-6rc6-p838-686f"},{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["29.0"],"package":"wwbn/avideo","purl":"pkg:composer/wwbn/avideo","source":"GHSA-6rc6-p838-686f"}],"prev":{"headline":"WWBN AVideo has an Unauthenticated Information Disclosure via git.json.php Exposes Developer Emails and Deployed Version","id":"CVE-2026-40908"},"products":["AVideo"],"published":"2026-04-21","related":[{"cvss_score":10,"headline":"WWBN AVideo YPTSocket WebSocket Broadcast Relay Leads to Unauthenticated Cross-User JavaScript Execution via Client-Side eval() Sinks","id":"CVE-2026-40911","kev_date_added":null,"published":"2026-04-21"},{"cvss_score":10,"headline":"AVideo Multi-Chain Attack: Unauthenticated Remote Code Execution via Clone Key Disclosure, Database Dump, and Command Injection","id":"CVE-2026-33478","kev_date_added":null,"published":"2026-03-23"},{"cvss_score":9.9,"headline":"Command injection in AVideo","id":"CVE-2022-30534","kev_date_added":null,"published":"2022-08-22"},{"cvss_score":9.9,"headline":"Path traversal in AVideo","id":"CVE-2022-30547","kev_date_added":null,"published":"2022-08-22"},{"cvss_score":9.9,"headline":"Command injection in AVideo","id":"CVE-2022-32572","kev_date_added":null,"published":"2022-08-22"},{"cvss_score":9.8,"headline":"AVideo has an Unauthenticated SQL Injection via `doNotShowCats` Parameter (Backslash Escape Bypass)","id":"CVE-2026-33352","kev_date_added":null,"published":"2026-03-23"},{"cvss_score":9.8,"headline":"WWBN AVideo: Unauthenticated SQL Injection via JSON Request Bypass in objects/videos.json.php","id":"CVE-2026-28501","kev_date_added":null,"published":"2026-03-06"}],"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":"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)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-04-21","vendors":["WWBN"]},"summary":"An attacker can exploit a path traversal vulnerability in the locale save endpoint to write arbitrary PHP files, achieving remote code execution.","url":"https://insights.sbomify.com/CVE-2026-40909/"}