CVE-2026-40346: NocoBase has SSRF in Workflow HTTP Request and Custom Request Plugins

Published Apr 15, 2026
·
Updated

Summary

NocoBase's workflow HTTP request plugin and custom request action plugin make server-side HTTP requests to user-provided URLs without any SSRF protection. An authenticated user can access internal network services, cloud metadata endpoints, and localhost.

Vulnerable Code

1. Workflow HTTP Request Plugin

packages/plugins/@nocobase/plugin-workflow-request/src/server/RequestInstruction.ts lines 117-128: typescript return axios.request({ url: trim(url), // User-controlled, no validation method, headers, params, timeout, ...(method.toLowerCase() !== 'get' && data != null ? { data: transformer ? await transformer(data) : data } : {}), });

The url at line 98 comes directly from user workflow configuration with only whitespace trimming.

2. Custom Request Action Plugin

packages/plugins/@nocobase/plugin-action-custom-request/src/server/actions/send.ts lines 172-198: typescript const axiosRequestConfig = { baseURL: ctx.origin, ...options, url: getParsedValue(url, variables), // User-controlled via template headers: { ... }, params: getParsedValue(arrayToObject(params), variables), data: getParsedValue(toJSON(data), variables), }; const res = await axios(axiosRequestConfig); // No IP validation

Missing Protections

- No request-filtering-agent or SSRF library (confirmed via grep across entire codebase) - No private IP range filtering - No cloud metadata endpoint blocking - No URL scheme validation - No DNS rebinding protection

Attack Scenario

1. Authenticated user creates a workflow with HTTP Request node 2. Sets URL to http://169.254.169.254/latest/meta-data/iam/security-credentials/ 3. Triggers the workflow 4. Server fetches AWS metadata and returns IAM credentials in workflow execution logs

Alternatively via Custom Request action: 1. Create custom request with URL http://127.0.0.1:5432 or http://10.0.0.1:8080/admin 2. Execute the action 3. Server makes request to internal service

Impact

- Cloud metadata theft: AWS/GCP/Azure credentials via metadata endpoints - Internal network access: Scan and interact with services on private IP ranges - Database access: Connect to localhost databases (PostgreSQL, Redis, etc.) - Authentication required: Yes (authenticated user), but any workspace member can create workflows

Other sources

NocoBase is an AI-powered no-code/low-code platform for building business applications and enterprise solutions. Prior to version 2.0.37, NocoBase's workflow HTTP request plugin and custom request action plugin make server-side HTTP requests to user-provided URLs without any SSRF protection. An authenticated user can access internal network services, cloud metadata endpoints, and localhost. Version 2.0.37 contains a patch.

MITRE

Affected Software

2 affected componentsFixes available
npm/@nocobase/plugin-workflow-request<2.0.37
2.0.37
NocoBase NocoBase<2.0.37

Event History

Apr 15, 2026
Advisory Published
via GitHub·07:43 PM
Data Sourced
via GitHub·07:43 PM
DescriptionWeaknessAffected Software
Apr 17, 2026
CVE Published
via MITRE·11:54 PM
Data Sourced
via MITRE·11:54 PM
DescriptionWeakness
Apr 18, 2026
Data Sourced
via NVD·12:16 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-40346?

CVE-2026-40346 has a high severity rating due to the potential for Server-Side Request Forgery (SSRF) that can expose internal network services.

2

How do I fix CVE-2026-40346?

To fix CVE-2026-40346, update the @nocobase/plugin-workflow-request package to version 2.0.37 or later.

3

Who is affected by CVE-2026-40346?

CVE-2026-40346 affects authenticated users of NocoBase's workflow HTTP request plugin and custom request action plugin.

4

What type of attack can be executed through CVE-2026-40346?

CVE-2026-40346 can be exploited to execute SSRF attacks, allowing unauthorized access to internal services and cloud metadata.

5

What are the potential risks of CVE-2026-40346?

The risks of CVE-2026-40346 include unauthorized data exposure and potential compromise of sensitive internal services.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203