Intel

AIKIDO-2026-329411

@preeternal/react-native-cookie-manager is vulnerable to Improper Cookie Domain Validation

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jul 15, 2026
July 15, 2026

59

CVE Score

Medium

Improper Cookie Domain Validation

Are you affected? Scan for Free

TL;DR

The library validates a cookie's domain against the request host using an unanchored substring check in the native Android and iOS implementations. Because the host or the cookie domain only needs to contain the other value as a substring, a cookie scoped to a domain such as example.com is accepted for unrelated hosts like notexample.com, and cookies can match hosts they do not belong to. This allows cookies to be set for or returned to unintended hosts, enabling cookie misuse across origins. The fix replaces the substring check with case-insensitive exact-host or parent-domain (dot-suffix) matching.

How do I fix this?

Upgrade the @preeternal/react-native-cookie-manager library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application sets or reads cookies for hosts or cookie domains that can be influenced by untrusted input.

Versions

6.3.0 - 6.3.2

Fixed in 6.3.3

Background info

@preeternal/react-native-cookie-manager is vulnerable to Improper Cookie Domain Validation in versions 6.3.0 - 6.3.2.

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