CVE-2026-52831: Nuclio: Unsanitized cron trigger event headers/body injected into CronJob shell command leads to persistent RCE
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.headerskeys — interpolated verbatim inside double-quoted--headerarguments (lazy.go:2150); any key containing"breaks the quoting context.event.body— processed withstrconv.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
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 →