---
id: CVE-2023-48699
aliases:
  - GHSA-vccg-f4gp-45x9
title: Eval Injection in fastbots
summary: Eval Injection in fastbots
severity: high
cvss: 8.4
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
vendor: fastbots
product: fastbots
ecosystem: pip
affected:
  - fastbots < 0.1.5
patched:
  - fastbots 0.1.5
published: '2023-11-21'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:49:47.849235707Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-vccg-f4gp-45x9'
references:
  - url: >-
      https://github.com/ubertidavide/fastbots/security/advisories/GHSA-vccg-f4gp-45x9
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2023-48699'
  - url: 'https://github.com/ubertidavide/fastbots/pull/3#issue-2003080806'
  - url: >-
      https://github.com/ubertidavide/fastbots/commit/73eb03bd75365e112b39877e26ef52853f5e9f57
  - url: 'https://github.com/ubertidavide/fastbots'
tags:
  - osv
  - pip
epss: 0.00744
epssPercentile: 0.5327
ingestedAt: '2026-09-12T03:13:01.730Z'
---

## Overview

### Impact
An attacker could modify the locators.ini locator file with python code that without proper validation it's executed and it could lead to rce. The vulnerability is in the function def __locator__(self, locator_name: str) in page.py. The vulnerable code that load and execute directly from the file without validation it's:
```python
 return eval(self._bot.locator(self._page_name, locator_name))
```

### Patches
In order to mitigate this issue it's important to upgrade to fastbots version 0.1.5 or above. 

### References
[Merge that fix also this issue](https://github.com/ubertidavide/fastbots/pull/3#issue-2003080806)

## Affected packages

- `fastbots < 0.1.5`

## Remediation

Upgrade to a patched release:

- `fastbots 0.1.5`
