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

High 8.0 Published Updated

Attackers can inject arbitrary Groovy code into build files via unsanitized repository attributes, leading to remote code execution during function builds.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-52833?

CVE-2026-52833 is a high-severity code injection vulnerability in nuclio, published on 2 Sep 2026. An attacker needs administrator access to exploit it, with no action from the victim.

Official 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.

Weakness: CWE-94

Which versions are affected by CVE-2026-52833?

3 open source packages ship an affected version, including github.com/nuclio/nuclio.

PackageAffectedFixed in
github.com/nuclio/nuclio GoAll versionsNone
github.com/nuclio/nuclio GoAll versions1.16.5
github.com/nuclio/nuclio GoAll versions1.16.5

How do I fix CVE-2026-52833?

Upgrade github.com/nuclio/nuclio to 1.16.5 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-52833 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-52833 exists.

Sources

Also known as GHSA-3v79-m2cg-89ww, GO-2026-6004.

Is CVE-2026-52833 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free