Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/nuclio/nuclio
  4. ›
  5. CVE-2026-52832

CVE-2026-52832: Nuclio: Unauthenticated path traversal in spec.handler allows arbitrary file write in Dashboard container

July 16, 2026

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 Restricted Directory)
  • Affected versions: Nuclio <= 1.15.27 (latest at time of research, dynamically verified)

References

  • github.com/advisories/GHSA-wpcj-rmv4-86qg
  • github.com/nuclio/nuclio/commit/2a55d3a8bd4d49226cb4742020303f5bf2a0931d
  • github.com/nuclio/nuclio/pull/4143
  • github.com/nuclio/nuclio/releases/tag/1.16.5
  • github.com/nuclio/nuclio/security/advisories/GHSA-wpcj-rmv4-86qg
  • nvd.nist.gov/vuln/detail/CVE-2026-52832

Code Behaviors & Features

Detect and mitigate CVE-2026-52832 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.16.5

Fixed versions

  • 1.16.5

Solution

Upgrade to version 1.16.5 or above.

Impact 4.9 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

go/github.com/nuclio/nuclio/CVE-2026-52832.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 15 Aug 2026 00:24:21 +0000.