Skip to main content

CVE-2026-115378: Improper Link Resolution Before File Access ('Link Following') in lxc incus

0
Medium
VulnerabilityCVE-2026-115378cvecve-2026-115378
Published: 10/22/2026 (10/22/2026, 19:13:47 UTC)
Source: CVE Database V5
Vendor/Project: lxc
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
Passive
Vuln. Confidentiality
None
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
High
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N

Affected software

lxc

incus

Affected versions
>=0 <6.0.7>=6.1.0 <7.0.2>=7.1.0 <7.5.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/22/2026, 20:31:36 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 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 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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses