# CVE-2026-4500: bagofwords1 bagofwords code_execution.py generate_df injection

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `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:P`
- 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): 0.45%, higher than 41% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-20T19:32:33.452Z
- Modified: 2026-06-17T10:56:42.727Z
- Weaknesses: CWE-74, CWE-707
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- bagofwords1 bagofwords: 0.0.297 (not affected: 0.0.298)

## Every score

- VulDB: CVSS:4.0 5.3 Medium `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:P`
- VulDB: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C`
- VulDB: CVSS:3.0 6.3 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C`
- VulDB: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C`

## References

- <https://github.com/Ka7arotto/cve/blob/main/bagofwords-rce.md> (exploit)
- <https://vuldb.com/?id.352065> (technical-description, vdb-entry)
- <https://vuldb.com/?ctiid.352065> (permissions-required, signature)
- <https://vuldb.com/?submit.773890> (third-party-advisory)
- <https://github.com/bagofwords1/bagofwords/issues/60> (issue-tracking)
- <https://github.com/bagofwords1/bagofwords/pull/63> (issue-tracking, patch)
- <https://github.com/bagofwords1/bagofwords/commit/47b20bcda31264635faff7f6b1c8095abe1861c6> (patch)
- <https://github.com/bagofwords1/bagofwords/releases/tag/v0.0.298> (patch)
- <https://github.com/bagofwords1/bagofwords/> (product)

## Sources

- CVE List: [CVE-2026-4500](https://www.cve.org/CVERecord?id=CVE-2026-4500), CVE Terms of Use, modified 2026-03-24
- NVD: [CVE-2026-4500](https://nvd.nist.gov/vuln/detail/CVE-2026-4500), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-4500 · Whole record: https://cve.day/CVE-2026-4500.json · Rebuilt by cve.day 2026-11-25T22:59:16.338Z
