Skip to main content

Hayroo CVE-2026-133486

| EUVDEUVD-2026-130835 LOW
Path Traversal (CWE-22)
2026-11-20 VulDB GHSA-8p2m-jrjq-pp54
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to Hayroo application
  2. Delivery
    Submit crafted image-deletion request
  3. Exploit
    Inject traversal sequence into filename
  4. Execution
    Escape base image directory in deleteImages
  5. Impact
    Operate 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Hayroo fd0fbe763153f72bfaa04ed1e1e4a1bb6f7c61df

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

Vendor (VulDB) PRIMARY 2.1 MEDIUM
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
vuln.today AI 6.3 MEDIUM

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).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Severity Changed
Nov 20, 2026 - 05:22 NVD
MEDIUM LOW
CVSS changed
Nov 20, 2026 - 05:22 NVD
5.3 (MEDIUM) 2.1 (LOW)
CVE Published
Nov 20, 2026 - 04:30 cve.org
MEDIUM 5.3

DescriptionCVE.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

EPSS Score
0.3%
Top 77% exploitable
Prevalence
Rare
individual-maintainer GitHub e-commerce project, no enterprise footprint
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy