CVE-2026-2146

guchengwuyue yshopmall co.yixiang.utils.FileUtil updateAvatar unrestricted upload

Published Feb 8, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
A security flaw has been discovered in guchengwuyue yshopmall up to 1.9.1. This affects the function updateAvatar of the file /api/users/updateAvatar of the component co.yixiang.utils.FileUtil. Performing a manipulation of the argument File results in unrestricted upload. The attack is possible to be carried out remotely. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.

Analysis

AI-generated

Technical impact

The flaw is located in the updateAvatar endpoint of the co.yixiang.utils.FileUtil component. A malicious user can manipulate the File argument to bypass server validation and upload any file type. Because the upload is unrestricted, an attacker could potentially place executable scripts or web shells on the server, leading to remote code execution or other malicious activity. The CVSS score of 5.3 indicates moderate severity, and the attack can be carried out remotely, as stated in the description.

Affected Systems

Affected systems include the YSHOPMall application provided by guchengwuyue, versions up to and including 1.9.1. The vulnerability resides in /api/users/updateAvatar and any installation running a vulnerable version without an applied fix is exposed. No other versions beyond 1.9.1 have been verified as secure, so users must confirm their local installation version and upgrade if necessary.

Risk and Exploitability

Risk assessment shows a moderate CVSS score of 5.3 and an EPSS of less than 1%, indicating a low but non‑zero exploitation probability. The flaw is not listed in CISA’s KEV catalog, yet a public exploit exists and the remote nature of the issue means attackers can trigger it over the Internet. The vulnerability hinges on insufficient file type validation (CWE‑434) and lack of proper access control (CWE‑284), forming the basis of the attack path. Organizations using YSHOPMall should treat this flaw as a security risk that requires prompt attention.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply any vendor-supplied patch or newer release that fixes the unrestricted upload in updateAvatar and verify that the handler now performs proper file type validation.
  • If a patch is not available, temporarily disable the updateAvatar endpoint or prevent unauthenticated users from accessing it.
  • Implement server‑side validation that accepts only image files (e.g., .jpg, .png, .gif) and rejects all other file types.
  • Enforce strict access control so that only authenticated users with appropriate roles can execute the updateAvatar operation.

Generated by OpenCVE AI on April 18, 2026 at 13:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:guchengwuyue:yshopmall:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Guchengwuyue
Guchengwuyue yshopmall
Vendors & Products Guchengwuyue
Guchengwuyue yshopmall
Type Values Removed Values Added
Description A security flaw has been discovered in guchengwuyue yshopmall up to 1.9.1. This affects the function updateAvatar of the file /api/users/updateAvatar of the component co.yixiang.utils.FileUtil. Performing a manipulation of the argument File results in unrestricted upload. The attack is possible to be carried out remotely. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.
Title guchengwuyue yshopmall co.yixiang.utils.FileUtil updateAvatar unrestricted upload
Weaknesses CWE-284
CWE-434
References
Metrics cvssV2_0

{'score': 6.5, 'vector': 'AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 6.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 5.3, 'vector': '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'}

Weaknesses
  • CWE-284

    Improper Access Control

  • CWE-434

    Unrestricted Upload of File with Dangerous Type

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Feb 23, 2026, 9:40 AM
Reserved
Feb 7, 2026, 7:49 AM
Status
Analyzed
Published
Feb 8, 2026, 10:15 AM
Modified
Jun 17, 2026, 10:30 AM