Bug 2524268

Summary: CVE-2026-48750 incus: Incus has an arbitrary file write on host via `exec-output` symlink in crafted image [fedora-all]
Product: [Fedora] Fedora Reporter: Thibault Guittet <tguittet>
Component: incusAssignee: Neal Gompa <ngompa13>
Status: NEW --- QA Contact:
Severity: urgent Docs Contact:
Priority: urgent    
Version: rawhideCC: dherrera, fabian, go-sig, jonathan, ngompa13, rcallicotte, reto.gantenbein
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["89f59043-ffda-4aa6-ae79-7563d69d6dce"]}
Fixed In Version: Doc Type: ---
Doc Text:
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:    
Bug Blocks: 2521003    

Description Thibault Guittet 2026-08-26 07:58:05 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Incus is a system container and virtual machine manager. Prior to version 7.2.0, the `record-output` parameter of the `/instances/$name/exec` endpoint stores the output of the command in the `exec-output` directory of the instance. If `exec-output` is a symlink, file named `exec_UUID.stdout` and `exec_UUID.stderr` can be written to an arbitrary location where the `.stdout` file will contain arbitrary content. This behavior can be abused for arbitrary command execution. Version 7.2.0 contains a patch.