🔍 CVE-2026-75926

8.6
CVSS Score
HIGH
2026-08-18
2026-10-22 22:10
✅ 완료

🇰🇷 한글 설명

Hugo 0.162.0 버전에서 TailwindCSS가 Node.js 권한 모델의 허용 목록에 포함됨에 따라 보안 취약점이 발생합니다. 공격자가 조작된 tailwind.config.js 파일을 통해 Node.js 프로세스 내에서 쉘을 실행할 수 있으며, 이로 인해 빌드 수행 계정의 권한으로 임의 명령이 실행될 수 있습니다.

💡 쉬운 설명

신뢰할 수 없는 테마나 템플릿을 사용하여 웹사이트를 만들 때, 숨겨진 악성 코드가 포함된 설정 파일이 실행되어 컴퓨터를 해킹할 수 있는 문제입니다. 빌드 과정에서 공격자가 사용자의 컴퓨터에 명령을 내릴 수 있게 됩니다.

🇺🇸 원문 (English)

Hugo 0.161.0 placed the Node asset pipelines behind the Node.js permission model so that code running through PostCSS, Babel, or TailwindCSS could not reach the file system outside the project directory. Hugo 0.162.0 added tailwindcss to the AllowChildProcess default in config/security/securityConfig.go, which makes nodePermissionArgs in common/hexec/exec.go append --allow-child-process whenever the tool being launched is named tailwindcss. TailwindCSS loads the site's tailwind.config.js through require at startup, so top-level code in that file executes inside the permitted Node process and can call child_process to spawn a shell. The spawned process is not a Node process and inherits none of the permission flags, so it runs with the full privileges of the account performing the build. Building a site whose theme, module, or starter template supplies the Tailwind configuration therefore yields arbitrary command execution rather than the confined file access the permission model was introduced to enforce. Hugo 0.165.0 removes tailwindcss from the default security.exec.allow list, so the tool is no longer launched under the default configuration.

📍 영향받는 시스템

Hugo 0.162.0 버전 (0.165.0 미만)

⚔️ 공격 벡터

악성 tailwind.config.js 파일이 포함된 테마나 모듈을 사용하여 사이트를 빌드할 때 발생

🛡️ 대응 방법

Hugo를 0.165.0 이상의 최신 버전으로 업데이트하십시오.

🔧 검증 코드

명령어 결과에 0.162.x, 0.163.x, 0.164.x 버전이 나타나면 취약한 버전이 설치된 것입니다.

Shell / Script
hugo version | grep -E 'hugo\s+0\.(162|163|164)\.'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Node.js