CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-33722

CVE-2026-33722: Authorization Bypass and Secret Extraction in n8n External Vaults

Alon Barad
Alon Barad
Software Engineer

Mar 26, 2026·5 min read·82 visits

Executive Summary (TL;DR)

Authenticated n8n users lacking necessary permissions can extract plaintext secrets from external vaults (e.g., AWS, HashiCorp) by referencing guessed secret names during credential creation. Upgrading to versions 1.123.23 or 2.6.4 mitigates this vulnerability.

An incorrect authorization vulnerability in the n8n workflow automation platform permits authenticated, low-privileged users to extract plaintext secrets from connected external vaults. By bypassing specific permission checks during credential creation, attackers can compromise sensitive infrastructure credentials.

Vulnerability Overview

The n8n workflow automation platform supports integration with external secret vaults, such as AWS Secrets Manager and HashiCorp Vault. This integration allows administrators to manage sensitive data centrally while referencing these secrets within n8n workflows and credentials. The platform implements an authorization model to restrict access to these external secrets, specifically relying on the externalSecret:list permission to govern visibility and retrieval operations.

CVE-2026-33722 represents a critical authorization bypass flaw classified under CWE-863 (Incorrect Authorization). The vulnerability exists within the application logic responsible for processing and saving new credentials. While dedicated endpoints for listing external secrets enforce the necessary permission checks, the credential creation routine fails to independently verify the user's authorization level when external secrets are referenced by name.

Consequently, an authenticated user with baseline platform access can exploit this disjointed authorization model. The vulnerability enables attackers to extract the plaintext values of stored secrets, bypassing the intended access controls entirely. This exposes the underlying infrastructure to severe lateral movement risks if administrative or operational credentials are compromised.

Root Cause Analysis

The fundamental flaw resides in the separation of secret resolution logic from the primary authorization enforcement point. When a user queries the external secrets API directly, the n8n backend correctly validates the externalSecret:list permission. If the user lacks this permission, the application rejects the request and denies access to the vault inventory.

However, the backend utilizes a shared utility function to resolve secret references when a user submits a payload to the /credentials endpoint. This resolution function processes the credential payload, identifies any external secret identifiers, and automatically fetches the corresponding plaintext values from the configured vault. The vulnerability occurs because this execution path invokes the resolution function without validating the context of the calling user.

Because the credential saving routine assumes the user is authorized to construct the credential, the backend silently completes the external secret retrieval. The resulting plaintext value is either returned in the API response or stored in a localized format accessible to the low-privileged user. This implementation creates a direct blind spot where authorization is assumed rather than explicitly verified.

Exploitation Mechanics and Attack Path

Exploitation of CVE-2026-33722 requires three preconditions: the target n8n instance must have an external vault configured, the attacker must possess a valid user account, and the attacker must know or guess the exact identifier of the target secret. Since the attacker cannot list the secrets due to the functional externalSecret:list check, the attack relies on targeted reconnaissance or dictionary-based guessing of common secret names (e.g., PROD_DB_PASSWORD, AWS_ACCESS_KEY).

The attack begins with the adversary crafting a malicious HTTP POST request directed at the /credentials endpoint. The payload is structured as a standard credential creation request but contains a specific reference mapping to the targeted external secret name.

{
  "name": "Exploit_Credential",
  "type": "aws",
  "nodesAccess": [],
  "data": {
    "accessKeyId": {
      "$ref": "=/externalSecrets/AWS_ACCESS_KEY"
    }
  }
}

Upon processing this payload, the n8n backend parses the $ref directive. The system contacts the external vault, requests the value for AWS_ACCESS_KEY, and embeds the returned plaintext into the application's response or stores it in the local database under the attacker's ownership. The attacker then reads the extracted plaintext directly from the application interface or API response, achieving total compromise of the targeted secret.

Impact Assessment

The successful exploitation of this vulnerability yields a high confidentiality impact, allowing unauthorized extraction of sensitive operational data. Because n8n is fundamentally designed to integrate disparate systems, the credentials stored within external vaults often possess broad administrative privileges over cloud environments, databases, and third-party SaaS applications.

The CVSS 4.0 vector (CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:H/SA:H) accurately reflects the severity of this flaw. The attack requires low privileges (PR:L) and network access (AV:N), with no user interaction (UI:N). The vulnerability demonstrates a high subsequent impact (SC:H, SI:H, SA:H) because the stolen credentials immediately facilitate secondary attacks against the connected infrastructure.

While the integrity and availability of the n8n application itself remain unaffected (VI:N, VA:N), the external systems managed by the exposed credentials face immediate risk of compromise. Organizations utilizing n8n for CI/CD pipelines, automated infrastructure provisioning, or database management are exposed to critical supply chain and data exfiltration risks.

Remediation and Mitigation

