GHSA-wvcr-jpx6-3fjh: 
Python Analyse et atténuation de la vulnérabilité

Summary

ReportRenderer._render_narrative_template (src/mulder/report/renderer.py:1017) compiles the model-authored case narrative with Jinja2's SandboxedEnvironment.from_string and renders it with the full report context. The sandbox blocks attribute escapes, but it does not bound CPU or memory: nested range() loops, ** and string * are all evaluated. Narrative text steered by hostile evidence (prompt injection) can therefore wedge or crash report generation. Reached through submit_narrative (server/tools/findings.py:574), the finalize_report fallback (findings.py:745) and mulder report.

PoC

Tested against main @ 5ebc9ab. Have the REPORT agent call submit_narrative with:

{% for a in range(100000) %}{% for b in range(100000) %}{{ 'x' * 10**7 }}{% endfor %}{% endfor %}

then run finalize_report or mulder report. template.render spins for hours or raises MemoryError, which the except clause does not catch. The markdown fallback re-renders the same narrative.

Impact

  • Report generation and the synchronous MCP tool thread stall or crash.
  • The investigation cannot be finalised until someone edits the stored narrative in the database by hand.
  • The template can also pull any report-context value (audit_log_path, findings, audit entries, source windows) into the rendered report.

Fix

The narrative was templated only so it could cite authoritative counts (the placeholders listed in orchestrator/prompts/report.md). The fix branch on the temporary private fork stops evaluating the narrative as a template:

  • {{name}} is replaced with an integer context value, and {{name | length}} with a collection's length.
  • Anything else is left as written. Every documented placeholder keeps working. The full test suite passes (1758 passed, 16 skipped).

Source: NVD

Connexe Python Vulnérabilités :

CVE ID

Gravité

Partition

Technologies

Nom du composant

Exploit CISA KEV

A corrigé

Date de publication

GHSA-78cg-ph9m-rjjxMEDIUM6.2
  • Python logoPython
  • gunicorn_h1c
NonOuiNov 07, 2026
GHSA-jg6c-wvfg-fx69LOW2.1
  • Python logoPython
  • openapi-python-client
NonOuiNov 07, 2026
GHSA-ppv2-x5g2-5q78LOWN/A
  • Python logoPython
  • mulder-dfir
NonNonNov 07, 2026
GHSA-g7jf-m9pq-rhmxMEDIUMN/A
  • Python logoPython
  • mulder-dfir
NonNonNov 07, 2026
GHSA-wvcr-jpx6-3fjhMEDIUMN/A
  • Python logoPython
  • mulder-dfir
NonNonNov 07, 2026

Évaluation gratuite des vulnérabilités

Évaluez votre posture de sécurité cloud

Évaluez vos pratiques de sécurité cloud dans 9 domaines de sécurité afin d’évaluer votre niveau de risque et d’identifier les lacunes dans vos défenses.

Évaluation de la demande

Ressources Wiz supplémentaires

Obtenez une démo personnalisée

Prêt(e) à voir Wiz en action ?

"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
David EstlickRSSI
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
Adam FletcherChef du service de sécurité
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."
Greg PoniatowskiResponsable de la gestion des menaces et des vulnérabilités