---
id: "CVE-2026-124591"
page: "https://infrastack.ai/live/CVE-2026-124591"
kind: "vulnerability"
aliases: ["CVE-2026-124591"]
title: "Bahleel: CSV export lets remote input inject spreadsheet formulas"
severity: "medium"
cvss: 6.5
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["bahleel", "csv-export", "package", "php"]
not_affected_if: ["no-csv-export", "other-version"]
published_at: "2026-11-09T11:17:24+00:00"
first_seen_at: "2026-11-09T11:26:04+00:00"
updated_at: "2026-11-09T11:26:38+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-124591", "first_seen_at": "2026-11-09T11:26:04+00:00"}]
exploit_sources: []
---

# Bahleel: CSV export lets remote input inject spreadsheet formulas

Link for people: https://infrastack.ai/live/CVE-2026-124591 (this .md is for agents)

Bahleel 0.1.0 and 0.1.1 write user-supplied values into CSV exports without neutralizing them, in the fputcsv call in app/Exporters/CsvExporter.php. An attacker can plant spreadsheet formulas that run when a victim opens the exported file.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Look for `app/Exporters/CsvExporter.php` in the Bahleel install and check whether it calls `fputcsv` on unsanitized data.
- Check the installed Bahleel version against `0.1.0` and `0.1.1`.

## Timeline

- 2026-11-09T11:26:04+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-124591

## From the sources

A vulnerability was detected in Bahleel 0.1.0/0.1.1. Affected is the function fputcsv of the file app/Exporters/CsvExporter.php. The manipulation results in csv injection. The attack may be launched remotely. The project was informed of the problem early through an issue report but has not responded yet.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
