CVE-2025-54594: react-native-bottom-tabs: Arbitrary code execution in GitHub Actions canary workflow leads to secret exfiltration

Published Aug 5, 2025
·
Updated

react-native-bottom-tabs is a library of Native Bottom Tabs for React Native. In versions 0.9.2 and below, the github/workflows/release-canary.yml GitHub Actions repository workflow improperly used the pullrequesttarget event trigger, which allowed for untrusted code from a forked pull request to be executed in a privileged context. An attacker could create a pull request containing a malicious preinstall script in the package.json file and then trigger the vulnerable workflow by posting a specific comment (!canary). This allowed for arbitrary code execution, leading to the exfiltration of sensitive secrets such as GITHUBTOKEN and NPMTOKEN, and could have allowed an attacker to push malicious code to the repository or publish compromised packages to the NPM registry. There is a remediation commit which removes github/workflows/release-canary.yml, but a version with this fix has yet to be released.

Affected Software

1 affected component
React Native react-native-bottom-tabs<=0.9.2

Event History

Aug 5, 2025
CVE Published
via MITRE·11:31 PM
Data Sourced
via MITRE·11:31 PM
DescriptionSeverityWeakness
Aug 6, 2025
Data Sourced
via NVD·12:15 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-54594?

CVE-2025-54594 has a medium severity rating due to the risk of untrusted code execution from forked repositories.

2

How do I fix CVE-2025-54594?

To fix CVE-2025-54594, upgrade react-native-bottom-tabs to version 0.9.3 or later, which resolves the issue.

3

What versions of react-native-bottom-tabs are affected by CVE-2025-54594?

Versions of react-native-bottom-tabs up to and including 0.9.2 are affected by CVE-2025-54594.

4

What impact does CVE-2025-54594 have on my application?

CVE-2025-54594 may allow an attacker to execute untrusted code within your application if unprotected pull requests are used.

5

Is it safe to continue using react-native-bottom-tabs with CVE-2025-54594?

It is not safe to continue using the vulnerable versions of react-native-bottom-tabs until they are upgraded to versions 0.9.3 or higher.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203