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

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

July 8, 2026

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)

References

  • github.com/advisories/GHSA-v5px-423j-pf7p
  • github.com/nuclio/nuclio/commit/3356b86a8bfab3f960aa420310ebff765df9dede
  • github.com/nuclio/nuclio/releases/tag/1.16.4
  • github.com/nuclio/nuclio/security/advisories/GHSA-v5px-423j-pf7p
  • nvd.nist.gov/vuln/detail/CVE-2026-52831

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.0.0-20260601075854-3356b86a8bfa

Fixed versions

  • 0.0.0-20260601075854-3356b86a8bfa

Solution

Upgrade to version 0.0.0-20260601075854-3356b86a8bfa or above.

Impact 10 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 10 Nov 2026 00:16:54 +0000.