Skip to content

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

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

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 3, 2026

Copy link
Copy Markdown
Contributor

Bumps undici to 6.28.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.28.0

Release notes

Sourced from undici's releases.

v6.28.0

⚠️ Security fixes

  • GHSA-m8rv-5g2x-5cg5: a malicious type property on a duck-typed blob-like HTTP/1.1 request body could inject CRLF sequences into the generated content-type header. Undici now coerces and validates the value before adding it to the request. Fixed by 740a0b7c.
  • GHSA-8xcm-r25x-g524: the retry interceptor could expose a stale Content-Length after resuming a partial response, potentially causing downstream response desynchronization, hangs, or corruption. Undici now rejects partial responses whose Content-Length is inconsistent with Content-Range. Fixed by cba3a52a, with corrected fixtures in 4fd5a0c6.
  • GHSA-v3r7-h72x-cjcm: unsanitized domain and unparsed values passed to setCookie() could inject cookie attributes. Undici now validates cookie domains, paths, and unparsed attributes more strictly. Fixed by af748404.

GHSA-4cwx-7wf7-3272 and GHSA-jr45-8vmc-qm54 affect the cache interceptor in Undici v7 and v8; Undici v6 is not in their affected version ranges.

Full Changelog: nodejs/undici@v6.27.0...v6.28.0

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

... (truncated)

