Bug 2500974 (CVE-2026-62294)

Summary: CVE-2026-62294 flameshot: Flameshot: Local file overwrite via time-of-check to time-of-use race condition
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in Flameshot. A local unprivileged attacker could exploit a time-of-check to time-of-use (TOCTOU) race condition in the "Open With" feature. By pre-planting a symbolic link (symlink) in a predictable temporary path, the attacker could cause Flameshot to write screenshot data through it, leading to the overwriting of any file the victim user has write permissions for. This could result in unauthorized modification of data.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2501081    
Bug Blocks:    

Description OSIDB Bzimport 2026-07-15 15:02:54 UTC
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.