# CVE-2024-35181: GHSL-2024-013 Meshery SQL Injection vulnerability

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.60%, higher than 76% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-05-27T18:18:37.054Z
- Modified: 2026-06-17T07:34:29.823Z
- Also known as: GHSA-9f24-jrv4-f8g5, GO-2024-3050
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Meshery is an open source, cloud native manager that enables the design and management of Kubernetes-based infrastructure and applications. A SQL injection vulnerability in Meshery prior to version 0.7.22 may lead to arbitrary file write by using a SQL injection stacked queries payload, and the ATTACH DATABASE command. Additionally, attackers may be able to access and modify any data stored in the database, like performance profiles (which may contain session cookies), Meshery application data, or any Kubernetes configuration added to the system. The Meshery project exposes the function `GetMeshSyncResourcesKinds` at the API URL `/api/system/meshsync/resources/kinds`. The order query parameter is directly used to build a SQL query in `meshync_handler.go`. Version 0.7.22 fixes this issue.

(As written by CVE List.)

## Affected

- meshery meshery: < 0.7.22
- github.com/layer5io/meshery (Go): before 0.7.22; all versions
- layer5 meshery: before 0.7.22

## Every score

- GitHub_M: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://securitylab.github.com/advisories/GHSL-2024-013_GHSL-2024-014_Meshery/> (exploit, third-party-advisory)
- <https://github.com/meshery/meshery/pull/10207> (issue-tracking, patch, web)
- <https://github.com/meshery/meshery/pull/10280> (issue-tracking, patch, web)
- <https://github.com/meshery/meshery/commit/8e995ce21af02d32ef61689c1e1748a745917f13> (patch, web)
- <https://github.com/meshery/meshery/commit/b55f6064d0c6a965aee38f30281f99da7dc4420c> (patch, web)
- <https://github.com/meshery/meshery/blob/b331f45c9083d7abf6b90105072b04cd22473de7/server/handlers/meshsync_handler.go#L187> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-35181> (advisory)
- <https://github.com/layer5io/meshery> (package)
- <https://securitylab.github.com/advisories/GHSL-2024-013_GHSL-2024-014_Meshery> (advisory)
- <https://github.com/advisories/GHSA-9f24-jrv4-f8g5> (advisory)

## Sources

- CVE List: [CVE-2024-35181](https://www.cve.org/CVERecord?id=CVE-2024-35181), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-9f24-jrv4-f8g5](https://github.com/advisories/GHSA-9f24-jrv4-f8g5), CC-BY-4.0, modified 2024-08-06
- Go Vulnerability Database: [GO-2024-3050](https://pkg.go.dev/vuln/GO-2024-3050), CC-BY-4.0, modified 2024-08-06
- NVD: [CVE-2024-35181](https://nvd.nist.gov/vuln/detail/CVE-2024-35181), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-35181 · Whole record: https://cve.day/CVE-2024-35181.json · Rebuilt by cve.day 2026-11-25T22:58:40.953Z
