navi through 2.24.0 fails to properly escape cheatsheet variable values when substituting them into shell commands. Attackers can inject shell metacharacters through crafted file names in suggestion command directories to execute arbitrary commands with victim privileges.
PUBLISHED5.2CWE-78
navi through 2.24.0 OS Command Injection via Cheatsheet Variables
Problem type
Affected products
denisidoro
navi
<= 2.24.0 - AFFECTED
References
GitHub Issue #1037
https://github.com/denisidoro/navi/issues/1037
github.com
https://github.com/denisidoro/navi/blob/5515367dc8a2a561d2d82b8352f729b1da4120d3/src/commands/core/actor.rs#L159-L193
github.com
https://github.com/denisidoro/navi/blob/5515367dc8a2a561d2d82b8352f729b1da4120d3/src/common/shell.rs#L39-L50
github.com
https://github.com/denisidoro/navi
VulnCheck Advisory: navi through 2.24.0 OS Command Injection via Cheatsheet Variables
https://www.vulncheck.com/advisories/navi-through-2.24.0-os-command-injection-via-cheatsheet-variables
JSON source
https://cveawg.mitre.org/api/cve/CVE-2026-101032Click to expand
{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-101032",
"assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"assignerShortName": "VulnCheck",
"dateUpdated": "2026-09-27T13:16:55.793Z",
"dateReserved": "2026-09-27T13:12:42.562Z",
"datePublished": "2026-09-27T13:16:55.793Z",
"state": "PUBLISHED"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"shortName": "VulnCheck",
"dateUpdated": "2026-09-27T13:16:55.793Z"
},
"datePublic": "2026-08-06T00:00:00.000Z",
"title": "navi through 2.24.0 OS Command Injection via Cheatsheet Variables",
"descriptions": [
{
"lang": "en",
"value": "navi through 2.24.0 fails to properly escape cheatsheet variable values when substituting them into shell commands. Attackers can inject shell metacharacters through crafted file names in suggestion command directories to execute arbitrary commands with victim privileges."
}
],
"affected": [
{
"vendor": "denisidoro",
"product": "navi",
"defaultStatus": "unaffected",
"versions": [
{
"version": "0",
"status": "affected",
"versionType": "semver",
"lessThanOrEqual": "2.24.0"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')",
"cweId": "CWE-78",
"type": "CWE"
}
]
}
],
"references": [
{
"url": "https://github.com/denisidoro/navi/issues/1037",
"name": "GitHub Issue #1037",
"tags": [
"issue-tracking"
]
},
{
"url": "https://github.com/denisidoro/navi/blob/5515367dc8a2a561d2d82b8352f729b1da4120d3/src/commands/core/actor.rs#L159-L193",
"tags": [
"technical-description"
]
},
{
"url": "https://github.com/denisidoro/navi/blob/5515367dc8a2a561d2d82b8352f729b1da4120d3/src/common/shell.rs#L39-L50",
"tags": [
"technical-description"
]
},
{
"url": "https://github.com/denisidoro/navi",
"tags": [
"product"
]
},
{
"url": "https://www.vulncheck.com/advisories/navi-through-2.24.0-os-command-injection-via-cheatsheet-variables",
"name": "VulnCheck Advisory: navi through 2.24.0 OS Command Injection via Cheatsheet Variables",
"tags": [
"third-party-advisory"
]
}
],
"metrics": [
{
"format": "CVSS"
},
{
"format": "CVSS",
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H",
"attackVector": "LOCAL",
"attackComplexity": "HIGH",
"privilegesRequired": "NONE",
"userInteraction": "REQUIRED",
"scope": "UNCHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"availabilityImpact": "HIGH",
"baseScore": 7,
"baseSeverity": "HIGH"
}
}
],
"credits": [
{
"lang": "en",
"value": "George Chen",
"type": "finder"
}
]
}
}
}