CVE-2026-4276 Details
Description
LibreChat RAG API, version 0.7.0, contains a log-injection vulnerability that allows attackers to forge log entries.
A log-injection vulnerability has been identified in the LibreChat RAG API version 0.7.0. This vulnerability arises from improper sanitization of user input before it is logged, allowing authenticated attackers to manipulate log entries by inserting carriage-return or line-feed characters. This could obscure malicious activities or mislead forensic investigations. Additionally, if the altered logs are processed by insecure log-management tools or viewed through a web-based administrative console, it could lead to further attacks, such as cross-site scripting or remote command execution.
No official patch is available for this vulnerability. However, it can be mitigated by sanitizing input logs to filter out malicious data, disabling the pgvector extension in PostgreSQL if not in use, and validating RAG output before using it with other tools to prevent indirect prompt injection. These strategies can be combined for enhanced protection.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 17, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://www.kb.cert.org/vuls/id/624941 | CVE | Third Party AdvisoryVDB Entry |
| https://kb.cert.org/vuls/id/624941 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| librechat librechat | 0.7.0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 5, 2026 | Initial Analysis | [email protected] |
| Mar 17, 2026 | CVE Modified | CISA-ADP |
| Mar 16, 2026 | CVE Modified | CVE |
| Mar 16, 2026 | New CVE Received | [email protected] |