CVE-2021-36753
Uncontrolled Search Path Element in sharkdp/bat
sharkdp BAT before 0.18.2 executes less.exe from the current working directory.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
sharkdp BAT before 0.18.2 executes less.exe from the current working directory.
- Record
CVE-2021-36753- 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 - CVSS 2.0
- 4.6 Medium
AV:L/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-427
- Updated
- 2026-11-02
CVE List No score
sharkdp BAT before 0.18.2 executes less.exe from the current working directory.
- Record
CVE-2021-36753- Updated
- 2026-11-02
EUVDEUVD-2021-1810 No score
sharkdp BAT before 0.18.2 executes less.exe from the current working directory.
- Record
EUVD-2021-1810- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-p24j-h477-76q3
7.8
Uncontrolled Search Path Element in sharkdp/bat
bat on windows before 0.18.2 executes programs named less.exe from the current working directory. This can lead to unintended code execution.
- Record
GHSA-p24j-h477-76q3- 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 - Weakness
- CWE-427
- Updated
- 2026-11-02
OSV
7.8
sharkdp BAT before 0.18.2 executes less.exe from the current working directory.
- Record
CVE-2021-36753- 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 - Updated
- 2026-11-02
OSVGHSA-p24j-h477-76q3
7.8
Uncontrolled Search Path Element in sharkdp/bat
bat on windows before 0.18.2 executes programs named less.exe from the current working directory. This can lead to unintended code execution.
- Record
GHSA-p24j-h477-76q3- 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 - Weakness
- CWE-427
- Updated
- 2026-11-02
OSVRUSTSEC-2021-0106
7.8
Uncontrolled Search Path Element in sharkdp/bat
bat on windows before 0.18.2 executes programs named less.exe from the current working directory. This can lead to unintended code execution.
- Record
RUSTSEC-2021-0106- 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 - Updated
- 2026-11-02
Affected products
Affected packages
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-36753 is a high vulnerability (CVSS 7.8) in Bat Project Bat, published July 15, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.36%, the 29th percentile. Fixed in bat 0.18.2.
References
github.com/sharkdp/bat/releases/tag/v0.18.2
github.com/sharkdp/bat/pull/1724
github.com/sharkdp/bat/commit/bf2b2df9c9e218e35e5a38ce3d03cffb7c363956
vuln.ryotak.me/advisories/53
nvd.nist.gov/vuln/detail/CVE-2021-36753
rustsec.org/advisories/RUSTSEC-2021-0106.html
github.com/advisories/GHSA-p24j-h477-76q3
github.com/sharkdp/bat
crates.io/crates/bat