{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2025-54594 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2025-54594 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-54594 is a critical code injection vulnerability in callstackincubator react-native-bottom-tabs, published on 5 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-54594 and fix it if it is affected.\n\nWhat it is: CVE-2025-54594 is a critical code injection vulnerability in callstackincubator react-native-bottom-tabs, published on 5 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-54594 in the wild and no public exploit code.\n\nAffected product: callstackincubator react-native-bottom-tabs. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-54594/ (Markdown: https://insights.sbomify.com/CVE-2025-54594/index.md)","id":"CVE-2025-54594","markdown":"https://insights.sbomify.com/CVE-2025-54594/index.md","name":"CVE-2025-54594","record":{"aliases":["GHSA-588g-38p4-gr6x"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"React Native library","requires_auth":"none","summary":"Attackers can execute arbitrary code in CI workflows via malicious pull requests, leading to secret exfiltration and potential supply chain compromise.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.1,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-269","name":"Improper Privilege Management"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-09-04","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-09-04T08:50:43Z","kind":"github_poc","ref":"https://github.com/pvharmo2/gha-lab-aa1cbc9bcf","stars":0,"title":"Authorized security-research reproduction of CVE-2025-54594 (GHSA-588g-38p4-gr6x): privileged issue_comment-triggered canary release workflow checking out untrusted fork code and running its npm scripts with GITHUB_TOKEN/NPM_TOKEN in env. Snapshot of callstackincubator/react-native-bottom-tabs @ d765b1f695762490327dcb8f6a2f17542cf0abdb."}],"tier":"poc_unverified"},"has_fix":false,"headline":"react-native-bottom-tabs: Arbitrary code execution in GitHub Actions canary workflow leads to secret exfiltration","id":"CVE-2025-54594","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2025"},"n_packages":0,"n_references":3,"next":{"headline":"Pearcleaner's unauthenticated access to privileged XPC helper allows root command execution","id":"CVE-2025-54595"},"packages":[],"prev":{"headline":"FreshRSS is vulnerable to RCE attacks by authenticated admin","id":"CVE-2025-54593"},"products":["react-native-bottom-tabs"],"published":"2025-08-05","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-08-06","vendors":["callstackincubator"]},"summary":"Attackers can execute arbitrary code in CI workflows via malicious pull requests, leading to secret exfiltration and potential supply chain compromise.","url":"https://insights.sbomify.com/CVE-2025-54594/"}