CVE-2026-36767
Path Traversal in Shopizer v3.2.5
Publication date: 2026-04-30
Last updated on: 2026-04-30
Assigner: MITRE
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| shopizer | shopizer | to 3.2.5 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-22 | The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
CVE-2026-36767 is a path traversal vulnerability in Shopizer version 3.2.5 and earlier, specifically affecting the /api/v1/private/content/images/add endpoint used for file uploads.
An authenticated attacker with admin or merchant privileges can exploit this vulnerability by injecting directory traversal sequences into the filename parameter (qqfilename). This allows the attacker to write arbitrary files to any writable location on the server.
The root cause is insufficient filename sanitization during the upload process, where path traversal sequences like '../../../../shell.jsp' are not properly blocked, enabling the attacker to escape the intended upload directory.
By uploading a malicious JSP webshell to the server's static content directory, the attacker can achieve full Remote Code Execution (RCE) on the underlying server.
How can this vulnerability impact me? :
This vulnerability can have severe impacts including unauthorized file writes to any writable path on the server.
An attacker can upload a malicious webshell, which can lead to full Remote Code Execution (RCE), allowing them to execute arbitrary commands on the server.
Such control can compromise the confidentiality, integrity, and availability of the affected system, potentially leading to data breaches, service disruption, or further network compromise.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by monitoring for suspicious POST requests to the `/api/v1/private/content/images/add` endpoint that include directory traversal sequences in the `qqfilename` parameter, such as `../../../../shell.jsp`.
Detection commands could include searching web server logs for POST requests containing traversal patterns in the filename parameter.
- Use grep or similar tools to find suspicious requests in logs, for example: `grep -i 'qqfilename=.*\.\./' /var/log/httpd/access_log`
- Monitor for unexpected file creations or modifications in writable directories used by Shopizer, especially the static content directory.
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include sanitizing the filenames during the file upload process to prevent directory traversal.
Specifically, strip directory components from filenames using functions like `FilenameUtils.getName()` and validate the resolved file paths with normalization and boundary checks such as `Path.normalize()` and `startsWith()` to ensure files remain within the intended upload directory.
Additionally, restrict access to the vulnerable endpoint to trusted users only, and monitor for any suspicious file uploads.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
The provided information does not specify how the CVE-2026-36767 vulnerability affects compliance with common standards and regulations such as GDPR or HIPAA.