Commits
  • 01a912e Bumped v6.28.0 (#5591)
  • 481ecfc Use Node 22 and npm 11 to release
  • 740a0b7 fix: validate blob body content type
  • 2698e49 fix: validate coerced header values for CRLF (#5579)
  • 4fd5a0c test(retry): correct broken content-range fixtures in retry-handler.js
  • cba3a52 fix(retry): reject partial content length mismatch
  • af74840 fix: harden cookie domain, path, and unparsed attribute validation
  • 551138c Bumped v6.27.0 (#5431)
  • b7f252e Backport WebSocket maxPayloadSize fixes to v7.x (#5423) (#5428)
  • 25efa44 fix(cookies): preserve values and parse SameSite strictly
  • Additional commits viewable in compare view
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 26.1.0

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.

26.1.0 (2026-08-03)

Features

  • auth, ios: add fullName support for Sign in with Apple credentials (#9096) (a33867e)
  • ios: add SPM dependency resolution support alongside CocoaPods (#8933) (44a7a9a)
  • messaging: make expo plugin configurable for notification icon and color (#9132) (99af959), closes #8840

Bug Fixes

  • app, sdks: adopt native SDK ios 12.17.0, android 34.16.0, js 12.17.0 (#9138) (64646f3)
  • auth, app: fix web auth initialization crash and missing methods (#9134) (d74b550)
  • firestore: serverTimestamps implement correct behavior for 'estimate' | 'previous' | 'none' (#9018) (a1e9ffe)

26.0.0 (2026-07-29)

⚠ BREAKING CHANGES

  • messaging, ios: make APNs registration timeout independent of main queue
  • app, android: On Android, makePlayServicesAvailable previously resolved even when the Play Services availability task was canceled or failed. It may now reject, so callers should handle Promise rejections.
  • logEvent, initializeAppCheck, and initializeFirestore return synchronously; remove await and .then() chains on these APIs.
  • Analytics: align logEvent return type with firebase-js-sdk sync void.
  • App Check: align initializeAppCheck with sync AppCheck return.
  • Firestore: align initializeFirestore with sync Firestore return.
  • Firestore: export aggregateFieldEqual for aggregate query parity.
  • Remote Config: accept RemoteConfigOptions in getRemoteConfig.
  • Remote Config: document native FetchStatus literals as intentional drift.
  • Docs: add firebase-js-sdk API parity improvements to v26 migration guide.
  • phone-number-verification: migrate phone-number-verification to TurboModules
  • auth: migrate auth to TurboModules
  • database: migrate database to TurboModules
  • messaging: messaging requires the React Native New Architecture.
  • storage: migrate storage to TurboModules
  • crashlytics: migrate crashlytics to TurboModules
  • analytics: migrate analytics to TurboModules
  • remote-config: migrate remote-config to TurboModules
  • app-check: migrate app-check to TurboModules
  • ml: migrate ml to TurboModules
  • app-distribution: migrate app-distribution to TurboModules
  • in-app-messaging: migrate in-app-messaging to TurboModules
  • perf: migrate perf to TurboModules
  • installations: migrate installations to TurboModules
  • firestore: Firestore native bridge requires New Architecture. Legacy NativeModules bridge removed; four Codegen TurboModule specs (NativeRNFBTurboFirestore{,Collection,Document,Transaction}) with committed generated artifacts, Android/iOS turbo shells, and JS wiring.
  • app: App/Core modules native bridge requires New Architecture.

... (truncated)

Commits
  • 59d053e chore(release): release packages
  • 3ebbea6 build(deps): bump actions/stale from 10.3.0 to 10.4.0 (#9120)
  • a33867e feat(auth, ios): add fullName support for Sign in with Apple credentials (#9096)
  • 64646f3 fix(app, sdks): adopt native SDK ios 12.17.0, android 34.16.0, js 12.17.0 (#9...
  • 2d73cdc test(ci): unique-ify secondary app names in tests (#9139)
  • 44a7a9a feat(ios): add SPM dependency resolution support alongside CocoaPods (#8933)
  • d74b550 fix(auth, app): fix web auth initialization crash and missing methods (#9134)
  • 99af959 feat(messaging): make expo plugin configurable for notification icon and colo...
  • a1e9ffe fix(firestore): serverTimestamps implement correct behavior for 'estimate' | ...
  • 2a360ac chore(release): release packages
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for @​react-native-firebase/app since your current version.

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 26.1.0

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.

26.1.0 (2026-08-03)

Features

  • auth, ios: add fullName support for Sign in with Apple credentials (#9096) (a33867e)
  • ios: add SPM dependency resolution support alongside CocoaPods (#8933) (44a7a9a)
  • messaging: make expo plugin configurable for notification icon and color (#9132) (99af959), closes #8840

Bug Fixes

  • app, sdks: adopt native SDK ios 12.17.0, android 34.16.0, js 12.17.0 (#9138) (64646f3)
  • auth, app: fix web auth initialization crash and missing methods (#9134) (d74b550)
  • firestore: serverTimestamps implement correct behavior for 'estimate' | 'previous' | 'none' (#9018) (a1e9ffe)

26.0.0 (2026-07-29)

⚠ BREAKING CHANGES

  • messaging, ios: make APNs registration timeout independent of main queue
  • app, android: On Android, makePlayServicesAvailable previously resolved even when the Play Services availability task was canceled or failed. It may now reject, so callers should handle Promise rejections.
  • logEvent, initializeAppCheck, and initializeFirestore return synchronously; remove await and .then() chains on these APIs.
  • Analytics: align logEvent return type with firebase-js-sdk sync void.
  • App Check: align initializeAppCheck with sync AppCheck return.
  • Firestore: align initializeFirestore with sync Firestore return.
  • Firestore: export aggregateFieldEqual for aggregate query parity.
  • Remote Config: accept RemoteConfigOptions in getRemoteConfig.
  • Remote Config: document native FetchStatus literals as intentional drift.
  • Docs: add firebase-js-sdk API parity improvements to v26 migration guide.
  • phone-number-verification: migrate phone-number-verification to TurboModules
  • auth: migrate auth to TurboModules
  • database: migrate database to TurboModules
  • messaging: messaging requires the React Native New Architecture.
  • storage: migrate storage to TurboModules
  • crashlytics: migrate crashlytics to TurboModules
  • analytics: migrate analytics to TurboModules
  • remote-config: migrate remote-config to TurboModules
  • app-check: migrate app-check to TurboModules
  • ml: migrate ml to TurboModules
  • app-distribution: migrate app-distribution to TurboModules
  • in-app-messaging: migrate in-app-messaging to TurboModules
  • perf: migrate perf to TurboModules
  • installations: migrate installations to TurboModules
  • firestore: Firestore native bridge requires New Architecture. Legacy NativeModules bridge removed; four Codegen TurboModule specs (NativeRNFBTurboFirestore{,Collection,Document,Transaction}) with committed generated artifacts, Android/iOS turbo shells, and JS wiring.
  • app: App/Core modules native bridge requires New Architecture.

... (truncated)

Commits
  • 59d053e chore(release): release packages
  • 3ebbea6 build(deps): bump actions/stale from 10.3.0 to 10.4.0 (#9120)
  • a33867e feat(auth, ios): add fullName support for Sign in with Apple credentials (#9096)
  • 64646f3 fix(app, sdks): adopt native SDK ios 12.17.0, android 34.16.0, js 12.17.0 (#9...
  • 2d73cdc test(ci): unique-ify secondary app names in tests (#9139)
  • 44a7a9a feat(ios): add SPM dependency resolution support alongside CocoaPods (#8933)
  • d74b550 fix(auth, app): fix web auth initialization crash and missing methods (#9134)
  • 99af959 feat(messaging): make expo plugin configurable for notification icon and colo...
  • a1e9ffe fix(firestore): serverTimestamps implement correct behavior for 'estimate' | ...
  • 2a360ac chore(release): release packages
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for @​react-native-firebase/messaging since your current version.

Install script changes

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



Note

High Risk
Major jump in Firebase/RN Firebase versions affects push notifications and deep links, and v26 messaging expects New Architecture while the repo currently disables it on Android.

Overview
This PR only updates package.json and package-lock.json: @react-native-firebase/app and @react-native-firebase/messaging move from 20.5.0 to 26.1.0, which pulls firebase 12.17.0 (from 10.12.2) and drops superstruct from the RN Firebase app package. Transitive undici is bumped to 6.28.0 (security fixes in the lockfile).

There are no application source changes; push handling still goes through NotificationActions and DeepLinkingManager via @react-native-firebase/messaging.

Review focus: RN Firebase v26 requires React Native New Architecture for messaging (TurboModules), while android/gradle.properties still has newArchEnabled=false. Confirm New Architecture is enabled on both platforms (and native builds are refreshed) before relying on this bump. Also note the v26 prepare install script change mentioned in the PR description.

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

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Aug 3, 2026
@socket-security

socket-security Bot commented Aug 3, 2026

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 ⏵ 26.1.0100 +110094 +69880
Updated@​react-native-firebase/​messaging@​20.5.0 ⏵ 26.1.010010090 +19880

View full report

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using high effort and found 3 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Want fixes drafted automatically? Bugbot Autofix can create code changes for findings. A team admin can enable Autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 04df596. Configure here.

Comment thread package.json
"@react-native-firebase/app": "^20.5.0",
"@react-native-firebase/messaging": "^20.5.0",
"@react-native-firebase/app": "^26.1.0",
"@react-native-firebase/messaging": "^26.1.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Firebase v26 needs New Architecture

High Severity

Updating @react-native-firebase/app and @react-native-firebase/messaging to 26.1.0 requires React Native New Architecture. With newArchEnabled=false on Android, messaging TurboModules won't load, which breaks FCM token registration, push handling, and deep links.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 04df596. Configure here.

Comment thread package.json
"@react-native-firebase/app": "^20.5.0",
"@react-native-firebase/messaging": "^20.5.0",
"@react-native-firebase/app": "^26.1.0",
"@react-native-firebase/messaging": "^26.1.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Android Firebase messaging pin stale

High Severity

The @react-native-firebase update to 26.1.0 in package.json creates native dependency version mismatches. On Android, android/app/build.gradle hardcodes firebase-messaging:23.0.0, conflicting with the newer Firebase Android SDK pulled by RNFB 26.1.0, which may cause dependency conflicts or native API skew for MessagesWorker. On iOS, ios/Podfile.lock retains older RNFB (20.5.0) and Firebase iOS (10.29.0) versions, leading to a mixed JS/native Firebase stack and potential Xcode build issues.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 04df596. Configure here.

Comment thread package.json
"@react-native-firebase/app": "^20.5.0",
"@react-native-firebase/messaging": "^20.5.0",
"@react-native-firebase/app": "^26.1.0",
"@react-native-firebase/messaging": "^26.1.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Namespaced messaging API removed

High Severity

The upgrade to RN Firebase v26 removes namespaced default exports, but the app still uses import messaging from '@react-native-firebase/messaging' and messaging().getToken() / messaging().onMessage(). Those call sites were not migrated to modular helpers like getMessaging and getToken.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 04df596. Configure here.

…ssaging

Bumps [undici](https://github.com/nodejs/undici) to 6.28.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.28.0
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](nodejs/undici@v6.21.3...v6.28.0)

Updates `@react-native-firebase/app` from 20.5.0 to 26.1.0
- [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...v26.1.0)

Updates `@react-native-firebase/messaging` from 20.5.0 to 26.1.0
- [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...v26.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/multi-ac47906b74 branch from 04df596 to dc24676 Compare August 3, 2026 22:24
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