🔍 CVE-2026-44882

8.1
CVSS Score
HIGH
2026-05-28
2026-07-21 10:10
✅ 완료

🇰🇷 한글 설명

Portainer Community Edition의 Kubernetes 미들웨어에서 토큰 검증 실패 후 return 문 누락으로 인해 인증되지 않은 요청이 Kubernetes 클러스터로 전달되는 취약점입니다. 유효한 Portainer 세션이 있지만 특정 Kubernetes 엔드포인트 접근 권한이 없는 사용자가 권한 검사를 우회할 수 있습니다.

💡 쉬운 설명

Portainer의 보안 검사 로직에 버그가 있어서 일부 사용자의 접근을 막아야 하는데 실제로는 허용해줍니다. 이미 Portainer에 로그인한 사용자가 본래 접근할 수 없는 Kubernetes 서버에 접근할 수 있게 되는 문제입니다.

🇺🇸 원문 (English)

Portainer Community Edition is a lightweight service delivery platform for containerized applications that can be used to manage Docker, Swarm, Kubernetes and ACI environments. From 2.33.0 to before 2.33., Portainer proxies requests to Kubernetes clusters through a middleware layer (kubeClientMiddleware) that validates the requesting user's token before forwarding traffic to the cluster. When security.RetrieveTokenData returned an error, the middleware wrote an HTTP 403 response but was missing a return statement — execution continued into the handler with a nil tokenData value. The Kubernetes endpoints sit behind Portainer's outer AuthenticatedAccess bouncer, so an attacker requires a valid Portainer session. However, a user whose secondary token validation fails in kubeClientMiddleware — for example a user without permission to access a given Kubernetes endpoint — would have their request forwarded to the cluster anyway, bypassing the authorization check. The same defect was present in both the CE and EE codebases. This vulnerability is fixed in 2.33.8.

📍 영향받는 시스템

Portainer Community Edition 버전 2.33.0 이상 2.33.8 미만

⚔️ 공격 벡터

유효한 Portainer 계정으로 로그인 후 권한이 없는 Kubernetes 엔드포인트에 요청을 전송하여 인증 검사를 우회

🛡️ 대응 방법

Portainer를 버전 2.33.8 이상으로 즉시 업그레이드

🔧 검증 코드

출력된 버전 번호가 2.33.8 이상이면 안전하고, 2.33.0 이상 2.33.8 미만이면 즉시 패치 필요

Shell / Script
docker exec <portainer-container> cat /etc/os-release | grep -i portainer && curl -s http://localhost:9000/api/system/version | grep -oP '\"Version\":\"\K[^\"]+' || echo 'Portainer version check failed'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

💻 영향받는 소프트웨어

Docker