Intel

AIKIDO-2025-10204

@opennextjs/aws is vulnerable to Authorization Bypass

CVE-2025-29927Published Apr 3, 2025
April 3, 2025

91

CVE Score

Critical

Authorization Bypass

Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to an authorization bypass due to improper validation of internal requests. The middleware exempts internal requests from authorization checks but fails to verify their authenticity, allowing attackers to spoof internal requests and bypass access controls. By crafting a request with a forged internal flag, an attacker can gain unauthorized access to protected routes or critical system functionalities.

How do I fix this?

Upgrade the @opennextjs/aws library to the patch version.

Who does this affect?

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

Versions

2.3.0 - 3.5.3

Fixed in 3.5.4

Background info

@opennextjs/aws is vulnerable to Authorization Bypass in versions 2.3.0 - 3.5.3.

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