🔍 CVE-2026-40477

9.0
CVSS Score
CRITICAL
2026-04-17
2026-08-04 13:18
✅ 완료

🇰🇷 한글 설명

Thymeleaf 3.1.3.RELEASE 및 이전 버전의 표현식 실행 메커니즘에서 보안 우회 취약점이 발견되었습니다. 공격자가 검증되지 않은 사용자 입력을 템플릿 엔진에 직접 전달할 경우, 라이브러리의 보호 기능을 우회하여 서버 측 템플릿 주입(SSTI)을 수행할 수 있습니다.

💡 쉬운 설명

웹사이트의 화면을 만드는 도구인 Thymeleaf에서 보안 구멍이 발견되었습니다. 해커가 이 구멍을 이용해 서버에 몰래 명령을 내려 시스템을 장악할 수 있습니다.

🇺🇸 원문 (English)

Thymeleaf is a server-side Java template engine for web and standalone environments. Versions 3.1.3.RELEASE and prior contain a security bypass vulnerability in the expression execution mechanisms. Although the library provides mechanisms to prevent expression injection, it fails to properly restrict the scope of accessible objects, allowing specific potentially sensitive objects to be reached from within a template. If an application developer passes unvalidated user input directly to the template engine, an unauthenticated remote attacker can bypass the library's protections to achieve Server-Side Template Injection (SSTI). This issue has ben fixed in version 3.1.4.RELEASE.

📍 영향받는 시스템

Thymeleaf 3.1.3.RELEASE 및 그 이전 버전

⚔️ 공격 벡터

검증되지 않은 사용자 입력값을 템플릿 엔진에 직접 전달하여 SSTI 공격 수행

🛡️ 대응 방법

Thymeleaf 버전을 3.1.4.RELEASE 이상으로 업데이트

🔧 검증 코드

출력된 결과에서 thymeleaf의 버전이 3.1.4.RELEASE 미만인지 확인

Shell / Script
mvn dependency:list | grep 'thymeleaf-spring6' || mvn dependency:list | grep 'thymeleaf'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

IBM WebSphere Application Server