Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Hayroo application
-
DeliverySubmit crafted image-deletion request
-
ExploitInject traversal sequence into filename
-
ExecutionEscape base image directory in deleteImages
-
ImpactOperate on files outside intended path
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated session (CVSS PR:L) with the ability to invoke the Product.deleteImages image-deletion flow in server/controller/products.js, and the attacker must control the image filename value passed to that handler. The concrete prerequisite is reaching the deleteImages code path, which builds a filesystem path by concatenating a base directory with the attacker-supplied image name ('file' mode uses images[i].filename, otherwise images[i]) with no path sanitization pre-patch. Limiting factors: valid low-privilege credentials are needed (not unauthenticated), no scope change occurs (SC/SI/SA:N), and per-metric impact is limited (VC/VI/VA all Low). The trigger mechanism is confirmed by the source diff; no special non-default configuration is indicated. |
| Impact | This is a medium-severity, low-real-world-priority issue. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) scores 5.3 and indicates a network-reachable, low-complexity flaw that nonetheless requires authentication (PR:L) and yields only limited impact across confidentiality, integrity and availability (VC:L/VI:L/VA:L, no scope change). The exploit maturity sub-metric is E:P (proof-of-concept), consistent with the intelligence that a PoC reference exists but is not verified as working exploit code. There is NO CISA KEV listing and NO EPSS score provided, so there is no signal of active or probable widespread exploitation; the vuln.today decision label is 'this_month', not act_now or emergency. The dominant risk-limiting factors are the authentication requirement and the product's negligible deployment footprint (an individual-maintainer GitHub e-commerce project). Net: a genuine, patch-worthy path-traversal bug, but driven by severity metrics rather than evidence of real-world attack pressure - prioritize for routine patching, not emergency response. |
| Exploit ScenarioDerived | An authenticated user of the Hayroo application submits an image-deletion request to the Product.deleteImages handler with a crafted filename containing traversal sequences (e.g. '../../') in the image name/path. Because the pre-patch code concatenates the attacker-supplied name directly onto basePath without sanitization, the resulting path escapes the intended image directory, allowing file operations outside it. A public PoC reference exists (GitHub issue #51) but is not verified as working exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 20, 2026
Path traversal in the Hayroo product-image deletion handler (server/controller/products.js, Product.deleteImages) lets a low-privilege authenticated user supply a crafted image filename that is concatenated onto a base directory without sanitization, so the delete operation can be steered outside the intended image directory and remove or affect files elsewhere on the server. Hayroo is delivered on a rolling release model with no discrete affected versions, so every deployment predating commit 9714947bb43ec8559287aa3962b70a7be8c8d6b1 should be considered affected. Impact per-domain is limited (CVSS 3.1 base 5.3, VC/VI/VA all Low with no scope change); a public issue reference exists but is not verified as working exploit code, and the reported EPSS/KEV context indicates no confirmed active exploitation.
RemediationAI
Upgrade to any Hayroo build that includes commit 9714947bb43ec8559287aa3962b70a7be8c8d6b1 (merged via pull request 52), which sanitizes the image filename with path.basename(), rebuilds the path with path.join(), and rejects paths that do not start with the base image directory - no discrete tagged version is published under the rolling release model, so pin the deployment to that commit or later. Because the vendor commits are the only fix channel, there is no separate patch branch or vendor advisory with an alternate fixed version. If upgrading cannot be done immediately, the compensating control is to restrict who can reach the image-deletion endpoint: require stronger authentication/authorization for the Product.deleteImages flow and limit accounts with delete permissions, accepting that this reduces exposure but does not remove the flaw, since any user still able to pass a crafted filename retains the traversal. The fix commit itself shows the two required code-level controls - basename normalization and a startsWith(basePath) containment check that skips offending entries - which can be backported manually as a stopgap.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Hayroo is a Node.js application whose image-deletion controller resides in server/controller/products.js. Pre-patch, Product.deleteImages composed a filesystem path by string concatenation: basePath + images[i].filename when mode == 'file', otherwise basePath + images[i], and then passed the result to fs.existsSync/delete logic. Because the attacker-controlled name is never normalized, a value containing '../' sequences (or an absolute path) escapes the intended image directory - a textbook CWE-22 path traversal in file-deletion context. The upstream fix (PR 52, commit 9714947bb43ec8559287aa3962b70a7be8c8d6b1) applies path.basename() to the raw name, joins it with path.join(basePath, safeFileName), and adds a startsWith(basePath) guard that logs and skips ('continue') any traversal attempt. The CVSS 4.0 vector in the source data (AV:N/AC:L/AT:N/PR:L/UI:N/E:P) and the independent CVSS 3.1 assessment agree that network reachability plus a low-privilege authenticated session is required; no special non-default configuration is indicated and the trigger mechanism is confirmed directly by the diff.
Know when Hayroo gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-reachable handler (AV:N/AC:L) requiring authenticated low-privilege access (PR:L) per the vendor vector; traversal in a file-deletion path yields limited confidentiality, integrity and availability impact (C/I/A:L).
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was identified in hasan-py Hayroo up to fd0fbe763153f72bfaa04ed1e1e4a1bb6f7c61df. Affected by this issue is the function Product.deleteImages of the file server/controller/products.js of the component Image Deletion Handler. The manipulation leads to path traversal. The attack may be initiated remotely. The exploit is publicly available and might be used. This product uses a rolling release model to deliver continuous updates. As a result, specific version information for affected or updated releases is not available. The identifier of the patch is 9714947bb43ec8559287aa3962b70a7be8c8d6b1. It is recommended to apply a patch to fix this issue.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
EUVD-2026-130835
GHSA-8p2m-jrjq-pp54
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB