Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
bat versions before 0.18.2 on Windows run a program named less.exe from the current working directory. An attacker who can place a malicious less.exe in a directory the user works from could get that program executed. Upgrade bat to version 0.18.2 or later.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 7.8 | High | 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | GitHub Advisory Database |
- CISA KEV Not listed.
- EPSS 0.0036, the 29th percentile, on 11 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 15:21 UTC First seen by agentprime
- 31 Oct 2026, 15:21 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-p24j-h477-76q3
- OSV: GHSA-p24j-h477-76q3
- nvd.nist.gov/vuln/detail/CVE-2021-36753
- github.com/sharkdp/bat/pull/1724
- github.com/sharkdp/bat/commit/bf2b2df9c9e218e35e5a38ce3d03cffb7c363956
- github.com/sharkdp/bat
- github.com/sharkdp/bat/releases/tag/v0.18.2
- rustsec.org/advisories/RUSTSEC-2021-0106.html
- vuln.ryotak.me/advisories/53