# CVE-2024-4128: CSRF in firebase-tools emulator suite

- Severity: Low 2.6 (CVSS:3.1, scored by Google) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2024-05-02T13:22:50.829Z
- Modified: 2026-06-17T08:01:11.563Z
- Also known as: GHSA-rcm2-22f3-pqv3, GO-2024-2808
- Weaknesses: CWE-352
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Google

## Description

This vulnerability was a potential CSRF attack. When running the Firebase emulator suite, there is an export endpoint that is used normally to export data from running emulators. If a user was running the emulator and navigated to a malicious website with the exploit on a browser that allowed calls to localhost (ie Chrome before v94), the website could exfiltrate emulator data. We recommend upgrading past version 13.6.0 or commit  068a2b08dc308c7ab4b569617f5fc8821237e3a0 https://github.com/firebase/firebase-tools/commit/068a2b08dc308c7ab4b569617f5fc8821237e3a0

(As written by CVE List.)

## Affected

- firebase-tools: up to 13.6.0
- firebase_admin_sdk_for_php_project firebase_admin_sdk_for_php: 0
- firebase-tools (npm): before 13.6.0
- github.com/firebase/firebase-tools (Go): all versions
- google firebase_command_line_interface: before 13.6.0

## Every score

- Google: CVSS:3.1 2.6 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 2.6 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N`

## References

- <https://github.com/firebase/firebase-tools/pull/6944> (fix, patch, web)
- <https://github.com/firebase/firebase-tools/commit/068a2b08dc308c7ab4b569617f5fc8821237e3a0> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-4128> (advisory)
- <https://github.com/firebase/firebase-tools> (package)

## Sources

- CVE List: [CVE-2024-4128](https://www.cve.org/CVERecord?id=CVE-2024-4128), CVE Terms of Use, modified 2024-08-01
- GitHub Advisory Database: [GHSA-rcm2-22f3-pqv3](https://github.com/advisories/GHSA-rcm2-22f3-pqv3), CC-BY-4.0, modified 2025-07-22
- Go Vulnerability Database: [GO-2024-2808](https://pkg.go.dev/vuln/GO-2024-2808), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2024-4128](https://nvd.nist.gov/vuln/detail/CVE-2024-4128), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-4128 · Whole record: https://cve.day/CVE-2024-4128.json · Rebuilt by cve.day 2026-11-25T22:58:39.849Z
