# CVE-2024-23731: Code execution in Embedchain

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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.05%, higher than 65% of CVEs (2026-12-01)
- Published: 2024-01-21T00:00:00.000Z
- Modified: 2026-06-17T07:13:28.483Z
- Also known as: GHSA-rhhj-5436-95vf, PYSEC-2024-7
- Weaknesses: CWE-88, CWE-94
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: mitre

## Description

The OpenAPI loader in Embedchain before 0.1.57 allows attackers to execute arbitrary code, related to the openapi.py yaml.load function argument.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- embedchain (PyPI): before 0.1.57
- embedchain embedchain: before 0.1.57

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/embedchain/embedchain/pull/1122> (issue-tracking, patch, web)
- <https://github.com/embedchain/embedchain/compare/0.1.56...0.1.57> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-23731> (advisory)
- <https://github.com/embedchain/embedchain> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/embedchain/PYSEC-2024-7.yaml> (web)
- <https://github.com/advisories/GHSA-rhhj-5436-95vf> (advisory)

## Sources

- CVE List: [CVE-2024-23731](https://www.cve.org/CVERecord?id=CVE-2024-23731), CVE Terms of Use, modified 2025-06-04
- GitHub Advisory Database: [GHSA-rhhj-5436-95vf](https://github.com/advisories/GHSA-rhhj-5436-95vf), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2024-23731](https://nvd.nist.gov/vuln/detail/CVE-2024-23731), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2024-7](https://osv.dev/vulnerability/PYSEC-2024-7), CC-BY-4.0, modified 2026-06-10

---

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