CVE-2026-4500: bagofwords1 bagofwords · Injection
Affects bagofwords1 bagofwordsSource CVE Database V5
Public exploit available · CVSS 5.3 Medium.
Data as of 1 Nov 2026, 22:58 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 36% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:PExploitation evidence
Disclosed: evidence found.
CVE published 20 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
CVSS exploit maturity: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 1 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| bagofwords1bagofwords | Affected
| Fixed in– |
PyPIbagofwords1/bagofwordspkg:pypi/bagofwords1/bagofwordsOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2026-4500, organizations should immediately upgrade bagofwords1 bagofwords to version 0.0.298 or later, which contains the official patch. In environments where immediate upgrade is not feasible, implement strict input validation and sanitization around the generate_df function to prevent injection of malicious payloads. Employ network segmentation and access controls to limit exposure of the vulnerable component to untrusted networks. Monitor logs and AI execution outputs for anomalous behavior indicative of injection attempts. Restrict privileges of users and services interacting with the vulnerable function to the minimum necessary. Consider deploying runtime application self-protection (RASP) or web application firewalls (WAFs) with custom rules targeting injection patterns specific to this component. Regularly audit AI code execution environments for unauthorized changes or suspicious activity. Finally, maintain awareness of threat intelligence updates for any emerging exploits targeting this vulnerability.
Description
A vulnerability was identified in bagofwords1 bagofwords up to 0.0.297. This impacts the function generate_df of the file backend/app/ai/code_execution/code_execution.py. Such manipulation leads to injection. The attack may be launched remotely. The exploit is publicly available and might be used. Upgrading to version 0.0.298 will fix this issue. The name of the patch is 47b20bcda31264635faff7f6b1c8095abe1861c6. It is recommended to upgrade the affected component.
References
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)
- github.com/bagofwords1/bagofwords/issues/60 (opens in a new tab)
- github.com/bagofwords1/bagofwords/pull/63 (opens in a new tab)
- github.com/Ka7arotto/cve/blob/main/bagofwords-rce.md (opens in a new tab)
- github.com/bagofwords1/bagofwords/commit/47b20bcda31264635faff7f6b1c8095abe1861c6 (opens in a new tab)
- github.com/bagofwords1/bagofwords/releases/tag/v0.0.298 (opens in a new tab)
- github.com/bagofwords1/bagofwords/ (opens in a new tab)