curl would wrongly reuse an existing HTTP proxy connection doing CONNECT to a server, even if the new request uses different credentials for the HTTP proxy. The proper behavior is to create or use a separate connection.
{
"package": "curl",
"issue": "https://hackerone.com/reports/3584903",
"severity": "Low",
"URL": "https://curl.se/docs/CVE-2026-3784.json",
"affects": "both",
"CWE": {
"desc": "Authentication Bypass by Primary Weakness",
"id": "CWE-305"
},
"www": "https://curl.se/docs/CVE-2026-3784.html",
"last_affected": "8.18.0"
}[
{
"signature_type": "Function",
"deprecated": false,
"id": "CURL-CVE-2026-3784-1563ccc6",
"target": {
"file": "lib/url.c",
"function": "proxy_info_matches"
},
"digest": {
"length": 250.0,
"function_hash": "304424982618101118051780626607065937137"
},
"signature_version": "v1",
"source": "https://github.com/curl/curl.git/commit/5f13a7645e565c5c1a06f3ef86e97afb856fb364"
},
{
"signature_type": "Function",
"deprecated": false,
"id": "CURL-CVE-2026-3784-24fdd663",
"target": {
"file": "lib/url.c",
"function": "socks_proxy_info_matches"
},
"digest": {
"length": 251.0,
"function_hash": "156847319230870095583887509199151235125"
},
"signature_version": "v1",
"source": "https://github.com/curl/curl.git/commit/5f13a7645e565c5c1a06f3ef86e97afb856fb364"
},
{
"signature_type": "Line",
"deprecated": false,
"id": "CURL-CVE-2026-3784-db376948",
"target": {
"file": "lib/url.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"28198451978076953179959188918451268147",
"281673914764183415723044625038716534191",
"200855833354261436815608522668489466846",
"5387804322910666783572395908044232661",
"236020795518562151691835007362979410387",
"17450557644387912671244308544988815862",
"143048806250994210279637270903948951646",
"140460714839795236180824974953309975661",
"333720084210032823607267343226770582379",
"331697448246752651778648505556653532906",
"22128409967120680154956528188638186822",
"137746103134972144068270578958105877138",
"65788874135120305231986682270701016923",
"60737932765286278430331372663472782818",
"184914865177630377594351218661619057487",
"301989571442316518697531570240250833782",
"177716688628404441639553594179643257215",
"67479828686876523434398651942505625370",
"172521746541650491399053767548077956775",
"197718837176355740128997674513855282001",
"139478862402738275211722289962537500430"
]
},
"signature_version": "v1",
"source": "https://github.com/curl/curl.git/commit/5f13a7645e565c5c1a06f3ef86e97afb856fb364"
}
]
"https://curl.se/docs/CURL-CVE-2026-3784.json"