Skip to content

← Public intelligence

Go package

github.com/nuclio/nuclio

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

5 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Medium, CVSS 4.9GoPublished

    Nuclio: Unauthenticated path traversal in spec.handler allows arbitrary file write in Dashboard container

    CVE-2026-52832 · GHSA-wpcj-rmv4-86qg

    Affected
    • Go github.com/nuclio/nuclio < 1.16.5
    Fixed in
    1.16.5· Vendor fix available
    Issue
    Nuclio Dashboard exposes POST /api/functions without authentication by default (NOP auth mode). The spec.handler field (e.g., mymodule:myfunction) is parsed by functionconfig.ParseHandler() which splits on : only — no path validation is applied to the module portion. During function build, writeFunctionSourceCodeToTempFile() passes the module name directly to path.Join(tempDir, moduleFileName). Go's path.Join internally calls path.Clean, which resolves ../ sequences and allows the resolved path to escape tempDir. The function then calls os.WriteFile at the attacker-controlled path with attacker-controlled content (base64-decoded spec.build.functionSourceCode). The write executes in the Dashboard container process running as uid=0 (root), allowing writes to any filesystem location the process can access: /tmp, /etc, /usr/local/bin, /etc/cron.d, and more. - CVSS 3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N — 7.5 (High) - CWE: CWE-22 (Improper Limitation of a Pathname to a…

    Recommended action: Upgrade to 1.16.5 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. High, CVSS 8.0GoPublished

    Nuclio: Unsanitized runtimeAttributes.repositories injected into Groovy build.gradle leads to build-time RCE

    CVE-2026-52833 · GHSA-3v79-m2cg-89ww

    Affected
    • Go github.com/nuclio/nuclio < 1.16.5
    Fixed in
    1.16.5· Vendor fix available
    Issue
    Nuclio's Java runtime generates a build.gradle file during function builds using Go's text/template package. The template renders runtimeAttributes.repositories[] values with the {{ . }} action, which performs no escaping. An attacker can embed a closing brace (}) to break out of the repositories {} block and append arbitrary Groovy statements that execute unconditionally during the Gradle configuration phase. The Dashboard API runs with NOP authentication by default, so no credentials are required. The build container runs as root. The injected command output confirmed by dynamic testing: - CWE: CWE-94 (Improper Control of Generation of Code / Code Injection) - Affected versions: Nuclio <= 1.15.27 (latest as of 2026-05-17, dynamically verified) --- Details Root Cause pkg/processor/build/runtime/java/runtime.go — function createGradleBuildScript() Step 1. User input flows from the API into the template data map without validation types.go:50-64 — newBuildAttributes() decodes…

    Recommended action: Upgrade to 1.16.5 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  3. Critical, CVSS 10.0GoPublished

    Nuclio: Unsanitized cron trigger event headers/body injected into CronJob shell command leads to persistent RCE

    CVE-2026-52831 · GHSA-v5px-423j-pf7p

    Affected
    • Go github.com/nuclio/nuclio < 0.0.0-20260601075854-3356b86a8bfa
    Fixed in
    0.0.0-20260601075854-3356b86a8bfa· Vendor fix available
    Issue
    Nuclio controller builds a curl invocation string for each cron trigger and stores it as the args of a Kubernetes CronJob container (/bin/sh, -c, <command). Two fields in the trigger specification flow into this string without adequate sanitization: - event.headers keys — interpolated verbatim inside double-quoted --header arguments (lazy.go:2150); any key containing " breaks the quoting context. - event.body — processed with strconv.Quote, which escapes " and \ but not $(), allowing command substitution (lazy.go:2188). Both paths were dynamically verified on Nuclio 1.15.27 (latest as of 2026-05-17). - CVSS 3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H — 9.9 (Critical) - CWE: CWE-78 (Improper Neutralization of Special Elements used in an OS Command) - Affected versions: Nuclio <= 1.15.27 (latest, dynamically verified) --- Details Root Cause When a NuclioFunction with a cron trigger is reconciled by the controller, it calls generateCronTriggerCronJobSpec in…

    Recommended action: Upgrade to 0.0.0-20260601075854-3356b86a8bfa (pre-release) or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  4. High, CVSS 8.3GoPublished

    Nuclio: Missing authorization on project write paths allows any authenticated user to modify or delete any project

    CVE-2026-45730 · GHSA-m8xg-8xg9-mxhm

    Affected
    • Go github.com/nuclio/nuclio < 0.0.0-20260513101907-1915cd26d514
    Fixed in
    0.0.0-20260513101907-1915cd26d514· Vendor fix available
    Issue
    This vulnerability exists in Nuclio Dashboard's project management API, allowing any authenticated user (without membership in the target project) to bypass OPA authorization checks on write paths (PUT /api/projects/{id}, DELETE /api/projects) and modify or delete any project along with all its associated resources (functions, API gateways, etc.). CWE classification: CWE-862 (Missing Authorization). --- Summary Nuclio Dashboard correctly enforces OPA-based authorization on the project read path (GET /api/projects), populating MemberIds in PermissionOptions so OPA can filter results by user membership. However, the write paths (PUT /api/projects/{id} and DELETE /api/projects) construct PermissionOptions without setting MemberIds. The platform-layer FilterProjectsByPermissions function (pkg/platform/abstract/platform.go:652) short-circuits when MemberIds is empty, bypassing OPA entirely. Any authenticated user who knows a project name can modify or delete that project, triggering…

    Recommended action: Upgrade to 0.0.0-20260513101907-1915cd26d514 (pre-release) or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  5. High, CVSS 8.9GoPublished

    Nuclio Shell Runtime Command Injection Leading to Privilege Escalation

    CVE-2026-29042 · GHSA-95fj-3w7g-4r27

    Affected
    • Go github.com/nuclio/nuclio <= 1.15.9
    Fixed in
    1.15.20· Vendor fix available
    Issue
    This vulnerability exists in Nuclio's Shell Runtime component, allowing attackers with function invocation permissions to inject malicious commands via HTTP request headers, execute arbitrary code with root privileges in function containers, steal ServiceAccount Tokens with cluster-admin level permissions, and ultimately achieve complete control over the entire Kubernetes cluster. Recommended CWE classification: CWE-78 (OS Command Injection). Nuclio Shell Runtime processes the X-Nuclio-Arguments HTTP header without validation or escaping, directly concatenating user input into shell commands executed via sh -c. This allows arbitrary command injection, enabling attackers to read sensitive files (including ServiceAccount tokens) and access the Kubernetes API with cluster-level privileges. Details Vulnerability Description The Nuclio Shell Runtime component contains a critical command injection vulnerability in how it processes user-supplied arguments. When a function is invoked…

    Recommended action: Upgrade to 1.15.20 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →