CVE-2026-19243 (GCVE-0-2026-19243)
Vulnerability from cvelistv5 – Published: 2026-08-07 19:30 – Updated: 2026-08-07 19:30
VLAI
EPSS
VEX
Title
HKUDS nanobot Shell Allowlist shell.py ExecTool._spawn os command injection
Summary
A security vulnerability has been detected in HKUDS nanobot up to 0.2.1. Impacted is the function ExecTool._guard_command/ExecTool._spawn of the file nanobot/agent/tools/shell.py of the component Shell Allowlist Handler. Such manipulation leads to os command injection. The attack can be executed remotely. The exploit has been disclosed publicly and may be used. Upgrading to version 0.3.0 is recommended to address this issue. The name of the patch is 4562. It is advisable to upgrade the affected component. Multiple issues were reported to the project. They reacted with a high level of professionalism and kindness: "These five reports are variants of the same root cause: validation of shell commands containing multiple segments, wrappers, comments, or chained commands. The issue was fixed by validating every executable shell segment against the configured allowlist".
Severity
Assigner
References
13 references
| URL | Tags |
|---|---|
| https://vuldb.com/vuln/386997 | vdb-entrytechnical-description |
| https://vuldb.com/vuln/386997/cti | signaturepermissions-required |
| https://vuldb.com/cve/CVE-2026-19243 | third-party-advisory |
| https://vuldb.com/submit/865112 | third-party-advisory |
| https://vuldb.com/submit/865114 | third-party-advisory |
| https://vuldb.com/submit/865115 | third-party-advisory |
| https://vuldb.com/submit/865119 | third-party-advisory |
| https://vuldb.com/submit/865121 | third-party-advisory |
| https://github.com/HKUDS/nanobot/issues/4521 | issue-tracking |
| https://gist.github.com/YLChen-007/8fcbf8e49e7be5… | exploit |
| https://github.com/HKUDS/nanobot/pull/4562 | issue-trackingpatch |
| https://github.com/HKUDS/nanobot/releases/tag/v0.3.0 | patch |
| https://github.com/HKUDS/nanobot/ | product |
Impacted products
Credits
{
"containers": {
"cna": {
"affected": [
{
"cpes": [
"cpe:2.3:a:nanobot:nanobot:*:*:*:*:*:*:*:*"
],
"modules": [
"Shell Allowlist Handler"
],
"product": "nanobot",
"vendor": "HKUDS",
"versions": [
{
"status": "affected",
"version": "0.2.0"
},
{
"status": "affected",
"version": "0.2.1"
},
{
"status": "unaffected",
"version": "0.3.0"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "reporter",
"value": "Eric-c (VulDB User)"
},
{
"lang": "en",
"type": "coordinator",
"value": "VulDB CNA Team"
}
],
"descriptions": [
{
"lang": "en",
"value": "A security vulnerability has been detected in HKUDS nanobot up to 0.2.1. Impacted is the function ExecTool._guard_command/ExecTool._spawn of the file nanobot/agent/tools/shell.py of the component Shell Allowlist Handler. Such manipulation leads to os command injection. The attack can be executed remotely. The exploit has been disclosed publicly and may be used. Upgrading to version 0.3.0 is recommended to address this issue. The name of the patch is 4562. It is advisable to upgrade the affected component. Multiple issues were reported to the project. They reacted with a high level of professionalism and kindness: \"These five reports are variants of the same root cause: validation of shell commands containing multiple segments, wrappers, comments, or chained commands. The issue was fixed by validating every executable shell segment against the configured allowlist\"."
}
],
"metrics": [
{
"cvssV4_0": {
"baseScore": 5.3,
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P",
"version": "4.0"
}
},
{
"cvssV3_1": {
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C",
"version": "3.1"
}
},
{
"cvssV3_0": {
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C",
"version": "3.0"
}
},
{
"cvssV2_0": {
"baseScore": 6.5,
"vectorString": "AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C",
"version": "2.0"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-78",
"description": "OS Command Injection",
"lang": "en",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"cweId": "CWE-77",
"description": "Command Injection",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-08-07T19:30:13.316Z",
"orgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
"shortName": "VulDB"
},
"references": [
{
"name": "VDB-386997 | HKUDS nanobot Shell Allowlist shell.py ExecTool._spawn os command injection",
"tags": [
"vdb-entry",
"technical-description"
],
"url": "https://vuldb.com/vuln/386997"
},
{
"name": "VDB-386997 | CTI Indicators (IOB, IOC, TTP, IOA)",
"tags": [
"signature",
"permissions-required"
],
"url": "https://vuldb.com/vuln/386997/cti"
},
{
"name": "CVE-2026-19243 | CVE Analysis and Report",
"tags": [
"third-party-advisory"
],
"url": "https://vuldb.com/cve/CVE-2026-19243"
},
{
"name": "Submit #865112 | HKUDS nanobot 0.2.1 OS Command Injection via Allowlist Bypass (CWE-78)",
"tags": [
"third-party-advisory"
],
"url": "https://vuldb.com/submit/865112"
},
{
"name": "Submit #865114 | HKUDS nanobot 0.2.1 Command Injection via Comment-Tail Allowlist Bypass (CWE-88) (Duplicate)",
"tags": [
"third-party-advisory"
],
"url": "https://vuldb.com/submit/865114"
},
{
"name": "Submit #865115 | HKUDS nanobot 0.2.1 Allowlist Bypass via Wrapper Prefix (CWE-184) (Duplicate)",
"tags": [
"third-party-advisory"
],
"url": "https://vuldb.com/submit/865115"
},
{
"name": "Submit #865119 | HKUDS nanobot 0.2.1 Allowlist Bypass Leading to Command Execution (CWE-184) (Duplicate)",
"tags": [
"third-party-advisory"
],
"url": "https://vuldb.com/submit/865119"
},
{
"name": "Submit #865121 | HKUDS nanobot 0.2.1 Command Injection via Shell-Chain Allowlist Bypass (CWE-88) (Duplicate)",
"tags": [
"third-party-advisory"
],
"url": "https://vuldb.com/submit/865121"
},
{
"tags": [
"issue-tracking"
],
"url": "https://github.com/HKUDS/nanobot/issues/4521"
},
{
"tags": [
"exploit"
],
"url": "https://gist.github.com/YLChen-007/8fcbf8e49e7be568e1a92e9e0414fdba"
},
{
"tags": [
"issue-tracking",
"patch"
],
"url": "https://github.com/HKUDS/nanobot/pull/4562"
},
{
"tags": [
"patch"
],
"url": "https://github.com/HKUDS/nanobot/releases/tag/v0.3.0"
},
{
"tags": [
"product"
],
"url": "https://github.com/HKUDS/nanobot/"
}
],
"timeline": [
{
"lang": "en",
"time": "2026-08-07T00:00:00.000Z",
"value": "Advisory disclosed"
},
{
"lang": "en",
"time": "2026-08-07T02:00:00.000Z",
"value": "VulDB entry created"
},
{
"lang": "en",
"time": "2026-08-07T14:12:07.000Z",
"value": "VulDB entry last update"
}
],
"title": "HKUDS nanobot Shell Allowlist shell.py ExecTool._spawn os command injection",
"x_generator": [
"VulDB PVTS v202608"
]
}
},
"cveMetadata": {
"assignerOrgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
"assignerShortName": "VulDB",
"cveId": "CVE-2026-19243",
"datePublished": "2026-08-07T19:30:13.316Z",
"dateReserved": "2026-08-07T12:06:59.355Z",
"dateUpdated": "2026-08-07T19:30:13.316Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"nvd": "{\"cve\":{\"id\":\"CVE-2026-19243\",\"sourceIdentifier\":\"cna@vuldb.com\",\"published\":\"2026-08-07T20:16:50.913\",\"lastModified\":\"2026-08-07T20:16:50.913\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"A security vulnerability has been detected in HKUDS nanobot up to 0.2.1. Impacted is the function ExecTool._guard_command/ExecTool._spawn of the file nanobot/agent/tools/shell.py of the component Shell Allowlist Handler. Such manipulation leads to os command injection. The attack can be executed remotely. The exploit has been disclosed publicly and may be used. Upgrading to version 0.3.0 is recommended to address this issue. The name of the patch is 4562. It is advisable to upgrade the affected component. Multiple issues were reported to the project. They reacted with a high level of professionalism and kindness: \\\"These five reports are variants of the same root cause: validation of shell commands containing multiple segments, wrappers, comments, or chained commands. The issue was fixed by validating every executable shell segment against the configured allowlist\\\".\"}],\"affected\":[{\"source\":\"cna@vuldb.com\",\"affectedData\":[{\"vendor\":\"HKUDS\",\"product\":\"nanobot\",\"cpes\":[\"cpe:2.3:a:nanobot:nanobot:*:*:*:*:*:*:*:*\"],\"modules\":[\"Shell Allowlist Handler\"],\"versions\":[{\"version\":\"0.2.0\",\"status\":\"affected\"},{\"version\":\"0.2.1\",\"status\":\"affected\"},{\"version\":\"0.3.0\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV40\":[{\"source\":\"cna@vuldb.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"4.0\",\"vectorString\":\"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X\",\"baseScore\":2.1,\"baseSeverity\":\"LOW\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"attackRequirements\":\"NONE\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"vulnConfidentialityImpact\":\"LOW\",\"vulnIntegrityImpact\":\"LOW\",\"vulnAvailabilityImpact\":\"LOW\",\"subConfidentialityImpact\":\"NONE\",\"subIntegrityImpact\":\"NONE\",\"subAvailabilityImpact\":\"NONE\",\"exploitMaturity\":\"PROOF_OF_CONCEPT\",\"confidentialityRequirement\":\"NOT_DEFINED\",\"integrityRequirement\":\"NOT_DEFINED\",\"availabilityRequirement\":\"NOT_DEFINED\",\"modifiedAttackVector\":\"NOT_DEFINED\",\"modifiedAttackComplexity\":\"NOT_DEFINED\",\"modifiedAttackRequirements\":\"NOT_DEFINED\",\"modifiedPrivilegesRequired\":\"NOT_DEFINED\",\"modifiedUserInteraction\":\"NOT_DEFINED\",\"modifiedVulnConfidentialityImpact\":\"NOT_DEFINED\",\"modifiedVulnIntegrityImpact\":\"NOT_DEFINED\",\"modifiedVulnAvailabilityImpact\":\"NOT_DEFINED\",\"modifiedSubConfidentialityImpact\":\"NOT_DEFINED\",\"modifiedSubIntegrityImpact\":\"NOT_DEFINED\",\"modifiedSubAvailabilityImpact\":\"NOT_DEFINED\",\"Safety\":\"NOT_DEFINED\",\"Automatable\":\"NOT_DEFINED\",\"Recovery\":\"NOT_DEFINED\",\"valueDensity\":\"NOT_DEFINED\",\"vulnerabilityResponseEffort\":\"NOT_DEFINED\",\"providerUrgency\":\"NOT_DEFINED\"}}],\"cvssMetricV31\":[{\"source\":\"cna@vuldb.com\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L\",\"baseScore\":6.3,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"LOW\",\"integrityImpact\":\"LOW\",\"availabilityImpact\":\"LOW\"},\"exploitabilityScore\":2.8,\"impactScore\":3.4}],\"cvssMetricV2\":[{\"source\":\"cna@vuldb.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:N/AC:L/Au:S/C:P/I:P/A:P\",\"baseScore\":6.5,\"accessVector\":\"NETWORK\",\"accessComplexity\":\"LOW\",\"authentication\":\"SINGLE\",\"confidentialityImpact\":\"PARTIAL\",\"integrityImpact\":\"PARTIAL\",\"availabilityImpact\":\"PARTIAL\"},\"baseSeverity\":\"MEDIUM\",\"exploitabilityScore\":8.0,\"impactScore\":6.4,\"acInsufInfo\":false,\"obtainAllPrivilege\":false,\"obtainUserPrivilege\":false,\"obtainOtherPrivilege\":false,\"userInteractionRequired\":false}]},\"weaknesses\":[{\"source\":\"cna@vuldb.com\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-77\"},{\"lang\":\"en\",\"value\":\"CWE-78\"}]}],\"references\":[{\"url\":\"https://gist.github.com/YLChen-007/8fcbf8e49e7be568e1a92e9e0414fdba\",\"source\":\"cna@vuldb.com\"},{\"url\":\"https://github.com/HKUDS/nanobot/\",\"source\":\"cna@vuldb.com\"},{\"url\":\"https://github.com/HKUDS/nanobot/issues/4521\",\"source\":\"cna@vuldb.com\"},{\"url\":\"https://github.com/HKUDS/nanobot/pull/4562\",\"source\":\"cna@vuldb.com\"},{\"url\":\"https://github.com/HKUDS/nanobot/releases/tag/v0.3.0\",\"source\":\"cna@vuldb.com\"},{\"url\":\"https://vuldb.com/cve/CVE-2026-19243\",\"source\":\"cna@vuldb.com\"},{\"url\":\"https://vuldb.com/submit/865112\",\"source\":\"cna@vuldb.com\"},{\"url\":\"https://vuldb.com/submit/865114\",\"source\":\"cna@vuldb.com\"},{\"url\":\"https://vuldb.com/submit/865115\",\"source\":\"cna@vuldb.com\"},{\"url\":\"https://vuldb.com/submit/865119\",\"source\":\"cna@vuldb.com\"},{\"url\":\"https://vuldb.com/submit/865121\",\"source\":\"cna@vuldb.com\"},{\"url\":\"https://vuldb.com/vuln/386997\",\"source\":\"cna@vuldb.com\"},{\"url\":\"https://vuldb.com/vuln/386997/cti\",\"source\":\"cna@vuldb.com\"}]}}"
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
Loading…
Loading…