Vulnerability Description
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 pull_request_target 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 GITHUB_TOKEN and NPM_TOKEN, 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.
CVSS Score
CRITICAL
Related Weaknesses (CWE)
References
- https://callstack.notion.site/Post-Incident-Security-Measures-GitHub-Actions-Wor
- https://github.com/callstackincubator/react-native-bottom-tabs/commit/9e1c9c61d7
- https://github.com/callstackincubator/react-native-bottom-tabs/security/advisori
FAQ
What is CVE-2025-54594?
CVE-2025-54594 is a vulnerability with a CVSS score of 9.1 (CRITICAL). 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 th...
How severe is CVE-2025-54594?
CVE-2025-54594 has been rated CRITICAL with a CVSS base score of 9.1/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2025-54594?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.