Skip to main content

Flameshot EUVDEUVD-2026-44675

| CVE-2026-62294 MEDIUM
Race Condition (CWE-362)
2026-07-15 GitHub_M
5.1
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Obtain local unprivileged shell on victim's machine
  2. Delivery
    Predict or monitor Flameshot's deterministic temp file path
  3. Exploit
    Pre-plant symlink at temp path targeting victim-writable file
  4. Execution
    Wait for victim to invoke Open With feature
  5. Persist
    Flameshot writes screenshot PNG through symlink
  6. Impact
    Victim-writable file overwritten with PNG data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Concurrency control, locking
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a local, unprivileged attacker account on the same physical or virtual machine as the victim user - remote exploitation is not possible. The victim must actively invoke the 'Open With' feature in Flameshot, which is a deliberate user action beyond simply taking a screenshot; passive screenshot capture does not trigger the vulnerable code path. The attacker must win a timing race between the predictable temp path being computed and Flameshot writing to it; the predictable naming convention makes this race reliably winnable. File overwrite is strictly limited to files writable by the victim user - the attacker cannot affect root-owned files, other users' files, or system resources outside the victim's permission scope. Limiting factors: requires coexistence of an untrusted local user and a Flameshot user on the same system, active use of a non-default feature, and successful race timing.

Impact

The CVSS 4.0 base score of 5.1 (AV:L/AC:L/AT:N/PR:N/UI:N) reflects local-access-only exploitation with no privileges required, mapping to a medium severity tier. Real-world risk is significantly constrained: the attacker must already possess a local shell on the same machine as the victim, and must win a timing race - though the deterministic filename pattern makes the race relatively reliable in practice. Impact is bounded to files writable by the victim user (VI:L/VA:L per CVSS 4.0), so privilege escalation to root is not directly achievable through this vector alone. No KEV listing exists and no EPSS data was provided in the input. The primary risk amplifier is multi-user shared environments (shared Linux servers, university systems, virtual desktop infrastructure) where untrusted local users and Flameshot users coexist; single-user desktop deployments face negligible practical risk since the local attacker would already have equivalent file-write access. The provided CVSS 4.0 vector asserts UI:N and AT:N, but the description implies both victim interaction (the victim must invoke 'Open With') and a timing-dependent condition (the race window) - these metrics appear optimistic and may overstate ease of exploitation.

Exploit ScenarioDerived

A local unprivileged attacker on a shared Linux system monitors the system temp directory for Flameshot's predictable screenshot filename pattern, then races to replace it with a symlink pointing to a victim-writable target such as ~/.ssh/authorized_keys or ~/.bashrc. When the victim invokes 'Open With' on a screenshot, Flameshot follows the symlink and overwrites the target file with raw PNG binary data, corrupting or replacing its contents - potentially disrupting authentication, application configuration, or other user-owned resources.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 15, 2026

Flameshot's 'Open With' feature prior to version 14.0.0 contains a TOCTOU (time-of-check to time-of-use) symlink-following race condition that allows a local unprivileged attacker on the same machine to overwrite arbitrary files writable by the victim user. By pre-planting a symlink at the predictable temporary file path before Flameshot writes the screenshot PNG, an attacker can redirect the write operation to any file within the victim's permissions - including configuration files, SSH keys, or application data. No public exploit identified at time of analysis, though the attack is straightforward given the deterministic path; the vendor-confirmed fix is available in v14.0.0.

RemediationAI

Upgrade to Flameshot 14.0.0 or later, available at https://github.com/flameshot-org/flameshot/releases/tag/v14.0.0. The fix (PR #4716, commit 936716b8d8b7052be461c3d5e2f88492b6eb3b96) replaces the predictable properScreenshotPath() temp file computation with Qt's QTemporaryFile, which atomically creates a uniquely-named file and eliminates the symlink pre-planting window. If immediate upgrade is not possible, the primary compensating control is to avoid or disable use of the 'Open With' feature in Flameshot - since the vulnerability is only reachable through that specific code path and not through standard screenshot capture. In multi-user Linux environments, ensuring /tmp is mounted with the sticky bit (standard on most distributions) prevents users from deleting or replacing each other's temp files, but does not fully close the race if the attacker can predict the filename before it is created. No side effects are associated with the upstream patch beyond the functional behavior change to temp file naming.

Affected VersionsENISA

flameshot < 14.0.0

Affected Packages

euvd flameshot fix: 14.0.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Flameshot (cpe:2.3:a:flameshot-org:flameshot:*:*:*:*:*:*:*:*) is a Qt-based cross-platform screenshot utility. The vulnerable code resides in src/tools/launcher/applauncherwidget.cpp within the AppLauncherWidget class. Prior to v14.0.0, the 'Open With' workflow computed a deterministic temporary filename using FileNameHandler().properScreenshotPath(QDir::tempPath(), "png"), then wrote the screenshot PNG to that path - with no atomic file creation, no randomization, and no symlink-following protection. CWE-362 (Concurrent Execution Using Shared Resource with Improper Synchronization) is the root cause: the window between the path being computed and the file being written is exploitable by a local attacker who races to place a symlink at that location. The fix (PR #4716, commit 936716b) replaces the predictable path with Qt's QTemporaryFile API, which atomically creates a file using an _XXXXXX randomized suffix pattern - closing the race window by eliminating the predictable path entirely.

Know when Flameshot 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 (GitHub_M) PRIMARY 5.1 MEDIUM
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
vuln.today AI 3.6 LOW

Local-only attack requiring victim to invoke Open With (UI:R); race condition elevates AC:H; no confidentiality impact, only file integrity and availability affected.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

1
Patch available
Jul 15, 2026 - 17:48 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
Low
niche open-source desktop screenshot tool, Linux-centric user base
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Race conditions occur when multiple concurrent requests exploit the brief time gap between checking a condition and acting upon it (TOCTOU - Time of Check, Time of Use).

Vendor StatusVendor

SUSE

Severity: Moderate

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