/

CVE-2026-130709

Severity:

HIGH RISK

(8.8)

Server-Side Template Injection (CWE-94) in NocoDB Webhooks

CVE-2026-130709

Deferred

Vulnerability type

Category:

Server-Side Template Injection

CWE:

CWE-94

Impact:

Remote Code Execution

Severity:

HIGH RISK

(8.8)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

NocoDB contains a server-side template injection vulnerability in Handlebars webhook helpers that can let authenticated Creator or Owner users execute JavaScript. If attacker-controlled template input is evaluated, this may allow operating-system command execution on the server.

Affected context

The issue affects NocoDB deployments before 2026.09.0 that use the vulnerable Handlebars webhook helpers. It becomes risky when a user with Creator or Owner permissions can supply input that is evaluated by those helpers.

Exploit preconditions

  • Attack surface: Handlebars helpers used to process webhook templates
  • Required access: Authenticated Creator or Owner permissions
  • Trigger point: Evaluation of attacker-controlled input by a webhook template helper
  • Why exploitation is possible: Unsafe property traversal can reach dynamic function construction and enable execution of attacker-controlled JavaScript

Why this happens

The vulnerability stems from template helpers that allow attacker-controlled property paths to traverse object properties and reach executable JavaScript functionality. This is a code injection flaw mapped to CWE-94: Improper Control of Generation of Code, because untrusted template input can influence code execution.

Potential impact

  • An attacker may execute operating-system commands in the NocoDB server context.
  • The NocoDB application and its accessible data could be compromised.
  • An attacker could use the server's permissions to access connected services or resources.

General mitigation guidance

Defensive approaches focus on preventing template input from reaching executable functionality and reducing the authority of template processing.

  • Use narrowly scoped template helpers that expose only explicitly permitted operations.
  • Treat template values and property paths as untrusted, and avoid unrestricted property traversal or dynamic code construction.
  • Apply strict validation and allowlists to values accepted for template processing.
  • Run the application with least-privilege permissions and limit access to sensitive resources.
  • Restrict which users can create or modify webhook templates.

How teams detect issues like this

  • Use static analysis to identify template helpers that traverse user-controlled properties or invoke dynamic code-construction features.
  • Review webhook template code for broad property access, unsafe helper behavior, and missing input validation.
  • Enforce policies that restrict dynamic evaluation and require security review for changes to template-processing code.
  • Monitor webhook activity and server behavior for unexpected command execution or unusual access to local and connected resources.
  • Automated code review tools may help flag risky template and code-generation patterns.

Sources

SourceLink
github.comgithub.com/nocodb/nocodb/security/advisories/GHSA-72fw-g74f-8mwr

Frequently asked

questions

The described attack requires an authenticated user with Creator or Owner permissions who can provide input processed by the vulnerable webhook helpers.

Direct server access is not indicated as a prerequisite. The relevant access is authenticated permission to supply or modify input that reaches webhook template evaluation.

Prevent untrusted template input from accessing executable functionality. Use restricted helpers, narrowly allowlisted properties, and strict validation.

Treat template content and values as untrusted, limit template authoring permissions, review helper implementations for unsafe traversal or dynamic execution, and run services with least privilege.

Find out what's already
exploitable in your codebase.