{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-40188","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2026-04-09T20:59:17.620Z","datePublished":"2026-04-10T19:43:45.197Z","dateUpdated":"2026-04-13T15:35:32.574Z"},"containers":{"cna":{"title":"goshs is Missing Write Protection for Parametric Data Values","problemTypes":[{"descriptions":[{"cweId":"CWE-1314","lang":"en","description":"CWE-1314: Missing Write Protection for Parametric Data Values","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.7,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","version":"3.1"}}],"references":[{"name":"https://github.com/patrickhener/goshs/security/advisories/GHSA-2943-crp8-38xx","tags":["x_refsource_CONFIRM"],"url":"https://github.com/patrickhener/goshs/security/advisories/GHSA-2943-crp8-38xx"},{"name":"https://github.com/patrickhener/goshs/commit/141c188ce270ffbec087844a50e5e695b7da7744","tags":["x_refsource_MISC"],"url":"https://github.com/patrickhener/goshs/commit/141c188ce270ffbec087844a50e5e695b7da7744"},{"name":"https://github.com/patrickhener/goshs/releases/tag/v2.0.0-beta.4","tags":["x_refsource_MISC"],"url":"https://github.com/patrickhener/goshs/releases/tag/v2.0.0-beta.4"}],"affected":[{"vendor":"patrickhener","product":"goshs","versions":[{"version":">= 1.0.7, < 2.0.0-beta.4","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2026-04-10T19:43:45.197Z"},"descriptions":[{"lang":"en","value":"goshs is a SimpleHTTPServer written in Go. From 1.0.7 to before 2.0.0-beta.4, the SFTP command rename sanitizes only the source path and not the destination, so it is possible to write outside of the root directory of the SFTP. This vulnerability is fixed in 2.0.0-beta.4."}],"source":{"advisory":"GHSA-2943-crp8-38xx","discovery":"UNKNOWN"}},"adp":[{"references":[{"url":"https://github.com/patrickhener/goshs/security/advisories/GHSA-2943-crp8-38xx","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-13T15:28:25.294603Z","id":"CVE-2026-40188","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-04-13T15:35:32.574Z"}}]}}