{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-6227 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-6227 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-6227 is a high-severity path traversal vulnerability in wp_media BackWPup – WordPress Backup \u0026 Restore Plugin, published on 14 Apr 2026. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-6227 and fix it if it is affected.\n\nWhat it is: CVE-2026-6227 is a high-severity path traversal vulnerability in wp_media BackWPup – WordPress Backup \u0026 Restore Plugin, published on 14 Apr 2026. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-6227 in the wild and no public exploit code.\n\nAffected product: wp_media BackWPup – WordPress Backup \u0026 Restore Plugin. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-6227/ (Markdown: https://insights.sbomify.com/CVE-2026-6227/index.md)","id":"CVE-2026-6227","markdown":"https://insights.sbomify.com/CVE-2026-6227/index.md","name":"CVE-2026-6227","record":{"aliases":["GHSA-6gj4-hcqg-pjc8"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["data_read","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"WordPress plugin","requires_auth":"high_privilege","summary":"Authenticated administrators can exploit path traversal in BackWPup to read sensitive files or execute code via the block_name parameter.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Wordfence","cpe":[],"cvss":{"score":7.2,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"The BackWPup plugin for WordPress is vulnerable to Local File Inclusion via the `block_name` parameter of the `/wp-json/backwpup/v1/getblock` REST endpoint in all versions up to, and including, 5.6.6 due to a non-recursive `str_replace()` sanitization of path traversal sequences. This makes it possible for authenticated attackers, with Administrator-level access and above, to include arbitrary PHP files on the server via crafted traversal sequences (e.g., `....//`), which can be leveraged to read sensitive files such as `wp-config.php` or achieve remote code execution in certain configurations. Administrators have the ability to grant individual users permission to handle backups, which may then allow lower-level users to exploit this vulnerability.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-04-13","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-04-13T16:16:54Z","kind":"github_poc","ref":"https://github.com/Pixel-DefaultBR/CVE-2026-6227","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":null,"headline":"BackWPup \u003c= 5.6.6 - Authenticated (Administrator+) Local File Inclusion via 'block_name' Parameter","id":"CVE-2026-6227","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":0,"n_references":6,"next":{"headline":"Frontend Admin by DynamiApps \u003c= 3.28.36 - Unauthenticated Privilege Escalation via Edit User Form","id":"CVE-2026-6228"},"packages":[],"prev":{"headline":"Frontend Admin by DynamiApps \u003c= 3.29.2 - Unauthenticated Privilege Escalation via Form Configuration Injection","id":"CVE-2026-6226"},"products":["BackWPup – WordPress Backup \u0026 Restore Plugin"],"published":"2026-04-14","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-04-14","vendors":["wp_media"]},"summary":"Authenticated administrators can exploit path traversal in BackWPup to read sensitive files or execute code via the block_name parameter.","url":"https://insights.sbomify.com/CVE-2026-6227/"}