ReDoS in EmbedchainGHSA-r67w-f99w-mgxj
Fix: embedchain/embedchain#1122GHSA-r67w-f99w-mgxj is a CWE-1333 vulnerability in embedchain. A fix is available for embedchain — see the affected versions and patch details below.
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-r67w-f99w-mgxj.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
embedchainReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.
Description
The JSON loader in Embedchain before 0.1.57 allows a ReDoS (regular expression denial of service) via a long string to json.py.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | embedchain | all versions | 0.1.57pip install --upgrade 'embedchain==0.1.57' |
Affected Products
embedchainembedchainDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for embedchain, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update embedchain to 0.1.57 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-r67w-f99w-mgxj is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Frequently Asked Questions
Is GHSA-r67w-f99w-mgxj in your dependencies?
Find it across PyPI, including transitive dependencies.