Search
Find a vulnerability
Search criteria
ⓘ
Use this form to refine search results.
Full-text search supports keyword queries with ranking and filtering.
You can combine vendor, product, and sources to narrow results.
Enable “Apply ordering” to sort by date instead of relevance.
2 vulnerabilities by Canop
CVE-2026-72847 (GCVE-0-2026-72847)
Vulnerability from nvd – Published: 2026-08-20 17:19 – Updated: 2026-08-21 16:22
VLAI
EPSS
VEX
Title
broot Terminal Escape Sequence Injection via Unsanitized File and Directory Names in the Tree View
Summary
broot renders each file and directory name in its interactive tree view exactly as read from the filesystem. Names are converted with a plain to_string_lossy() call in src/tree_build/builder.rs and in TreeLine::unprune in src/tree/tree_line.rs, and no control-character filtering exists anywhere in the code, even though the doc comment on the TreeLine name field states that some characters may have been stripped. Any local user who can create a file can therefore place an escape sequence in its name and have it written unmodified to the terminal of anyone who browses that directory, between broot's own styling codes. A reported proof of concept used an OSC 52 clipboard-write sequence and captured the raw bytes broot wrote to its pty, confirming the sequence reaches the terminal unstripped. What an injected OSC or CSI sequence can then do depends on the terminal emulator in use. Browsing a directory is broot's primary function and carries no expectation that the content is trusted.
Severity
SSVC
Exploitation: poc
Automatable: no
Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-08-21 16:22 UTC
CWE
- CWE-150 - Improper Neutralization of Escape, Meta, or Control Sequences
Assigner
References
7 references
| URL | Tags |
|---|---|
| https://github.com/Canop/broot/issues/1188 | issue-tracking |
| https://github.com/Canop/broot/commit/4ba40f7d47a… | patch |
| https://github.com/Canop/broot/commit/0717a94b3c0… | patch |
| https://github.com/Canop/broot/blob/v1.58.0/src/t… | technical-description |
| https://github.com/Canop/broot/blob/v1.58.0/src/t… | technical-description |
| https://github.com/Canop/broot | product |
| https://www.vulncheck.com/advisories/broot-termin… | third-party-advisory |
Date Public
2026-08-06 00:00
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-72847",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-08-21T16:22:34.537761Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-08-21T16:22:56.831Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"references": [
{
"tags": [
"exploit"
],
"url": "https://github.com/Canop/broot/issues/1188"
}
],
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"packageURL": "pkg:cargo/broot",
"product": "broot",
"repo": "https://github.com/Canop/broot",
"vendor": "Canop",
"versions": [
{
"lessThanOrEqual": "1.58.0",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "reporter",
"value": "carfeii"
}
],
"datePublic": "2026-08-06T00:00:00.000Z",
"descriptions": [
{
"lang": "en",
"value": "broot renders each file and directory name in its interactive tree view exactly as read from the filesystem. Names are converted with a plain to_string_lossy() call in src/tree_build/builder.rs and in TreeLine::unprune in src/tree/tree_line.rs, and no control-character filtering exists anywhere in the code, even though the doc comment on the TreeLine name field states that some characters may have been stripped. Any local user who can create a file can therefore place an escape sequence in its name and have it written unmodified to the terminal of anyone who browses that directory, between broot\u0027s own styling codes. A reported proof of concept used an OSC 52 clipboard-write sequence and captured the raw bytes broot wrote to its pty, confirming the sequence reaches the terminal unstripped. What an injected OSC or CSI sequence can then do depends on the terminal emulator in use. Browsing a directory is broot\u0027s primary function and carries no expectation that the content is trusted."
}
],
"metrics": [
{
"cvssV4_0": {
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"attackVector": "LOCAL",
"baseScore": 2.4,
"baseSeverity": "LOW",
"privilegesRequired": "LOW",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "LOW",
"subIntegrityImpact": "LOW",
"userInteraction": "PASSIVE",
"vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N",
"version": "4.0",
"vulnAvailabilityImpact": "NONE",
"vulnConfidentialityImpact": "LOW",
"vulnIntegrityImpact": "LOW"
},
"format": "CVSS"
},
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "NONE",
"baseScore": 4.6,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "LOW",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
"version": "3.1"
},
"format": "CVSS"
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-150",
"description": "Improper Neutralization of Escape, Meta, or Control Sequences",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-08-20T17:19:34.678Z",
"orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"shortName": "VulnCheck"
},
"references": [
{
"name": "GitHub Issue #1188",
"tags": [
"issue-tracking"
],
"url": "https://github.com/Canop/broot/issues/1188"
},
{
"name": "Strip terminal escape sequences from displayed file/directory names (#1189)",
"tags": [
"patch"
],
"url": "https://github.com/Canop/broot/commit/4ba40f7d47af78457c7656f15eba71d63d97fce5"
},
{
"name": "improve esc stripping, apply it to link targets too",
"tags": [
"patch"
],
"url": "https://github.com/Canop/broot/commit/0717a94b3c0efa19c7bbcfe0fb49a2374752a168"
},
{
"name": "Unsanitized name handling in TreeLine at v1.58.0",
"tags": [
"technical-description"
],
"url": "https://github.com/Canop/broot/blob/v1.58.0/src/tree/tree_line.rs"
},
{
"name": "Unsanitized name construction in the tree builder at v1.58.0",
"tags": [
"technical-description"
],
"url": "https://github.com/Canop/broot/blob/v1.58.0/src/tree_build/builder.rs"
},
{
"tags": [
"product"
],
"url": "https://github.com/Canop/broot"
},
{
"name": "VulnCheck Advisory: broot Terminal Escape Sequence Injection via Unsanitized File and Directory Names in the Tree View",
"tags": [
"third-party-advisory"
],
"url": "https://www.vulncheck.com/advisories/broot-terminal-escape-sequence-injection-via-unsanitized-file-and-directory-names-in-the-tree-view"
}
],
"title": "broot Terminal Escape Sequence Injection via Unsanitized File and Directory Names in the Tree View",
"x_generator": {
"engine": "vulncheck-endgame"
}
}
},
"cveMetadata": {
"assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"assignerShortName": "VulnCheck",
"cveId": "CVE-2026-72847",
"datePublished": "2026-08-20T17:19:34.678Z",
"dateReserved": "2026-08-10T15:14:51.468Z",
"dateUpdated": "2026-08-21T16:22:56.831Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-72847 (GCVE-0-2026-72847)
Vulnerability from cvelistv5 – Published: 2026-08-20 17:19 – Updated: 2026-08-21 16:22
VLAI
EPSS
VEX
Title
broot Terminal Escape Sequence Injection via Unsanitized File and Directory Names in the Tree View
Summary
broot renders each file and directory name in its interactive tree view exactly as read from the filesystem. Names are converted with a plain to_string_lossy() call in src/tree_build/builder.rs and in TreeLine::unprune in src/tree/tree_line.rs, and no control-character filtering exists anywhere in the code, even though the doc comment on the TreeLine name field states that some characters may have been stripped. Any local user who can create a file can therefore place an escape sequence in its name and have it written unmodified to the terminal of anyone who browses that directory, between broot's own styling codes. A reported proof of concept used an OSC 52 clipboard-write sequence and captured the raw bytes broot wrote to its pty, confirming the sequence reaches the terminal unstripped. What an injected OSC or CSI sequence can then do depends on the terminal emulator in use. Browsing a directory is broot's primary function and carries no expectation that the content is trusted.
Severity
SSVC
Exploitation: poc
Automatable: no
Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-08-21 16:22 UTC
CWE
- CWE-150 - Improper Neutralization of Escape, Meta, or Control Sequences
Assigner
References
7 references
| URL | Tags |
|---|---|
| https://github.com/Canop/broot/issues/1188 | issue-tracking |
| https://github.com/Canop/broot/commit/4ba40f7d47a… | patch |
| https://github.com/Canop/broot/commit/0717a94b3c0… | patch |
| https://github.com/Canop/broot/blob/v1.58.0/src/t… | technical-description |
| https://github.com/Canop/broot/blob/v1.58.0/src/t… | technical-description |
| https://github.com/Canop/broot | product |
| https://www.vulncheck.com/advisories/broot-termin… | third-party-advisory |
Date Public
2026-08-06 00:00
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-72847",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-08-21T16:22:34.537761Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-08-21T16:22:56.831Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"references": [
{
"tags": [
"exploit"
],
"url": "https://github.com/Canop/broot/issues/1188"
}
],
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"packageURL": "pkg:cargo/broot",
"product": "broot",
"repo": "https://github.com/Canop/broot",
"vendor": "Canop",
"versions": [
{
"lessThanOrEqual": "1.58.0",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "reporter",
"value": "carfeii"
}
],
"datePublic": "2026-08-06T00:00:00.000Z",
"descriptions": [
{
"lang": "en",
"value": "broot renders each file and directory name in its interactive tree view exactly as read from the filesystem. Names are converted with a plain to_string_lossy() call in src/tree_build/builder.rs and in TreeLine::unprune in src/tree/tree_line.rs, and no control-character filtering exists anywhere in the code, even though the doc comment on the TreeLine name field states that some characters may have been stripped. Any local user who can create a file can therefore place an escape sequence in its name and have it written unmodified to the terminal of anyone who browses that directory, between broot\u0027s own styling codes. A reported proof of concept used an OSC 52 clipboard-write sequence and captured the raw bytes broot wrote to its pty, confirming the sequence reaches the terminal unstripped. What an injected OSC or CSI sequence can then do depends on the terminal emulator in use. Browsing a directory is broot\u0027s primary function and carries no expectation that the content is trusted."
}
],
"metrics": [
{
"cvssV4_0": {
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"attackVector": "LOCAL",
"baseScore": 2.4,
"baseSeverity": "LOW",
"privilegesRequired": "LOW",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "LOW",
"subIntegrityImpact": "LOW",
"userInteraction": "PASSIVE",
"vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N",
"version": "4.0",
"vulnAvailabilityImpact": "NONE",
"vulnConfidentialityImpact": "LOW",
"vulnIntegrityImpact": "LOW"
},
"format": "CVSS"
},
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "NONE",
"baseScore": 4.6,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "LOW",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
"version": "3.1"
},
"format": "CVSS"
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-150",
"description": "Improper Neutralization of Escape, Meta, or Control Sequences",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-08-20T17:19:34.678Z",
"orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"shortName": "VulnCheck"
},
"references": [
{
"name": "GitHub Issue #1188",
"tags": [
"issue-tracking"
],
"url": "https://github.com/Canop/broot/issues/1188"
},
{
"name": "Strip terminal escape sequences from displayed file/directory names (#1189)",
"tags": [
"patch"
],
"url": "https://github.com/Canop/broot/commit/4ba40f7d47af78457c7656f15eba71d63d97fce5"
},
{
"name": "improve esc stripping, apply it to link targets too",
"tags": [
"patch"
],
"url": "https://github.com/Canop/broot/commit/0717a94b3c0efa19c7bbcfe0fb49a2374752a168"
},
{
"name": "Unsanitized name handling in TreeLine at v1.58.0",
"tags": [
"technical-description"
],
"url": "https://github.com/Canop/broot/blob/v1.58.0/src/tree/tree_line.rs"
},
{
"name": "Unsanitized name construction in the tree builder at v1.58.0",
"tags": [
"technical-description"
],
"url": "https://github.com/Canop/broot/blob/v1.58.0/src/tree_build/builder.rs"
},
{
"tags": [
"product"
],
"url": "https://github.com/Canop/broot"
},
{
"name": "VulnCheck Advisory: broot Terminal Escape Sequence Injection via Unsanitized File and Directory Names in the Tree View",
"tags": [
"third-party-advisory"
],
"url": "https://www.vulncheck.com/advisories/broot-terminal-escape-sequence-injection-via-unsanitized-file-and-directory-names-in-the-tree-view"
}
],
"title": "broot Terminal Escape Sequence Injection via Unsanitized File and Directory Names in the Tree View",
"x_generator": {
"engine": "vulncheck-endgame"
}
}
},
"cveMetadata": {
"assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"assignerShortName": "VulnCheck",
"cveId": "CVE-2026-72847",
"datePublished": "2026-08-20T17:19:34.678Z",
"dateReserved": "2026-08-10T15:14:51.468Z",
"dateUpdated": "2026-08-21T16:22:56.831Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}