# CVE-2025-4218: handrew browserpilot gpt_selenium_agent.py GPTSeleniumAgent code injection

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA: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.33%, higher than 28% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2025-05-02T20:31:06.936Z
- Modified: 2026-06-17T09:32:47.423Z
- Weaknesses: CWE-74, CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability was found in handrew browserpilot up to 0.2.51. It has been declared as critical. Affected by this vulnerability is the function GPTSeleniumAgent of the file browserpilot/browserpilot/agents/gpt_selenium_agent.py. The manipulation of the argument instructions leads to code injection. The attack needs to be approached locally. The exploit has been disclosed to the public and may be used.

(As written by CVE List.)

## Affected

- handrew browserpilot: 0.2.0; 0.2.1; 0.2.2; 0.2.3; 0.2.4; 0.2.5; 0.2.6; 0.2.7; 0.2.8; 0.2.9; 0.2.10; 0.2.11; and 40 more
- andrewhhan browserpilot: up to 0.2.51

## Every score

- VulDB: CVSS:4.0 4.8 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N`
- VulDB: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:3.0 5.3 Medium `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:2.0 4.3 Medium `AV:L/AC:L/Au:S/C:P/I:P/A:P`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/handrew/browserpilot/issues/20> (exploit, issue-tracking)
- <https://github.com/handrew/browserpilot/issues/20#issue-2999815850> (exploit, issue-tracking)
- <https://vuldb.com/?id.307195> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.307195> (permissions-required, signature, vdb-entry)
- <https://vuldb.com/?submit.562383> (third-party-advisory, vdb-entry)

## Sources

- CVE List: [CVE-2025-4218](https://www.cve.org/CVERecord?id=CVE-2025-4218), CVE Terms of Use, modified 2025-05-05
- NVD: [CVE-2025-4218](https://nvd.nist.gov/vuln/detail/CVE-2025-4218), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-4218 · Whole record: https://cve.day/CVE-2025-4218.json · Rebuilt by cve.day 2026-11-25T22:58:57.556Z
