# CVE-2026-32628: AnythingLLM has SQL Injection in Built-in SQL Agent Plugin via Unsanitized table_name Parameter

- Severity: High 7.7 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA: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): 0.35%, higher than 30% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-13T20:50:15.991Z
- Modified: 2026-06-17T10:36:07.740Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

AnythingLLM is an application that turns pieces of content into context that any LLM can use as references during chatting. In 1.11.1 and earlier, a SQL injection vulnerability in the built-in SQL Agent plugin allows any user who can invoke the agent to execute arbitrary SQL commands on connected databases. The getTableSchemaSql() method in all three database connectors (MySQL, PostgreSQL, MSSQL) constructs SQL queries using direct string concatenation of the table_name parameter without sanitization or parameterization.

(As written by CVE List.)

## Affected

- Mintplex-Labs anything-llm: <= 1.11.1
- mintplexlabs anythingllm: up to 1.11.1

## Every score

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

## References

- <https://github.com/Mintplex-Labs/anything-llm/security/advisories/GHSA-jwjx-mw2p-5wc7> (exploit, mitigation, vendor-advisory)
- <https://github.com/Mintplex-Labs/anything-llm/commit/334ce052f063b53a4275518cbed3bab357695d7e> (patch)

## Sources

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

---

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