CVE-2025-64507: CWE-269: Improper Privilege Management in lxc incus
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 Analysis
Technical Summary
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.
Affected Countries
Germany, France, United Kingdom, Netherlands, Sweden, Finland, Italy, Spain
CVE-2025-64507: CWE-269: Improper Privilege Management in lxc 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
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.
Affected Countries
For access to advanced analysis and higher rate limits, contact root@offseq.com
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
OWASP Highlights Supply Chain Risks in New Top 10 List
HighCVE-2025-42940: CWE-787: Out-of-bounds Write in SAP_SE SAP CommonCryptoLib
HighCVE-2025-42924: CWE-601: URL Redirection to Untrusted Site in SAP_SE SAP S/4HANA landscape (SAP E-Recruiting BSP)
MediumCVE-2025-42919: CWE-22: Improper Limitation of a Pathname to a Restricted Directory in SAP_SE SAP NetWeaver Application Server Java
MediumCVE-2025-42899: CWE-862: Missing Authorization in SAP_SE SAP S4CORE (Manage Journal Entries)
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.