Improper Privilege Management Affecting github.com/lxc/incus/v6/internal/server/storage package, versions >=0.0.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

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 Learn

Learn about Improper Privilege Management vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMLXCINCUSV6INTERNALSERVERSTORAGE-13876491
  • published12 Nov 2025
  • disclosed10 Nov 2025
  • creditabdodz1234

Introduced: 10 Nov 2025

NewCVE-2025-64507  (opens in a new tab)
CWE-269  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to Improper Privilege Management due to the process handling custom storage volumes with the security.shifted property set to true. An attacker can gain elevated privileges on the host system by creating a custom storage volume, writing a setuid binary from within a container, and executing it as an unprivileged user on the host.

Note: This is only exploitable if an unprivileged user has root access inside a container with an attached custom storage volume configured with the security.shifted property and also has unprivileged access to the host.

Workaround

This vulnerability can be mitigated by manually restricting permissions to prevent unprivileged users from attaching custom storage volumes with the security.shifted property.

CVSS Base Scores

version 4.0
version 3.1