Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privileged user
-
DeliverySubmit field with leading formula character
-
ExploitData stored unsanitized
-
ExecutionVictim exports to CSV via fputcsv
-
PersistVictim opens file in spreadsheet
-
ImpactFormula executes on victim endpoint
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V1 - Encoding and Sanitization CSV injection prevention
|
| Exploitation Conditions | Exploitation requires: (1) the ability to submit attacker-controlled data into a field that Bahleel later writes to CSV via CsvExporter.php's fputcsv call - the input models this as PR:L, so some low-privilege account or data-submission capability is assumed; and (2) a victim who exports that data to CSV and opens it in a spreadsheet application (Excel, LibreOffice Calc) that evaluates formula-prefixed cells - this is the UI:P user-interaction requirement. Limiting factors: no impact occurs unless the export is actually performed and opened, modern spreadsheet apps warn before executing formulas/DDE from untrusted files, and only affected versions 0.1.0 and 0.1.1 are implicated. The specific input field and endpoint that reach the export are not described in the available sources. |
| Impact | This is a moderate, not urgent, issue whose signals are mostly consistent. The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:L) scores 5.1 (medium) and correctly reflects a formula/CSV-injection weakness (CWE-1236) rather than server-side code execution: the attacker supplies data to the application (PR:L, so some low-privilege ability to submit data is assumed), but harm only materializes when a victim exports and opens the resulting CSV in a spreadsheet application (UI:P). There is no EPSS score in the input and the vulnerability is not on the CISA KEV list, so there is no evidence of active exploitation. The GitHub issue reference (issue #1) is a vulnerability report, not weaponized exploit code, so no public working exploit is identified. The vuln.today decision label is 'this_month' (routine prioritization), which aligns with a medium-severity, low-prevalence, non-exploited finding. The one caveat is scope: CSV injection executes in the victim's spreadsheet program, arguably a different trust domain than the vulnerable web app - the input models all impact on the vulnerable system (SC:N) rather than as a subsequent-system effect; this is a reasonable but debatable modeling choice. Net: a genuine but low-to-medium real-world-risk issue, not a high-priority emergency. |
| Exploit ScenarioDerived | A low-privileged user submits a record containing a malicious spreadsheet formula (e.g. a field beginning with '=', '+', '-', or '@') into Bahleel. When an administrator or another user later exports that data to CSV via CsvExporter.php (fputcsv) and opens the file in Excel or LibreOffice, the formula executes in their spreadsheet, potentially exfiltrating data or running commands via DDE. No public working exploit code is identified; only a vulnerability issue report exists. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 09, 2026
CSV injection in Bahleel 0.1.0 and 0.1.1 lets data that an attacker seeded into the application be carried unescaped into exported spreadsheets, because app/Exporters/CsvExporter.php passes values straight to PHP's fputcsv without neutralising leading formula characters. The assessed vector (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) means a low-privileged authenticated user supplies the malicious field content, but impact only materialises when a victim exports that data to CSV and opens the file in a spreadsheet application that evaluates formula-prefixed cells. No public exploit code has been identified at time of analysis, there is no CISA KEV listing, and the project has not responded to the upstream issue report, so no vendor patch is confirmed; severity is moderate (5.1 CVSS 4.0) and prioritisation is best-effort rather than urgent.
RemediationAI
No vendor-released patch has been identified at time of analysis: the project was notified early through GitHub issue bahleel/bahleel#1 and has not responded, so there is no fixed release version to cite and users of 0.1.0/0.1.1 remain exposed until upstream ships a fix - track https://vuldb.com/vuln/433015 and https://github.com/bahleel/bahleel/issues/1 for status. The directly effective fix is to change CsvExporter.php so that any cell whose first character is '=', '+', '-', '@', tab (0x09) or carriage return (0x0D) is prefixed with a single quote or otherwise escaped before fputcsv is called; the trade-off is that exported values gain a visible leading quote character (or must be stripped on re-import), which can break downstream parsers that expect exact string equality. If the export path cannot be modified promptly, disable or gate the CSV export feature and restrict it to trusted administrative roles, accepting the loss of self-service reporting for ordinary users and the operational effort of handling exports manually; because the risk only crystallises on the client side, additionally instruct recipients to open exported files through Excel Protected View with DDE/formula evaluation disabled, or to import them as plain text rather than double-clicking, with the trade-off that this depends on user behaviour and protects the victim's workstation rather than the application.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Bahleel is a PHP web application, and the flaw sits in its CSV export layer: CsvExporter.php calls fputcsv() on user-influenced values without escaping spreadsheet formula sigils. This is CWE-1236 (CSV Formula Injection): PHP's fputcsv only handles delimiter/quote escaping for CSV syntax, it does not treat a cell beginning with '=', '+', '-', '@', tab or carriage return as dangerous, so a spreadsheet program opening the export may interpret such a cell as a formula and evaluate it - the classic path to data exfiltration via HYPERLINK/WEBSERVICE-style formulas or to command execution through DDE in permissive configurations. The CPE supplied is a wildcard (cpe:2.3:a:n/a:bahleel:*:*:*:*:*:*:*:*) with the vendor not resolved in the CPE dictionary, so version scoping comes from the description and is limited to 0.1.0 and 0.1.1. The trigger chain modelled in the assessment is two-stage: first, attacker-controlled content must reach a field that Bahleel later serialises through fputcsv (input models this as PR:L, i.e. some low-privilege account or data-submission capability is assumed); second, a victim must actually perform the CSV export and open the resulting file in Excel or LibreOffice Calc that evaluates formula-prefixed cells (UI:P). No impact occurs unless both steps happen, and the specific input field and endpoint that reach the export are not described in the available sources.
Know when Bahleel gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
Attacker submits data remotely (AV:N) with low privilege (PR:L); payload only fires when a victim opens the export (UI:R), and execution occurs in the victim's spreadsheet, a separate trust domain (S:C).
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
EUVD-2026-119979
GHSA-qf94-rv9f-rq5r
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB