GPU VulnDB

Database/AI/ML frameworks & serving

n8n OpenAI Chat Model node: model-search path ignores credential domain limits and leaks the API key

CVSS 7.1CVE-2026-86082AI/ML frameworks & servingcurated

Impact

n8n lets an administrator restrict which hosts a credential may be sent to, and the OpenAI Chat Model node enforced that on normal calls but not on the model-search dropdown: loadModels.ts omitted the assertOpenAiCredentialAllowsUrl check. A workflow editor can point options.baseURL at a host they control and have n8n send the stored openAiApi credential there. On a self-hosted n8n that fronts internal inference endpoints, this both exfiltrates the API key and turns the n8n instance into a request source aimed at an arbitrary host, which is why the vector carries a low scope-changed confidentiality bit. The practical damage is a leaked LLM credential, and where that credential is shared across a tenant's inference budget, unbudgeted spend and access to prompt traffic. Fixed in 1.123.76, 2.37.7 and 2.38.2.

Who can reach it

An authenticated n8n user with workflow editing rights on an instance that holds an openAiApi credential. No admin role and no network position are needed; the request originates from the n8n server itself, so it also reaches hosts that only n8n can talk to.

What to do

Upgrade n8n to 1.123.76, 2.37.7 or 2.38.2 depending on your branch and restart the n8n service or roll its deployment; no node or fleet work is involved. Because the flaw discloses a credential rather than corrupting state, rotate every openAiApi key held by an affected instance and review outbound request logs for unexpected baseURL hosts before assuming nothing was taken.

References

Related entries

All AI/ML frameworks & serving entries

This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.