{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-31856","published":"2021-04-28T06:15:07.257000Z","last_modified":"2026-06-17T03:52:21.440000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-89"],"cpes":[{"criteria":"cpe:2.3:a:layer5:meshery:0.5.2:*:*:*:*:*:*:*","part":"a","vendor":"layer5","product":"meshery","version":"0.5.2"}],"cpes_truncated":false,"vendors":["layer5"],"products":["layer5/meshery"],"epss":{"score":0.75384,"percentile":0.99661,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":81,"links":{"html_es":"/es/cve/CVE-2021-31856/","html_en":"/en/cve/CVE-2021-31856/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-31856","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-31856"},"untrusted":{"vendor_name":"Layer5","product_name":"Meshery","desc_en":"A SQL Injection vulnerability in the REST API in Layer5 Meshery 0.5.2 allows an attacker to execute arbitrary SQL commands via the /experimental/patternfiles endpoint (order parameter in GetMesheryPatterns in models/meshery_pattern_persister.go).","affected":[],"references":[{"url":"https://github.com/layer5io/meshery/pull/2745","tags":["Patch","Third Party Advisory"]},{"url":"https://meshery.io","tags":["Product","Vendor Advisory"]}]}}