The vendor has addressed this vulnerability in n8n versions 1.123.23 (for the 1.x release branch) and 2.6.4 (for the 2.x release branch). The patch introduces strict context-aware permission checks within the credential resolution logic. Organizations must upgrade their n8n deployments to these secure versions immediately to eliminate the exposure.

If an immediate upgrade is structurally unfeasible, administrators must implement temporary mitigations. The primary workaround involves disabling the external secrets integration within the n8n configuration. Alternatively, administrators should review user roles and restrict platform access exclusively to highly trusted personnel, effectively removing the internal threat vector.

Security teams should proactively audit n8n application logs for indicators of compromise. Analysts must scrutinize the /credentials endpoint for high volumes of creation or modification requests originating from low-privileged accounts. Furthermore, any external secrets that are suspected to have been exposed must be rotated immediately within the origin vault to invalidate the stolen material.

Technical Appendix

CVSS Score
7.3/ 10
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:H/SA:H

Affected Systems

n8n instances with external secrets vault feature configured

Affected Versions Detail

Product
Affected Versions
Fixed Version
n8n
n8n-io
< 1.123.231.123.23
n8n
n8n-io
>= 2.0.0-rc.0, < 2.6.42.6.4
AttributeDetail
CWE IDCWE-863
Attack VectorNetwork
CVSS Score7.3
Exploit Statusnone
KEV StatusNot Listed
ImpactHigh Confidentiality

MITRE ATT&CK Mapping

T1068Exploitation for Privilege Escalation
Privilege Escalation
CWE-863
Incorrect Authorization

The software performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.

Vulnerability Timeline

Publicly disclosed via GHSA-fxcw-h3qj-8m8p and CVE-2026-33722
2026-03-25

References & Sources

  • [1]GitHub Security Advisory
  • [2]NVD Record
  • [3]CVE Record
  • [4]n8n Repository

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•6 minutes ago•CVE-2026-56677
8.6

CVE-2026-56677: Unauthenticated Server-Side Request Forgery in 9Router OIDC Test Endpoint

A high-severity security vulnerability exists in 9Router, an AI router and token saver dashboard. When dashboard authentication features are disabled or left in default configurations, the application exposes administrative testing routines directly to the public internet. Unauthenticated network adversaries can exploit the OIDC configuration validation endpoint to initiate arbitrary HTTP requests, routing unauthorized traffic to local loops, adjacent container ports, and cloud resource metadata interfaces.

Amit Schendel
Amit Schendel
0 views•5 min read
•about 1 hour ago•CVE-2026-64849
9.3

CVE-2026-64849: Server-Side Request Forgery (SSRF) in MLflow Webhooks via DNS Rebinding

CVE-2026-64849 is a critical Server-Side Request Forgery (SSRF) vulnerability affecting MLflow tracking servers prior to version 3.15.0. It allows unauthenticated remote attackers to bypass outbound request destination filters using DNS rebinding or HTTP redirects. This exposure risks compromising sensitive cloud infrastructure metadata and internal microservices.

Alon Barad
Alon Barad
2 views•5 min read
•about 2 hours ago•CVE-2026-69146
6.5

CVE-2026-69146: Missing Authorization Bypass in MLflow Basic Authentication Middleware

This technical report details a missing authorization vulnerability (CVE-2026-69146 / GHSA-3p64-6gvh-82v5) affecting the MLflow platform from version 3.13.0 to 3.15.0. When MLflow is configured with the built-in basic-auth plugin, authenticated users can bypass run-level UPDATE authorization checks, enabling unauthorized dataset and model lineage metadata injection.

Alon Barad
Alon Barad
2 views•7 min read
•about 3 hours ago•CVE-2026-69148
7.1

CVE-2026-69148: Broken Object Level Authorization (BOLA) in MLflow Model Registry

MLflow prior to version 3.15.0 fails to perform proper authorization checks when registering model versions, allowing authenticated users with access to a registered model to link and access artifacts from runs and models belonging to other users without authorization.

Amit Schendel
Amit Schendel
4 views•7 min read
•about 4 hours ago•CVE-2026-59893
7.5

CVE-2026-59893: Regular Expression Denial of Service in sqlparse Lexer

A high-severity Regular Expression Denial of Service (ReDoS) vulnerability in the sqlparse Python library prior to version 0.6.0 allows unauthenticated remote attackers to trigger CPU exhaustion and application denial of service via crafted SQL inputs containing unmatched dollar-quoted literals or unclosed multiline comments.

Alon Barad
Alon Barad
4 views•6 min read
•about 5 hours ago•GHSA-FHGH-WQ4Q-R37X
7.8

GHSA-FHGH-WQ4Q-R37X: Remote Code Execution via Sigstore Signature Verification Bypass in uniget CLI

A high-severity logic inversion flaw in the uniget CLI completely bypasses Sigstore cryptographic signature verification on metadata files by default. If an attacker can poison the package metadata cache or repository, they can execute arbitrary OS commands under the privileges of the active user.

Alon Barad
Alon Barad
5 views•5 min read