HarborGuardharborguardDatabase
Back to search
CRITICALCVE-2026-50873Published Modified CNA mitre

CVE-2026-50873: An arbitrary file upload vulnerability in the attachment handling component of flatnotes v5

An arbitrary file upload vulnerability in the attachment handling component of flatnotes v5.5.4 allows attackers to execute arbitrary code via uploading a crafted HTML or SVG file.

Metrics

CVSS v3.1
9.8
Severity
CRITICAL
Fixed in
Affected Products
1

Get notified

Email me when this CVE is updated: new fix versions, severity changes, or any record change.

HarborGuard Analysis

Synopsis

An arbitrary file upload vulnerability in the attachment handling component of flatnotes v5.5.4 allows unauthenticated remote attackers to upload crafted HTML or SVG files and execute arbitrary code on the server. The vulnerability is reachable over the network, requires no authentication, and no victim interaction is necessary. Successful exploitation gives the attacker full control over the host, including the ability to read, modify, or destroy all data accessible by the running process. HarborGuard is tracking this advisory and will make a patched-image rebuild available the moment an upstream fix is published.

HarborGuard Coverage

Detection

Detection of CVE-2026-50873 is available across every HarborGuard environment - the CVE is ingested from upstream feeds within minutes of publication and matched against all customer images, including custom-built images that bundle flatnotes v5.5.4. Any image in a connected registry or CI pipeline that includes the affected component will surface a finding automatically.

Available
Triage

HarborGuard scores this finding at CVSS 9.8 Critical and weights it against each environment's compliance policy to determine escalation priority. Triage routing is available to direct the finding to the appropriate team inbox within each customer organization, so the right engineers see it without manual filtering.

Available
Patch

No fix version has been published upstream for CVE-2026-50873. HarborGuard re-checks the advisory on every ingest cycle and will make a patched-image rebuild available automatically the moment an upstream fix is released. For customers with auto-remediation enabled, the rebuild, regression-test run, and PR against affected workloads will be triggered without manual intervention as soon as a fix version is confirmed.

Pending upstream

Exploit Conditions

  • Network reachabilityRequired

    The attachment handling endpoint is exposed over the network, so an attacker must be able to reach the service via HTTP or HTTPS from any remote location.

  • AuthenticationNot required

    No account or credentials of any kind are needed; the vulnerable upload endpoint is accessible to unauthenticated requests.

  • Victim interactionNot required

    The attacker uploads a crafted file directly to the server endpoint without requiring any action from a logged-in user or administrator.

  • Attack complexityDetail

    Exploitation is reliable and condition-free - no race conditions, memory layout knowledge, or special environmental factors are required to trigger code execution.

Blast Radius

  • An attacker can execute arbitrary code under the identity of the flatnotes process, giving full control over the running container or host.
  • All notes, attachments, and any secrets (API keys, credentials) readable by the process are exposed to the attacker.
  • The attacker can overwrite or delete stored notes and uploaded files, corrupting or destroying persisted data.
  • The service can be crashed or hijacked, causing a complete availability loss for all users of the flatnotes instance.

How HarborGuard Handles This

Available on HarborGuard: because no upstream fix has been published, HarborGuard continuously monitors the CVE-2026-50873 advisory on every ingest cycle and will surface a patched-image rebuild the moment a fix version is confirmed. In the interim, compensating controls are strongly recommended - consider applying a Kubernetes NetworkPolicy or equivalent to restrict inbound access to the flatnotes upload endpoint to trusted source CIDRs only, enabling egress filtering to limit what a compromised container can reach, and, where the product supports it, gating the attachment upload feature via a configuration flag or reverse-proxy ACL. For customers with auto-remediation enabled, HarborGuard will trigger a full rebuild, regression-test run, and PR against affected workloads automatically on the first ingest cycle after a fix version appears upstream, with median time from publication to merged patch PR for critical-severity issues around 90 minutes in auto-remediation environments.

See how HarborGuard automates this
Affected packages
  • n/a / n/a
    n/a
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References