# CVE-2026-103256: n8n before 2.39.6 and 2.40.x before 2.40.1 Credentials Leak via preAuthentication Hook

- Severity: High 7.1 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:L/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-10-01T10:42:00.751Z
- Modified: 2026-10-01T14:17:22.170Z
- Weaknesses: CWE-522
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

n8n versions before 2.39.6 and 2.40.0 before 2.40.1 contain a credentials leak vulnerability in the Wekan and Baserow username-and-password credentials that sends unencrypted passwords to unvalidated hosts. Attackers with credential update permissions can modify the host field to receive account passwords at arbitrary hosts, bypassing domain validation controls.

(As written by CVE List.)

## Affected

- n8n-io n8n: before 2.39.6; from 2.40.0 before 2.40.1

## Every score

- VulnCheck: CVSS:4.0 7.1 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:L/SA:N`
- VulnCheck: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N`

## References

- <https://github.com/n8n-io/n8n/security/advisories/GHSA-gx6g-2hm7-c4xf> (vendor-advisory)
- <https://www.vulncheck.com/advisories/n8n-before-2.39.6-and-2.40-x-before-2.40.1-credentials-leak-via-preauthentication-hook> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-103256](https://www.cve.org/CVERecord?id=CVE-2026-103256), CVE Terms of Use, modified 2026-10-01
- NVD: [CVE-2026-103256](https://nvd.nist.gov/vuln/detail/CVE-2026-103256), Public domain, modified 2026-10-01

---

Page: https://cve.day/CVE-2026-103256 · Whole record: https://cve.day/CVE-2026-103256.json · Rebuilt by cve.day 2026-11-25T22:59:41.814Z
