CVE-2026-42085
Full vulnerability record from the local CVENow database.
Description
OpenC3 COSMOS provides the functionality needed to send commands to and receive data from one or more embedded systems. Prior to versions 6.10.5 and 7.0.0-rc3, OpenC3 COSMOS contains a design flaw in the save_tool_config() function that allows saving tool configuration files at arbitrary locations inside the shared /plugins directory tree by supplying crafted configuration filenames. Although the implementation sufficiently mitigates standard path traversal attacks, by canonicalizing filename to an absolute path, all plugins share this same root directory. That enables users to create arbitrary file structures and overwrite existing configuration files within the shared /plugins directory. This issue has been patched in versions 6.10.5 and 7.0.0-rc3.
View original CVE JSON
{
"id": "CVE-2026-42085",
"sourceIdentifier": "[email protected]",
"published": "2026-05-04T18:16:30.510",
"lastModified": "2026-10-26T19:10:00.163",
"vulnStatus": "Analyzed",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "OpenC3 COSMOS provides the functionality needed to send commands to and receive data from one or more embedded systems. Prior to versions 6.10.5 and 7.0.0-rc3, OpenC3 COSMOS contains a design flaw in the save_tool_config() function that allows saving tool configuration files at arbitrary locations inside the shared /plugins directory tree by supplying crafted configuration filenames. Although the implementation sufficiently mitigates standard path traversal attacks, by canonicalizing filename to an absolute path, all plugins share this same root directory. That enables users to create arbitrary file structures and overwrite existing configuration files within the shared /plugins directory. This issue has been patched in versions 6.10.5 and 7.0.0-rc3."
},
{
"lang": "es",
"value": "OpenC3 COSMOS proporciona la funcionalidad necesaria para enviar comandos a y recibir datos de uno o más sistemas embebidos. Antes de las versiones 6.10.5 y 7.0.0-rc3, OpenC3 COSMOS contiene un fallo de diseño en la función save_tool_config() que permite guardar archivos de configuración de herramientas en ubicaciones arbitrarias dentro del árbol de directorios compartido /plugins al proporcionar nombres de archivo de configuración manipulados. Aunque la implementación mitiga suficientemente los ataques estándar de salto de ruta, al canonizar el nombre de archivo a una ruta absoluta, todos los plugins comparten este mismo directorio raíz. Eso permite a los usuarios crear estructuras de archivos arbitrarias y sobrescribir archivos de configuración existentes dentro del directorio compartido /plugins. Este problema ha sido parcheado en las versiones 6.10.5 y 7.0.0-rc3."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "OpenC3",
"product": "cosmos",
"versions": [
{
"version": "< 6.10.5",
"status": "affected"
},
{
"version": ">= 7.0.0.pre.rc1, < 7.0.0-rc3",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N",
"baseScore": 4.3,
"baseSeverity": "MEDIUM",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "LOW",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "NONE",
"integrityImpact": "LOW",
"availabilityImpact": "NONE"
},
"exploitabilityScore": 2.8,
"impactScore": 1.4
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-05-04T18:43:28.813129Z",
"id": "CVE-2026-42085",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-23"
}
]
}
],
"configurations": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:openc3:cosmos:*:*:*:*:open_source:*:*:*",
"versionEndExcluding": "6.10.5",
"matchCriteriaId": "930EEABE-50A2-4005-AE3C-2D14AF5A60BD"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:openc3:cosmos:7.0.0:rc1:*:*:open_source:*:*:*",
"matchCriteriaId": "38B72355-49A3-4D2F-BFDB-EE53C9E2C7AD"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:openc3:cosmos:7.0.0:rc2:*:*:open_source:*:*:*",
"matchCriteriaId": "13E3A0EA-1085-4505-80BB-C0B133EC3498"
}
]
}
]
}
],
"references": [
{
"url": "https://github.com/OpenC3/cosmos/commit/9957a9fa460c0c0cf5cdbf6a5931bbdd025246a5",
"source": "[email protected]",
"tags": [
"Patch"
]
},
{
"url": "https://github.com/OpenC3/cosmos/commit/e6efccbd148ba0e3361c5891027f2373aa140d42",
"source": "[email protected]",
"tags": [
"Patch"
]
},
{
"url": "https://github.com/OpenC3/cosmos/releases/tag/v6.10.5",
"source": "[email protected]",
"tags": [
"Release Notes"
]
},
{
"url": "https://github.com/OpenC3/cosmos/releases/tag/v7.0.0-rc3",
"source": "[email protected]",
"tags": [
"Release Notes"
]
},
{
"url": "https://github.com/OpenC3/cosmos/security/advisories/GHSA-4jvx-93h3-f45h",
"source": "[email protected]",
"tags": [
"Exploit",
"Vendor Advisory"
]
},
{
"url": "https://github.com/OpenC3/cosmos/security/advisories/GHSA-4jvx-93h3-f45h",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"tags": [
"Exploit",
"Vendor Advisory"
]
}
]
}