n8n before 2.39.6 and 2.40.x before 2.40.1 Session Token Leak via Dynamic Credentials
n8n versions before 2.39.6 and 2.40.0 before 2.40.1 contain a session token leakage vulnerability in the Dynamic Credentials authorize and revoke endpoints. Attackers with resolver registration capability can capture collaborators' session tokens by setting a fallback resolver to an attacker-controlled endpoint during the account connection flow, enabling unauthorized credential access.
CVE-2026-103259
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-103259
n8n
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"vendor": "n8n-io",
"product": "n8n",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "2.39.6",
"versionType": "semver"
},
{
"status": "affected",
"version": "2.40.0",
"lessThan": "2.40.1",
"versionType": "semver"
}
],
"packageURL": "pkg:npm/n8n",
"defaultStatus": "unaffected"
}
]- Related CVEs
- CVE-2026-103259
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #7699 · Revision 1
- Added to Heist Feed
- Publisher date