# CVE-2022-45299: webbrowser-rs allows attackers to access arbitrary files via supplying a crafted URL

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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): 1.48%, higher than 74% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-01-13T00:00:00.000Z
- Modified: 2026-06-17T05:09:45.307Z
- Also known as: GHSA-m589-mv4q-p7rj
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## Description

An issue in the IpFile argument of rust-lang webbrowser-rs v0.8.2 allows attackers to access arbitrary files via supplying a crafted URL.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- webbrowser (crates.io): before 0.8.3
- webbrowser_project webbrowser: before 0.8.3

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/offalltn/CVE-2022-45299> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-45299> (advisory)
- <https://github.com/amodm/webbrowser-rs/commit/431b5139e274b7e456bea27e768aaa121b97be4c> (web)
- <https://github.com/amodm/webbrowser-rs> (package)
- <https://github.com/amodm/webbrowser-rs/releases/tag/v0.8.3> (web)

## Sources

- CVE List: [CVE-2022-45299](https://www.cve.org/CVERecord?id=CVE-2022-45299), CVE Terms of Use, modified 2025-04-07
- GitHub Advisory Database: [GHSA-m589-mv4q-p7rj](https://github.com/advisories/GHSA-m589-mv4q-p7rj), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-45299](https://nvd.nist.gov/vuln/detail/CVE-2022-45299), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-45299 · Whole record: https://cve.day/CVE-2022-45299.json · Rebuilt by cve.day 2026-11-25T22:58:18.198Z
