External Control of File Name or Path Affecting lxd package, versions <5.0.2+git20231211.1364ae4-9+deb13u7


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.78% (54th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN13-LXD-17541208
  • published26 Jun 2026
  • disclosed21 Aug 2026

Introduced: 26 Jun 2026

CVE-2026-48750  (opens in a new tab)
CWE-73  (opens in a new tab)

How to fix?

Upgrade Debian:13 lxd to version 5.0.2+git20231211.1364ae4-9+deb13u7 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream lxd package and not the lxd package as distributed by Debian. See How to fix? for Debian:13 relevant fixed versions and status.

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.