CVE-2021-47901

CRITICAL

dirsearch 0.4.1 - CSV Injection via Redirect Endpoint Path

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2021-47901. PoCs published by Dolev Farhi.

AI-analyzed exploit summary This exploit demonstrates a CSV injection vulnerability in dirsearch 0.4.1, where a malicious server can inject formulas into the CSV report by redirecting paths to URLs containing commas and formulas. The PoC includes a Flask server that redirects all routes to a crafted path, resulting in formula injection in the generated CSV file.

Description

Dirsearch 0.4.1 contains a CSV injection vulnerability when using the --csv-report flag that allows attackers to inject formulas through redirected endpoints. Attackers can craft malicious server redirects with comma-separated paths containing Excel formulas to manipulate the generated CSV report.

Exploits (1)

exploitdb WORKING POC
by Dolev Farhi · textlocalpython
https://www.exploit-db.com/exploits/49370

This exploit demonstrates a CSV injection vulnerability in dirsearch 0.4.1, where a malicious server can inject formulas into the CSV report by redirecting paths to URLs containing commas and formulas. The PoC includes a Flask server that redirects all routes to a crafted path, resulting in formula injection in the generated CSV file.

Classification
Working Poc 100%
Attack Type
Other
Complexity
Trivial
Reliability
Reliable
Target: dirsearch 0.4.1
No auth needed
Prerequisites: A server controlled by the attacker to serve malicious redirects · Victim uses dirsearch with the --csv-report flag
devstral-2 · analyzed Feb 18, 2026 Full analysis →

References (3)

Core 3
Core References
Exploit, Third Party Advisory exploit
https://www.exploit-db.com/exploits/49370
Various Sources product
https://github.com/maurosoria/dirsearch
Third Party Advisory third-party-advisory
https://www.vulncheck.com/advisories/dirsearch-csv-injection

Scores

CVSS v3 9.8
EPSS 0.0038
EPSS Percentile 29.6%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact total

Details

CWE
CWE-1236
Status published
Products (1)
maurosoria/dirsearch 0.4.1
Published Jan 27, 2026
Tracked Since Feb 18, 2026