A flaw in the curl command line tool's logic makes it only set SSH host verification options when interacting directly using SFTP or SCP, and not as a result of following a redirect.
{
"CWE": {
"desc": "Improper Validation of Certificate with Host Mismatch",
"id": "CWE-297"
},
"URL": "https://curl.se/docs/CVE-2026-86410.json",
"affects": "tool",
"issue": "https://hackerone.com/reports/3973176",
"last_affected": "8.22.0",
"package": "curl",
"severity": "Low",
"www": "https://curl.se/docs/CVE-2026-86410.html"
}"https://curl.se/docs/CURL-CVE-2026-86410.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"47867325610576650557779230007558323816",
"282626406731876510239568433624108019169",
"310713682130866386096749745968055686502",
"168583849200618690385086442961472164869",
"2209366251611938753223519441015980963",
"105954166515794227384975620593930454029",
"267390093974466156951325964091341654738",
"174182901312012251474138021779989026334",
"180827972088532995856860959794453102882",
"110272244605139615690424289252316990539",
"254781940289320172849425475267613088296",
"187416468475513829843547702690956535198",
"155207991588161820706047545895185527326",
"175407062363322973957874633039352654395",
"16676326302695617478485759104982005036",
"215824580345249793221879991925948730833",
"326900991520252177183398139864759326634",
"128457985078852867276264684436247715026",
"141811291415982541986902210513192523027",
"160150201190153493228743927055350507491",
"230764140601917960053790841970687709476",
"213492034993084994388610835834305131611",
"4675237173758492210309650684434874160",
"239093981652071535796595219910024226898",
"145819480287319933989725273502106769655",
"215159438974475905754255995291682022840"
],
"threshold": 0.9
},
"id": "CURL-CVE-2026-86410-5c510093",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/curl/curl.git/commit/6ae9befb2fb6bdfdb5fc11fdf76bbe519fe1f52c",
"target": {
"file": "src/config2setopts.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "130024130994697470405313109408487248524",
"length": 709
},
"id": "CURL-CVE-2026-86410-b9e1ebdb",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/curl/curl.git/commit/6ae9befb2fb6bdfdb5fc11fdf76bbe519fe1f52c",
"target": {
"file": "src/config2setopts.c",
"function": "protocol_setopts"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "161782019647979672434159432983323496994",
"length": 1176
},
"id": "CURL-CVE-2026-86410-eb0f65bb",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/curl/curl.git/commit/6ae9befb2fb6bdfdb5fc11fdf76bbe519fe1f52c",
"target": {
"file": "src/config2setopts.c",
"function": "ssh_setopts"
}
}
]
"2026-11-10T13:04:14Z"