CVE-2026-45225: Heym < 0.0.21 Path Traversal File Upload via upload_file()
Heym before 0.0.21 contains a path traversal vulnerability in the file upload endpoint that allows authenticated users to write attacker-controlled files to arbitrary locations by supplying a crafted filename with traversal sequences. Attackers can exploit the unvalidated filename parameter in the upload_file() handler to bypass path restrictions and write, read, or delete files outside the intended storage directory.
Security readout for executives and security teams
Plain-English summary
Heym before 0.0.21 lets an authenticated user influence where uploaded files are stored. A crafted filename can escape the intended upload directory, potentially allowing files to be written, read, or deleted elsewhere on the server.
Executive priority
Treat this as a high-priority remediation for any internet-facing or multi-user Heym deployment. The main business risk is unauthorized modification of server files through legitimate authenticated access.
Technical view
The issue is a CWE-22 path traversal flaw in the upload_file() handler. The CVE states that filename input was not sufficiently validated, allowing traversal sequences to bypass path restrictions. Impact is CVSS 7.6: low confidentiality, high integrity, and low availability impact.
Likely exposure
Exposure is most likely in deployments running Heym before 0.0.21 where authenticated users, tenants, or integrations can access the file upload endpoint. Public internet exposure increases urgency, but authentication is required according to the CVE bundle.
Exploitation context
The source bundle does not indicate CISA KEV listing or confirmed active exploitation. Exploitation requires authenticated access and a crafted filename, so insider, compromised-account, or multi-tenant abuse scenarios are the main concern.
Researcher notes
Evidence supports Heym before 0.0.21, CWE-22, CVSS 7.6, and a patch-associated commit. The exact affected package boundaries beyond the provided version and commit are not fully detailed in the bundle, so confirm with upstream metadata.
Mitigation direction
Upgrade Heym to version 0.0.21 or later.
Apply the upstream patch if direct version upgrade is not immediately possible.
Restrict upload access to trusted users until remediation is complete.
Review vendor release notes and advisory for any additional guidance.
Validation and detection
Inventory Heym deployments and confirm installed versions.
Verify upload endpoints are not reachable by untrusted authenticated users.
Review upload and application logs for suspicious filename patterns.
Check server directories for unexpected files outside upload storage.
Confirm the deployed code includes the referenced upstream fix.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-22: File access and web shell behavior lookup
File traversal and upload weaknesses can lead teams to review file, web shell, execution, and collection telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references file access or upload behavior, so file telemetry and web shell review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-22 · source CWE mapping
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.