Skip to content

Bump undici, @react-native-firebase/app and @react-native-firebase/messaging#6046

Open
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/npm_and_yarn/multi-90714fac84
Open

Bump undici, @react-native-firebase/app and @react-native-firebase/messaging#6046
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/npm_and_yarn/multi-90714fac84

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 22, 2026

Copy link
Copy Markdown
Contributor

Bumps undici to 6.27.0 and updates ancestor dependencies undici, @react-native-firebase/app and @react-native-firebase/messaging. These dependencies need to be updated together.

Updates undici from 6.21.3 to 6.27.0

Release notes

Sourced from undici's releases.

v6.27.0

⚠️ Security Release

This release line addresses 4 security advisories.

Action required: Upgrade to undici 6.27.0 or later.

npm install undici@^6.27.0

Note on patched version: the v6 fixes shipped in v6.27.0, not 6.26.0v6.26.0 contains only the chunked-EOF fix (#5308) and the version bump, none of the security fixes below.

The v6 line is not affected by the SOCKS5 advisories (GHSA-vmh5-mc38-953g, GHSA-hm92-r4w5-c3mj), the shared-cache disclosure (GHSA-pr7r-676h-xcf6), or the 8.x-only WebSocket regression (GHSA-38rv-x7px-6hhq).

Summary

Advisory CVE Severity (CVSS) Fixed in Fix commit
GHSA-vxpw-j846-p89q CVE-2026-12151 High (7.5) 6.27.0 b7f252e7
GHSA-p88m-4jfj-68fv CVE-2026-9679 Moderate (5.9) 6.27.0 25efa447
GHSA-g8m3-5g58-fq7m CVE-2026-11525 Low (3.7) 6.27.0 25efa447
GHSA-35p6-xmwp-9g52 CVE-2026-6733 Low (3.7) 6.27.0 f4c31d60

High severity

WebSocket DoS via fragment count bypass — CVE-2026-12151

GHSA-vxpw-j846-p89q · CWE-400, CWE-770 Fix: b7f252e7 Backport WebSocket maxPayloadSize fixes (#5423, backported to v6 in #5428)

A malicious WebSocket server can stream a large number of small or empty continuation frames. Undici enforced a limit on cumulative payload size but did not limit the number of fragments per message, leading to unbounded memory growth and denial of service. All releases from 6.17.0 onward are affected.

  • Affected: applications using new WebSocket(...) or WebSocketStream against untrusted endpoints.
  • Workaround: none — upgrade is required.

Moderate severity

HTTP header injection via Set-Cookie percent-decoding — CVE-2026-9679

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for undici since your current version.


Updates @react-native-firebase/app from 20.5.0 to 24.1.1

Release notes

Sourced from @​react-native-firebase/app's releases.

v24.1.1

Bug Fixes

  • ios: revert to firebase-ios-sdk 12.10.0 to avoid startup crash (b97bc26)

v24.1.0

Features

  • analytics: add Expo config plugin for withoutAdIdSupport (#8969) (5af7a6a)
  • analytics: add support for googleAppMeasurementOnDeviceConversion in iOS Expo plugin (#9014) (a7a5125)
  • firestore: add 'source' option to enable local cache firestore listeners (e3ce410)

Bug Fixes

  • analytics: cast item INDEX param to integer (915dc8a)
  • analytics: coerce all number params from js double to native integral (760ddd2)
  • analytics: success param type now boolean - never worked before, now works (7e122b2)
  • android: catch RejectedExecutionException on executor-backed Tasks (375ade9)
  • database, android: remove RTDB listeners before shutting down executors (25ed605)
  • docs: workflow to generate+publish API docs, call same on publish (8222a96)
  • firebase-android-sdk 34.14.0, firebase-ios-sdk 12.11.0, firebase-js-sdk 12.14.0 (65bbe94)
  • firestore, android: catch RejectedExecutionException in sendOnSnapshotEvent (602d7ad)
  • firestore: restore generic root type exports for DocumentSnapshot, Transaction, and WriteBatch (#8997) (9809622)

v24.0.0

⚠ BREAKING CHANGES

  • firestore: migrate to TypeScript and match firebase-js-sdk (#8892)
  • firestore: typescript - firestore types now match modular firebase-js-sdk - see migration guide

Please see https://rnfirebase.io/migrating-to-v24 for a guide on updating your types if you were using the previous firestore typescript types.

In general everything should behave the same as v23 but the typescript types have changed. It is our hope you as a developer can adopt these changes easily and your app works exactly the same.

It is always our goal to be a drop-in replacement for firebase-js-sdk, type for type, API for API. In general all firestore types should now be the same as the firestore modular types from firebase-js-sdk

  • functions: you must enable new architecture to use the functions module All modules will be converted to new architecture soon, old architecture support is deprecated in general for react-native-firebase

Features

  • firestore: Support for Firestore pipelines API (#8931) (54021c4)
  • firestore: implement withConverter (#8744) (13d6bb3)
  • ai: CodeExecutionTool types for allowing model to run code (#8866) (81a0f19)

... (truncated)

Changelog

Sourced from @​react-native-firebase/app's changelog.

24.1.1 (2026-06-10)

Bug Fixes

  • ios: revert to firebase-ios-sdk 12.10.0 to avoid startup crash (b97bc26)

24.1.0 (2026-06-05)

Features

  • analytics: add Expo config plugin for withoutAdIdSupport (#8969) (5af7a6a)
  • analytics: add support for googleAppMeasurementOnDeviceConversion in iOS Expo plugin (#9014) (a7a5125)
  • firestore: add 'source' option to enable local cache firestore listeners (e3ce410)

Bug Fixes

  • analytics: cast item INDEX param to integer (915dc8a)
  • analytics: coerce all number params from js double to native integral (760ddd2)
  • analytics: success param type now boolean - never worked before, now works (7e122b2)
  • android: catch RejectedExecutionException on executor-backed Tasks (375ade9)
  • database, android: remove RTDB listeners before shutting down executors (25ed605)
  • docs: workflow to generate+publish API docs, call same on publish (8222a96)
  • firebase-android-sdk 34.14.0, firebase-ios-sdk 12.11.0, firebase-js-sdk 12.14.0 (65bbe94)
  • firestore, android: catch RejectedExecutionException in sendOnSnapshotEvent (602d7ad)
  • firestore: restore generic root type exports for DocumentSnapshot, Transaction, and WriteBatch (#8997) (9809622)

24.0.0 (2026-04-01)

⚠ BREAKING CHANGES

  • firestore: migrate to TypeScript and match firebase-js-sdk (#8892)
  • firestore: typescript - firestore types now match modular firebase-js-sdk - see migration guide

Please see https://rnfirebase.io/migrating-to-v24 for a guide on updating your types if you were using the previous firestore typescript types.

In general everything should behave the same as v23 but the typescript types have changed. It is our hope you as a developer can adopt these changes easily and your app works exactly the same.

It is always our goal to be a drop-in replacement for firebase-js-sdk, type for type, API for API. In general all firestore types should now be the same as the firestore modular types from firebase-js-sdk

  • functions: you must enable new architecture to use the functions module All modules will be converted to new architecture soon, old architecture support is deprecated in general for react-native-firebase

Features

  • firestore: Support for Firestore pipelines API (#8931) (54021c4)
  • firestore: implement withConverter (#8744) (13d6bb3)
  • ai: CodeExecutionTool types for allowing model to run code (#8866) (81a0f19)

... (truncated)

Commits
  • ea699f0 chore(release): release packages
  • b97bc26 fix(ios): revert to firebase-ios-sdk 12.10.0 to avoid startup crash
  • 624aaab docs: update generated reference API styling (#9031)
  • 804a51f chore(release): release packages
  • 351a2fd release: allow versioning on branch for stable releases
  • 0e361b0 release: make api reference deploy workflow reusable
  • 65bbe94 fix: firebase-android-sdk 34.14.0, firebase-ios-sdk 12.11.0, firebase-js-sdk ...
  • b1c2b53 test: run workflows on stable branch push
  • 7fb16d9 test: use maximal parallelization in full test run
  • 3c710e3 style(lint): fix style skew due to prettier version skew from main
  • Additional commits viewable in compare view
Install script changes

This version modifies prepare script that runs during installation. Review the package contents before updating.


Updates @react-native-firebase/messaging from 20.5.0 to 24.1.1

Release notes

Sourced from @​react-native-firebase/messaging's releases.

v24.1.1

Bug Fixes

  • ios: revert to firebase-ios-sdk 12.10.0 to avoid startup crash (b97bc26)

v24.1.0

Features

  • analytics: add Expo config plugin for withoutAdIdSupport (#8969) (5af7a6a)
  • analytics: add support for googleAppMeasurementOnDeviceConversion in iOS Expo plugin (#9014) (a7a5125)
  • firestore: add 'source' option to enable local cache firestore listeners (e3ce410)

Bug Fixes

  • analytics: cast item INDEX param to integer (915dc8a)
  • analytics: coerce all number params from js double to native integral (760ddd2)
  • analytics: success param type now boolean - never worked before, now works (7e122b2)
  • android: catch RejectedExecutionException on executor-backed Tasks (375ade9)
  • database, android: remove RTDB listeners before shutting down executors (25ed605)
  • docs: workflow to generate+publish API docs, call same on publish (8222a96)
  • firebase-android-sdk 34.14.0, firebase-ios-sdk 12.11.0, firebase-js-sdk 12.14.0 (65bbe94)
  • firestore, android: catch RejectedExecutionException in sendOnSnapshotEvent (602d7ad)
  • firestore: restore generic root type exports for DocumentSnapshot, Transaction, and WriteBatch (#8997) (9809622)

v24.0.0

⚠ BREAKING CHANGES

  • firestore: migrate to TypeScript and match firebase-js-sdk (#8892)
  • firestore: typescript - firestore types now match modular firebase-js-sdk - see migration guide

Please see https://rnfirebase.io/migrating-to-v24 for a guide on updating your types if you were using the previous firestore typescript types.

In general everything should behave the same as v23 but the typescript types have changed. It is our hope you as a developer can adopt these changes easily and your app works exactly the same.

It is always our goal to be a drop-in replacement for firebase-js-sdk, type for type, API for API. In general all firestore types should now be the same as the firestore modular types from firebase-js-sdk

  • functions: you must enable new architecture to use the functions module All modules will be converted to new architecture soon, old architecture support is deprecated in general for react-native-firebase

Features

  • firestore: Support for Firestore pipelines API (#8931) (54021c4)
  • firestore: implement withConverter (#8744) (13d6bb3)
  • ai: CodeExecutionTool types for allowing model to run code (#8866) (81a0f19)

... (truncated)

Changelog

Sourced from @​react-native-firebase/messaging's changelog.

24.1.1 (2026-06-10)

Bug Fixes

  • ios: revert to firebase-ios-sdk 12.10.0 to avoid startup crash (b97bc26)

24.1.0 (2026-06-05)

Features

  • analytics: add Expo config plugin for withoutAdIdSupport (#8969) (5af7a6a)
  • analytics: add support for googleAppMeasurementOnDeviceConversion in iOS Expo plugin (#9014) (a7a5125)
  • firestore: add 'source' option to enable local cache firestore listeners (e3ce410)

Bug Fixes

  • analytics: cast item INDEX param to integer (915dc8a)
  • analytics: coerce all number params from js double to native integral (760ddd2)
  • analytics: success param type now boolean - never worked before, now works (7e122b2)
  • android: catch RejectedExecutionException on executor-backed Tasks (375ade9)
  • database, android: remove RTDB listeners before shutting down executors (25ed605)
  • docs: workflow to generate+publish API docs, call same on publish (8222a96)
  • firebase-android-sdk 34.14.0, firebase-ios-sdk 12.11.0, firebase-js-sdk 12.14.0 (65bbe94)
  • firestore, android: catch RejectedExecutionException in sendOnSnapshotEvent (602d7ad)
  • firestore: restore generic root type exports for DocumentSnapshot, Transaction, and WriteBatch (#8997) (9809622)

24.0.0 (2026-04-01)

⚠ BREAKING CHANGES

  • firestore: migrate to TypeScript and match firebase-js-sdk (#8892)
  • firestore: typescript - firestore types now match modular firebase-js-sdk - see migration guide

Please see https://rnfirebase.io/migrating-to-v24 for a guide on updating your types if you were using the previous firestore typescript types.

In general everything should behave the same as v23 but the typescript types have changed. It is our hope you as a developer can adopt these changes easily and your app works exactly the same.

It is always our goal to be a drop-in replacement for firebase-js-sdk, type for type, API for API. In general all firestore types should now be the same as the firestore modular types from firebase-js-sdk

  • functions: you must enable new architecture to use the functions module All modules will be converted to new architecture soon, old architecture support is deprecated in general for react-native-firebase

Features

  • firestore: Support for Firestore pipelines API (#8931) (54021c4)
  • firestore: implement withConverter (#8744) (13d6bb3)
  • ai: CodeExecutionTool types for allowing model to run code (#8866) (81a0f19)

... (truncated)

Commits
  • ea699f0 chore(release): release packages
  • b97bc26 fix(ios): revert to firebase-ios-sdk 12.10.0 to avoid startup crash
  • 624aaab docs: update generated reference API styling (#9031)
  • 804a51f chore(release): release packages
  • 351a2fd release: allow versioning on branch for stable releases
  • 0e361b0 release: make api reference deploy workflow reusable
  • 65bbe94 fix: firebase-android-sdk 34.14.0, firebase-ios-sdk 12.11.0, firebase-js-sdk ...
  • b1c2b53 test: run workflows on stable branch push
  • 7fb16d9 test: use maximal parallelization in full test run
  • 3c710e3 style(lint): fix style skew due to prettier version skew from main
  • Additional commits viewable in compare view
Install script changes

This version modifies prepare script that runs during installation. Review the package contents before updating.


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Note

Medium Risk
Major RN Firebase jump affects native SDKs and push (messaging); undici bump is security-driven but transitive. No TS/app edits in the PR, so risk is integration and runtime on iOS/Android rather than compile-time breakage in this diff.

Overview
Dependency-only update in package.json and package-lock.json: @react-native-firebase/app and @react-native-firebase/messaging move from ^20.5.0 to ^24.1.1, which pulls firebase 12.14.0 and a large refresh of @firebase/* packages (including new @firebase/ai and @firebase/data-connect). The lockfile also bumps undici to 6.27.0 (security fixes) and drops superstruct from @react-native-firebase/app’s dependency tree.

There are no application source changes in this diff—only manifests and lock resolution. Review should focus on native rebuilds (iOS pod install, Android Gradle), push notification / FCM behavior on both platforms, and any v24 RN Firebase migration notes if other Firebase modules are used elsewhere in the repo.

Reviewed by Cursor Bugbot for commit 0509e8f. Bugbot is set up for automated code reviews on this repo. Configure here.

…ssaging

Bumps [undici](https://github.com/nodejs/undici) to 6.27.0 and updates ancestor dependencies [undici](https://github.com/nodejs/undici), [@react-native-firebase/app](https://github.com/invertase/react-native-firebase) and [@react-native-firebase/messaging](https://github.com/invertase/react-native-firebase). These dependencies need to be updated together.


Updates `undici` from 6.21.3 to 6.27.0
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](nodejs/undici@v6.21.3...v6.27.0)

Updates `@react-native-firebase/app` from 20.5.0 to 24.1.1
- [Release notes](https://github.com/invertase/react-native-firebase/releases)
- [Changelog](https://github.com/invertase/react-native-firebase/blob/main/CHANGELOG.md)
- [Commits](invertase/react-native-firebase@v20.5.0...v24.1.1)

Updates `@react-native-firebase/messaging` from 20.5.0 to 24.1.1
- [Release notes](https://github.com/invertase/react-native-firebase/releases)
- [Changelog](https://github.com/invertase/react-native-firebase/blob/main/CHANGELOG.md)
- [Commits](invertase/react-native-firebase@v20.5.0...v24.1.1)

---
updated-dependencies:
- dependency-name: undici
  dependency-version: 6.27.0
  dependency-type: indirect
- dependency-name: "@react-native-firebase/app"
  dependency-version: 24.1.1
  dependency-type: direct:production
- dependency-name: "@react-native-firebase/messaging"
  dependency-version: 24.1.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 22, 2026
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​react-native-firebase/​app@​20.5.0 ⏵ 24.1.1100 +110089 +196 +580
Updated@​react-native-firebase/​messaging@​20.5.0 ⏵ 24.1.110010090 +196 +580

View full report

@socket-security

Copy link
Copy Markdown

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
Obfuscated code: npm @firebase/firestore is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: package-lock.jsonnpm/@react-native-firebase/app@24.1.1npm/@firebase/firestore@4.15.0

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@firebase/firestore@4.15.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
Obfuscated code: npm @firebase/firestore is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: package-lock.jsonnpm/@react-native-firebase/app@24.1.1npm/@firebase/firestore@4.15.0

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@firebase/firestore@4.15.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants