CVE-2024-5278

Unrestricted File Upload leading to RCE in gaizhenbiao/chuanhuchatgpt

MEDIUM
6.1
CVSS Score
Published: June 6, 2024 at 06:44 PM UTC
Updated: June 17, 2026 at 08:15 AM UTC
1 product affected across 1 vendorChuanhuchatgpt

Using gaizhenbiao/chuanhuchatgpt by gaizhenbiao?

Get instant alerts when new vulnerabilities affect gaizhenbiao/chuanhuchatgpt - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.1
Exploit prediction
EPSS 0.6%
SSVC
PoC

Description

gaizhenbiao/chuanhuchatgpt is vulnerable to an unrestricted file upload vulnerability due to insufficient validation of uploaded file types in its `/upload` endpoint. Specifically, the `handle_file_upload` function does not sanitize or validate the file extension or content type of uploaded files, allowing attackers to upload files with arbitrary extensions, including HTML files containing XSS payloads and Python files. This vulnerability, present in the latest version as of 20240310, could lead to stored XSS attacks and potentially result in remote code execution (RCE) on the server hosting the application.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 20240919
Affected range stops below 20240919, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-434

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card