Every CVE Search/ Get API key

CVE-2021-36753

Uncontrolled Search Path Element in sharkdp/bat

7.8 HighFix available

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

0.36%Down 0.7 points since Jul 16, 2021
90%50%10%1%

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 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
4.6 MediumAV: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
bat
crates.io
before 0.18.2
0.18.2
bat
crates.io
0.0.0-0 up to 0.18.2
0.18.2

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE 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

MoveEnter Open