Vulnérabilité dans org.thymeleaf:thymeleaf (CVE-2026-41901)
Résumé
Vulnérabilité dans org.thymeleaf:thymeleaf (CVE-2026-41901). L'exploitation peut entraîner la prise de contrôle totale du système. Atténuation : mise à jour vers 3.1.5.RELEASE ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Impact
A security bypass vulnerability exists in the expression execution mechanisms of Thymeleaf up to and including 3.1.4.RELEASE. Although the library provides mechanisms to avoid the execution of potentially dangerous expressions in some specific sandboxed (restricted) contexts, it fails to properly neutralize specific constructs that allow this kind of expressions to be executed. If an application developer passes to the template engine unsanitized variables that contain such expressions, and these values are used in sandboxed contexts inside the templates, these expressions can be executed achieving Server-Side Template Injection (SSTI).
Patches
This has been fixed in Thymeleaf 3.1.5.RELEASE. All users are advised to upgrade immediately.
Workarounds
No workaround is available beyond ensuring applications do not pass unvalidated/unsanitized data directly to the template engine. Upgrading to 3.1.5.RELEASE is strongly recommended in any case.
Source: NIST National Vulnerability Database NVD GitHub Advisory
Résumé généré automatiquement
Assemblé par SecPulse à partir des données sources (CVSS, CWE, versions affectées) à l'aide de modèles, sans IA. Vérifiez la description d'origine et les références ci-dessous.
Une vulnérabilité référencée CVE-2026-41901 a été découverte dans org.thymeleaf:thymeleaf.
L'exploitation peut entraîner la prise de contrôle totale du système. Score CVSS : 9.0/10.
Action : mettez à jour org.thymeleaf:thymeleaf vers 3.1.5.RELEASE ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « org.thymeleaf:thymeleaf CVE-2026-41901 » sur le site de l'éditeur.
CVE-2026-41901 (org.thymeleaf:thymeleaf) — CWE-1336 / CVSS v3 9.0
Vecteur d'attaque : distant (réseau) / non authentifié / sans interaction utilisateur
Correctif : 3.1.5.RELEASE — appliquer immédiatement
Contournement : No workaround is available beyond ensuring applications do not pass unvalidated/unsanitized data directly to the template engine.
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.
Une vulnérabilité (CWE-1336) affecte org.thymeleaf:thymeleaf.
Consultez l'avis de l'éditeur pour les versions affectées de org.thymeleaf:thymeleaf.
Gravité : Critique (CVSS 9.0/10). L'exploitation peut entraîner la prise de contrôle totale du système.
Mettre à jour vers 3.1.5.RELEASE.
Contournement : No workaround is available beyond ensuring applications do not pass unvalidated/unsanitized data directly to the template engine.
Recherchez dans les logs des requêtes correspondant aux IOC connus de cette CVE. Auditez les SBOM/dépendances.
Actions de réponse
Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre
-
1Identify exposure identify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで org.thymeleaf:thymeleaf を使っているサービスとバージョンを洗い出す。
-
2Apply temporary workaround mitigate
No workaround is available beyond ensuring applications do not pass unvalidated/unsanitized data directly to the template engine.パッチが適用されるまでの応急処置として、No workaround is available beyond ensuring applications do not pass unvalidated/unsanitized data directly to the template engine. を実施。回避策の副作用 (機能低下) を確認した上で。
-
3Apply patch patch
Upgrade org.thymeleaf:thymeleaf to 3.1.5.RELEASEステージング環境で 3.1.5.RELEASE に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Paquets affectés
Références
- advisory nvd.nist.gov
- package github.com
- web github.com
- web github.com