Intel

AIKIDO-2025-10766

@auth/core is vulnerable to Improper Input Validation

GHSA-5jpx-9hw9-2fx4Published Nov 4, 2025
November 4, 2025

57

CVE Score

Medium

Improper Input Validation

Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to improper email address parsing in the email sign-in flow. Due to a flaw in Nodemailer’s address parser (fixed in Nodemailer v7.0.7), a crafted input such as "e@attacker.com"@victim.com is misinterpreted, causing authentication emails to be sent to e@attacker.com (attacker-controlled) instead of the intended recipient <e@attacker.com>@victim.com. This issue allows an attacker to intercept login or verification links, leading to potential account takeover or unauthorized access.

How do I fix this?

Upgrade the @auth/core library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Package

Versions

0.0.1 - 0.41.0

Fixed in 0.41.1

Background info

@auth/core is vulnerable to Improper Input Validation in versions 0.0.1 - 0.41.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea