GHSA-wvcr-jpx6-3fjh: 
Python Análise e mitigação de vulnerabilidades

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).

Origem: NVD

Relacionado Python Vulnerabilidades:

CVE ID

Gravidade

Pontuação

Tecnologias

Nome do componente

Exploit CISA KEV

Tem correção

Data de publicação

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

Avaliação Gratuita de Vulnerabilidades

Avalie a sua postura de segurança na nuvem

Avalie suas práticas de segurança em nuvem em 9 domínios de segurança para avaliar seu nível de risco e identificar lacunas em suas defesas.

Avaliação de solicitação

Recursos adicionais da Wiz

Marque uma demonstração personalizada

Pronto para ver a Wiz em ação?

"A melhor experiência do usuário que eu já vi, fornece visibilidade total para cargas de trabalho na nuvem."
David EstlickCISO
"A Wiz fornece um único painel de vidro para ver o que está acontecendo em nossos ambientes de nuvem."
Adam FletcherDiretor de Segurança
"Sabemos que se a Wiz identifica algo como crítico, na verdade é."
Greg PoniatowskiChefe de Gerenciamento de Ameaças e Vulnerabilidades