SB2025102155 - Debian update for incus



SB2025102155 - Debian update for incus

Published: October 21, 2025

Security Bulletin ID SB2025102155
CSH Severity
Medium
Patch available
YES
Number of vulnerabilities 7
Exploitation vector Remote access
Highest impact Data manipulation

Breakdown by Severity

Medium 29% Low 71%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 7 vulnerabilities.


1) Cross-site request forgery (CVE-ID: CVE-2025-54286)

CWE-ID: CWE-352 - Cross-Site Request Forgery (CSRF)

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear


The vulnerability allows a remote attacker to perform cross-site request forgery attacks.

The vulnerability exists due to insufficient validation of the HTTP request origin when using client certificate authentication with LXD-UI. A remote attacker can trick the victim to visit a specially crafted web page and perform arbitrary actions on behalf of the victim on the vulnerable website.


2) Template injection (CVE-ID: CVE-2025-54287)

CWE-ID: CWE-94 - Improper Control of Generation of Code ('Code Injection')

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/U:Clear


The vulnerability allows a remote user to read arbitrary files on the system.

The vulnerability exists due to improper input validation within the snapshot creation functionality of the Pongo2 template engine in LXD-UI. A remote user with permissions to modify instance settings can pass specially crafted input to the application and read arbitrary files on the system.

Payload example:

{% filter urlencode|slice:":100" %}{% include "/etc/passwd" %}{%endfilter %}


3) Spoofing attack (CVE-ID: CVE-2025-54288)

CWE-ID: CWE-451 - User Interface (UI) Misrepresentation of Critical Information (Clickjacking, spoofing)

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear


The vulnerability allows a remote user to perform spoofing attack.

The vulnerability exists due to the source container identification process in devLXD server uses process cmdline (command line) information when displaying process names. A remote user can use the "exec -a" command to spoof process name and impersonate another container. 


4) Information disclosure (CVE-ID: CVE-2025-54289)

CWE-ID: CWE-200 - Exposure of sensitive information to an unauthorized actor

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Green


The vulnerability allows a remote user to gain access to potentially sensitive information.

The vulnerability exists due to excessive data output by the API. A remote user with read-only permissions can obtain secret values necessary for WebSocket connections via an API call and execute arbitrary commands inside instances with the victim's privileges.


5) Information disclosure (CVE-ID: CVE-2025-54290)

CWE-ID: CWE-200 - Exposure of sensitive information to an unauthorized actor

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear


The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to the images export API return different error messages depending on the project presence. A remote non-authenticated attacker can enumerate existing projects. 


6) Information disclosure (CVE-ID: CVE-2025-54291)

CWE-ID: CWE-200 - Exposure of sensitive information to an unauthorized actor

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear


The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists within the /1.0/images endpoint that returns different responses depending on the existence of the project. A remote non-authenticated attacker can enumerate existing projects.


7) Path traversal (CVE-ID: CVE-2025-54293)

CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green


The vulnerability allows a remote user to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences within the validLogFileName() function in lxd/instance_logs.go. A remote user can send a specially crafted HTTP request and read arbitrary files on the system.


Remediation

Install update from vendor's website.