CVE-2026-62294

Flameshot: OCTOU symlink attack via predictable /tmp path in Flameshot "Open With"

Published Jul 15, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
Description
Flameshot is powerful yet simple to use screenshot software. Prior to 14.0.0, the Open With feature wrote screenshots to a predictable temporary path and followed symlinks, creating a time-of-check to time-of-use race that allowed a local unprivileged attacker on the same machine to pre-plant a symlink and cause Flameshot to write PNG data through it, overwriting any file the victim user could write. This issue is fixed in version 14.0.0.

Analysis

AI-generated

Technical impact

Flameshot's screenshot software writes image files to a temporary location that is predictable and resolves symbolic links, creating a time‑of‑check to time‑of‑use race. An attacker who can run on the same local machine can pre‑create a symlink to any file that the victim user can write; when the victim selects the Open With feature in Flameshot, the photo is written through that link, overwriting the target file. This allows arbitrary file overwrite, potentially damaging configuration or log files. The weakness is a race condition (CWE‑362) and improper handling of temporary files (CWE‑377).

Affected Systems

All users of Flameshot versions prior to 14.0.0 are affected. The flaw exists in the Open With feature and was fixed in release 14.0.0.

Risk and Exploitability

The CVSS score of 5.1 indicates a moderate severity. The EPSS score of less than 1% indicates a very low probability of exploitation in the wild. The flaw is not listed in the CISA KEV catalog. The attack requires local, unprivileged access to the same machine; an attacker must first run Flameshot on the target system and because the payload is only written after user interaction, the risk is lower than remote‑code‑execution vectors, but the potential for arbitrary file corruption remains, especially in environments where the user can overwrite configuration or log files.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Flameshot to version 14.0.0 or later
  • If a rapid update is not possible, disable the Open With feature or close Flameshot until the patched version is installed
  • Monitor for unexpected file writes or alterations that could result from an attacker

Generated by OpenCVE AI on July 31, 2026 at 03:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Flameshot-org
Flameshot-org flameshot
Vendors & Products Flameshot-org
Flameshot-org flameshot
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Flameshot is powerful yet simple to use screenshot software. Prior to 14.0.0, the Open With feature wrote screenshots to a predictable temporary path and followed symlinks, creating a time-of-check to time-of-use race that allowed a local unprivileged attacker on the same machine to pre-plant a symlink and cause Flameshot to write PNG data through it, overwriting any file the victim user could write. This issue is fixed in version 14.0.0.
Title Flameshot: OCTOU symlink attack via predictable /tmp path in Flameshot "Open With"
Weaknesses CWE-362
CWE-377
References
Metrics cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-362

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

  • CWE-377

    Insecure Temporary File

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 15, 2026, 6:00 PM
Reserved
Jul 13, 2026, 6:37 PM
Status
Deferred
Published
Jul 15, 2026, 3:16 PM
Modified
Oct 24, 2026, 9:10 PM