CVE-2026-115378: Improper Link Resolution Before File Access ('Link Following') in lxc incus
Description
CVE-2026-115378 is an arbitrary file write vulnerability in the incus component of lxc. It affects versions before 6.0.7, versions from 6.1.0 up to but not including 7.0.2, and versions from 7.1.0 up to but not including 7.5.0. The flaw occurs in the sftpRecursivePullFile function, where a malicious incus-agent with root privileges inside a virtual machine can exploit improper link resolution to escape the intended directory and write files on the host system, including sensitive files like /etc/shadow. The vulnerability has a CVSS 4.0 score of 6.9, indicating medium severity. No known exploits in the wild or vendor patch links are provided in the data.
CVSS v4.0
Score 6.9medium
Affected software
lxc
incus
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability CVE-2026-115378 in lxc's incus component involves improper link resolution before file access in the sftpRecursivePullFile function. This allows a malicious incus-agent running with root privileges inside a virtual machine to escape the target directory during recursive file pulls (incus file pull -r). By returning duplicate entries first as symbolic links and then as files or directories, the attacker can write arbitrary files on the host system, such as /etc/shadow, potentially compromising host security. The affected versions are all incus versions prior to 6.0.7, versions from 6.1.0 up to but excluding 7.0.2, and versions from 7.1.0 up to but excluding 7.5.0. The CVSS 4.0 vector indicates network attack vector, low attack complexity, partial attack traceability, and high impact on integrity and system availability.
Potential Impact
An attacker with root privileges inside a virtual machine can exploit this vulnerability to write arbitrary files on the host system by escaping the intended directory during file pull operations. This can lead to overwriting critical host files such as /etc/shadow, potentially allowing privilege escalation or host compromise. The impact affects host integrity and availability but does not affect confidentiality according to the CVSS vector.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official patch or fix links are provided in the available data. Until a fix is confirmed, restrict root access within virtual machines and avoid using incus file pull operations with untrusted agents. Monitor vendor communications for updates on patches or official mitigations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-10-22T11:24:28.627Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6ada64a24d27ba8daa755e75
Added to database: 10/22/2026, 19:31:46 UTC
Last enriched: 10/22/2026, 20:31:36 UTC
Last updated: 10/22/2026, 20:31:36 UTC
Views: 3
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.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.