Description
Nuclio is a "Serverless" framework for Real-Time Events and Data Processing. Prior to version 1.16.5, 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. This issue has been patched in version 1.16.5.
Published: 2026-09-02
Score: 8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Nuclio’s Java runtime uses Go’s text/template to render a build.gradle file when a function is built. The template inserts the runtimeAttributes.repositories[] values using a {{ . }} action that performs no escaping. An attacker can include a closing brace to break out of the repositories block and inject arbitrary Groovy statements. These statements are executed unconditionally during the Gradle configuration phase, allowing remote code execution. The weakness is a classic unescaped template injection (CWE‑94).

Affected Systems

All Nuclio deployments running a version older than 1.16.5 are affected, as the vulnerable template logic is present only in those releases.

Risk and Exploitability

The CVSS v3.1 score of 8 (High) indicates a serious flaw. EPSS data is not available, and the vulnerability is not listed in the CISA KEV catalog. Attackers likely target the build process during function deployment by supplying malicious runtimeAttributes.repositories values. Successful exploitation grants code execution with the privileges of the build server, potentially compromising the entire Nuclio environment.

Generated by OpenCVE AI on September 3, 2026 at 10:05 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Nuclio to version 1.16.5 or later, where the template rendering bug is fixed.
  • If an upgrade cannot be performed immediately, restrict runtimeAttributes.repositories to a whitelist of trusted repositories or remove user‑supplied values before they are stored in the function definition, effectively preventing injection.
  • Re‑build all existing functions after the upgrade or restriction to confirm that no arbitrary Groovy code is executed during Gradle configuration.

Generated by OpenCVE AI on September 3, 2026 at 10:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-3v79-m2cg-89ww Nuclio: Unsanitized runtimeAttributes.repositories injected into Groovy build.gradle leads to build-time RCE
History

Thu, 03 Sep 2026 10:30:00 +0000

Type Values Removed Values Added
First Time appeared Nuclio
Nuclio nuclio
Vendors & Products Nuclio
Nuclio nuclio

Wed, 02 Sep 2026 16:45:00 +0000

Type Values Removed Values Added
Description Nuclio is a "Serverless" framework for Real-Time Events and Data Processing. Prior to version 1.16.5, 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. This issue has been patched in version 1.16.5.
Title Nuclio: Unsanitized runtimeAttributes.repositories injected into Groovy build.gradle leads to build-time RCE
Weaknesses CWE-94
References
Metrics cvssV3_1

{'score': 8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-02T18:05:44.067Z

Reserved: 2026-06-08T18:11:06.662Z

Link: CVE-2026-52833

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-02T17:17:45.630

Modified: 2026-09-02T19:17:21.110

Link: CVE-2026-52833

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-03T10:15:05Z

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')