Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-64507: CWE-269: Improper Privilege Management in lxc incus

0
High
VulnerabilityCVE-2025-64507cvecve-2025-64507cwe-269
Published: Mon Nov 10 2025 (11/10/2025, 21:56:26 UTC)
Source: CVE Database V5
Vendor/Project: lxc
Product: incus

Description

Incus is a system container and virtual machine manager. An issue in versions prior to 6.0.6 and 6.19.0 affects any Incus user in an environment where an unprivileged user may have root access to a container with an attached custom storage volume that has the `security.shifted` property set to `true` as well as access to the host as an unprivileged user. The most common case for this would be systems using `incus-user` with the less privileged `incus` group to provide unprivileged users with an isolated restricted access to Incus. Such users may be able to create a custom storage volume with the necessary property (depending on kernel and filesystem support) and can then write a setuid binary from within the container which can be executed as an unprivileged user on the host to gain root privileges. A patch for this issue is expected in versions 6.0.6 and 6.19.0. As a workaround, permissions can be manually restricted until a patched version of Incus is deployed.

AI-Powered Analysis

AILast updated: 11/10/2025, 22:18:40 UTC

Technical Analysis

CVE-2025-64507 is a vulnerability in Incus, a system container and virtual machine manager developed by the lxc project, affecting versions prior to 6.0.6 and between 6.1.0 and 6.19.0. The flaw arises from improper privilege management (CWE-269) related to the handling of custom storage volumes with the 'security.shifted' property set to true. In environments where unprivileged users have root access inside a container and also have unprivileged access on the host, these users can exploit this vulnerability by creating a custom storage volume with the required property. This enables them to write a setuid binary inside the container, which can then be executed on the host as an unprivileged user, resulting in privilege escalation to root on the host system. The attack vector requires local access but no authentication or user interaction, making it relatively easy to exploit in multi-user environments. The vulnerability is particularly relevant in setups using 'incus-user' with the 'incus' group to provide restricted container access to unprivileged users. The issue is dependent on kernel and filesystem support for the 'security.shifted' property. The vendor has planned patches in versions 6.0.6 and 6.19.0 to address this issue. Until patches are applied, manual restriction of permissions on storage volumes can serve as a temporary mitigation. The CVSS 4.0 base score of 8.6 reflects the high impact on confidentiality, integrity, and availability due to the ability to gain root privileges on the host from a containerized environment.

Potential Impact

For European organizations, this vulnerability poses a significant risk in environments utilizing Incus for container or VM management, especially where multiple users share access and unprivileged users have container root access. Successful exploitation leads to full host compromise, allowing attackers to bypass container isolation, access sensitive data, modify system configurations, deploy persistent malware, or disrupt services. This undermines the security benefits of containerization and virtualization, potentially affecting critical infrastructure, cloud services, and enterprise IT systems. Organizations in sectors with strict data protection regulations (e.g., GDPR) face additional compliance risks if breaches occur. The vulnerability's ease of exploitation without authentication or user interaction increases the urgency for remediation. The lack of known exploits in the wild currently reduces immediate threat but does not eliminate the risk of future attacks, especially as the vulnerability becomes publicly known.

Mitigation Recommendations

European organizations should prioritize upgrading Incus to versions 6.0.6 or 6.19.0 or later where the vulnerability is patched. Until patches are deployed, administrators must manually restrict permissions on custom storage volumes, particularly those with the 'security.shifted' property, to prevent unprivileged users from creating or modifying setuid binaries. Implement strict access controls and monitoring on container storage volumes and host filesystem mounts to detect unauthorized changes. Limit the number of users with container root access and avoid granting unprivileged users simultaneous host access where possible. Employ kernel and filesystem configurations that do not support or restrict the 'security.shifted' property if feasible. Regularly audit container and host environments for suspicious activity and enforce least privilege principles. Additionally, incorporate this vulnerability into incident response plans and vulnerability management workflows to ensure timely detection and remediation.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2025-11-05T21:15:39.399Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6912626244f28dbfe990a148

Added to database: 11/10/2025, 10:08:34 PM

Last enriched: 11/10/2025, 10:18:40 PM

Last updated: 11/11/2025, 3:09:46 AM

Views: 10

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats