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, specifically affecting versions prior to 6.0.6 and between 6.1.0 and 6.19.0. The flaw stems from improper privilege management (CWE-269) related to 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, an attacker can exploit this vulnerability to escalate privileges to root on the host system. The attack vector involves creating a custom storage volume with the required property, which depends on kernel and filesystem support, and then writing a setuid binary inside the container. This binary can be executed on the host as an unprivileged user, resulting in root privilege escalation. The vulnerability is particularly relevant in setups using 'incus-user' with the less privileged 'incus' group to provide isolated container access to unprivileged users. The vulnerability does not require authentication or user interaction, making it easier to exploit in affected environments. Although no known exploits have been reported in the wild, the CVSS 8.6 score reflects the high impact on confidentiality, integrity, and availability. A patch is expected in versions 6.0.6 and 6.19.0, but until then, manual restrictions on permissions related to custom storage volumes can mitigate risk. This vulnerability highlights the risks of privilege escalation in containerized environments when storage volume properties are improperly managed.
Potential Impact
For European organizations, this vulnerability poses a significant risk of host-level compromise in environments using Incus for container or VM management, especially in multi-tenant or shared user scenarios. Successful exploitation allows attackers to gain root privileges on the host from an unprivileged container user, potentially leading to full system compromise, data breaches, lateral movement, and disruption of critical services. Organizations relying on Incus for isolated container environments may find their security boundaries breached, undermining trust in container isolation. The impact is heightened in sectors with strict data protection regulations such as finance, healthcare, and government, where unauthorized root access can lead to severe compliance violations and reputational damage. Additionally, the ease of exploitation without authentication or user interaction increases the urgency for mitigation. The vulnerability could also facilitate deployment of persistent malware or ransomware at the host level, amplifying operational risks. Given the widespread adoption of container technologies in European IT infrastructures, the threat could affect cloud providers, hosting services, and enterprises using Incus-based container management.
Mitigation Recommendations
European organizations should immediately inventory their Incus deployments to identify affected versions prior to 6.0.6 and between 6.1.0 and 6.19.0. Until patches are released, administrators should manually restrict permissions on custom storage volumes, particularly those with the 'security.shifted' property, to prevent unprivileged users from creating or modifying these volumes. This may include tightening filesystem ACLs, disabling or limiting the use of the 'security.shifted' property where possible, and restricting access to the 'incus-user' and 'incus' groups. Monitoring and alerting on creation of setuid binaries within containers and unusual container storage volume configurations can help detect exploitation attempts. Organizations should also consider isolating container workloads to minimize unprivileged host access and review kernel and filesystem configurations to limit support for the vulnerable storage volume features. Once patches for versions 6.0.6 and 6.19.0 are available, prompt deployment is critical. Additionally, implementing host-based intrusion detection and regular auditing of container and storage volume permissions will strengthen defenses against exploitation.
Affected Countries
Germany, France, United Kingdom, Netherlands, Sweden, Finland, Belgium, Italy
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, specifically affecting versions prior to 6.0.6 and between 6.1.0 and 6.19.0. The flaw stems from improper privilege management (CWE-269) related to 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, an attacker can exploit this vulnerability to escalate privileges to root on the host system. The attack vector involves creating a custom storage volume with the required property, which depends on kernel and filesystem support, and then writing a setuid binary inside the container. This binary can be executed on the host as an unprivileged user, resulting in root privilege escalation. The vulnerability is particularly relevant in setups using 'incus-user' with the less privileged 'incus' group to provide isolated container access to unprivileged users. The vulnerability does not require authentication or user interaction, making it easier to exploit in affected environments. Although no known exploits have been reported in the wild, the CVSS 8.6 score reflects the high impact on confidentiality, integrity, and availability. A patch is expected in versions 6.0.6 and 6.19.0, but until then, manual restrictions on permissions related to custom storage volumes can mitigate risk. This vulnerability highlights the risks of privilege escalation in containerized environments when storage volume properties are improperly managed.
Potential Impact
For European organizations, this vulnerability poses a significant risk of host-level compromise in environments using Incus for container or VM management, especially in multi-tenant or shared user scenarios. Successful exploitation allows attackers to gain root privileges on the host from an unprivileged container user, potentially leading to full system compromise, data breaches, lateral movement, and disruption of critical services. Organizations relying on Incus for isolated container environments may find their security boundaries breached, undermining trust in container isolation. The impact is heightened in sectors with strict data protection regulations such as finance, healthcare, and government, where unauthorized root access can lead to severe compliance violations and reputational damage. Additionally, the ease of exploitation without authentication or user interaction increases the urgency for mitigation. The vulnerability could also facilitate deployment of persistent malware or ransomware at the host level, amplifying operational risks. Given the widespread adoption of container technologies in European IT infrastructures, the threat could affect cloud providers, hosting services, and enterprises using Incus-based container management.
Mitigation Recommendations
European organizations should immediately inventory their Incus deployments to identify affected versions prior to 6.0.6 and between 6.1.0 and 6.19.0. Until patches are released, administrators should manually restrict permissions on custom storage volumes, particularly those with the 'security.shifted' property, to prevent unprivileged users from creating or modifying these volumes. This may include tightening filesystem ACLs, disabling or limiting the use of the 'security.shifted' property where possible, and restricting access to the 'incus-user' and 'incus' groups. Monitoring and alerting on creation of setuid binaries within containers and unusual container storage volume configurations can help detect exploitation attempts. Organizations should also consider isolating container workloads to minimize unprivileged host access and review kernel and filesystem configurations to limit support for the vulnerable storage volume features. Once patches for versions 6.0.6 and 6.19.0 are available, prompt deployment is critical. Additionally, implementing host-based intrusion detection and regular auditing of container and storage volume permissions will strengthen defenses against exploitation.
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/17/2025, 11:06:39 PM
Last updated: 12/26/2025, 7:51:00 AM
Views: 82
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
CVE-2025-59888: CWE-428 Unquoted Search Path or Element in Eaton UPS Companion software
MediumCVE-2025-59887: CWE-427 Uncontrolled Search Path Element in Eaton Eaton UPS Companion Software
HighCVE-2025-67450: CWE-427 Uncontrolled Search Path Element in Eaton UPS Companion software
HighCVE-2025-62578: CWE-319 Cleartext Transmission of Sensitive Information in Delta Electronics DVP-12SE
HighCVE-2025-8075: CWE-20 Improper Input Validation in Hanwha Vision Co., Ltd. QNV-C8012
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.