GHSA-x229-w2j4-h748

Suggest an improvement
Source
https://github.com/advisories/GHSA-x229-w2j4-h748
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-x229-w2j4-h748/GHSA-x229-w2j4-h748.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-x229-w2j4-h748
Aliases
  • CVE-2026-7846
Published
2026-05-05T18:33:26Z
Modified
2026-05-08T22:37:08.439860Z
Severity
  • 2.6 (Low) CVSS_V3 - CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
  • 1.2 (Low) CVSS_V4 - CVSS:4.0/AV:A/AC:H/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P CVSS Calculator
Summary
Langchain-Chatchat has a Race Condition in its OpenAI-Compatible File Upload API
Details

A vulnerability has been found in chatchat-space Langchain-Chatchat up to 0.3.1.3. Impacted is the function files of the file libs/chatchat-server/chatchat/server/apiserver/openairoutes.py of the component OpenAI-Compatible File Upload API. Such manipulation of the argument file.filename leads to time-of-check time-of-use. Access to the local network is required for this attack to succeed. The attack requires a high level of complexity. The exploitability is considered difficult. The exploit has been disclosed to the public and may be used. The project was informed of the problem early through an issue report but has not responded yet.

Database specific
{
    "nvd_published_at": "2026-05-05T16:16:19Z",
    "severity": "LOW",
    "cwe_ids": [
        "CWE-362"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-05-08T22:17:33Z"
}
References

Affected packages

PyPI / langchain-chatchat

Package

Name
langchain-chatchat
View open source insights on deps.dev
Purl
pkg:pypi/langchain-chatchat

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.3.1.3

Affected versions

0.*
0.3.0
0.3.0.20240506
0.3.0.20240606
0.3.0.20240610
0.3.0.20240610.1
0.3.0.20240611
0.3.0.20240612
0.3.0.20240612.1
0.3.0.20240612.2
0.3.0.20240612.3
0.3.0.20240612.4
0.3.0.20240616
0.3.0.20240618
0.3.0.20240619
0.3.0.20240621
0.3.0.20240621.3
0.3.0.20240625
0.3.0.20240625.1
0.3.1
0.3.1.1
0.3.1.2
0.3.1.3

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-x229-w2j4-h748/GHSA-x229-w2j4-h748.json"