{"document":{"category":"csaf_vex","csaf_version":"2.0","title":"CVE-2026-48856: httpc leaks Authorization header to cross-origin redirect targets","publisher":{"category":"vendor","name":"HarborGuard Database","namespace":"https://database.harborguard.co"},"tracking":{"id":"CVE-2026-48856","status":"final","version":"1","initial_release_date":"2026-06-10T14:41:51.616Z","current_release_date":"2026-06-11T04:45:35.836Z","revision_history":[{"date":"2026-06-10T14:41:51.616Z","number":"1","summary":"Initial machine-readable export from HarborGuard."}]},"distribution":{"tlp":{"label":"WHITE"},"text":"Public CVE data; freely redistributable."},"notes":[{"category":"description","text":"Sensitive Data Exposure vulnerability in Erlang OTP inets (httpc_response module) allows Retrieve Embedded Sensitive Data.\n\nThe httpc client forwards the Authorization and Proxy-Authorization request headers to redirect targets without checking whether the redirect crosses an origin boundary. httpc_response:redirect/2 constructs the redirected request by updating only the host field of the header record; all other fields (including authorization and proxy_authorization) are copied verbatim. The redirect target host is never compared against the original host.\n\nautoredirect defaults to true, so this affects all httpc callers that do not explicitly disable automatic redirects.\n\nAn attacker who controls a server that the victim contacts via httpc can issue a cross-origin 3xx redirect to a server they also control. The Authorization header (including Basic credentials derived from URL userinfo via httpc_request:handle_user_info/2) is forwarded to the redirect target, allowing credential theft. The same applies to the Proxy-Authorization header.\n\nThis vulnerability is associated with program files lib/inets/src/http_client/httpc_response.erl.\n\nThis issue affects OTP from 17.0 before 29.0.2, 28.5.0.2 and 27.3.4.13 corresponding to inets from 5.10 before 9.7.1, 9.6.2.2 and 9.3.2.6.","title":"CVE description"}],"references":[{"category":"self","summary":"CVE-2026-48856 on HarborGuard Database","url":"https://database.harborguard.co/cve/CVE-2026-48856"},{"category":"external","summary":"CVE Record","url":"https://www.cve.org/CVERecord?id=CVE-2026-48856"},{"category":"external","summary":"github.com","url":"https://github.com/erlang/otp/security/advisories/GHSA-m75x-4vwg-ggjh"},{"category":"external","summary":"cna.erlef.org","url":"https://cna.erlef.org/cves/CVE-2026-48856.html"},{"category":"external","summary":"osv.dev","url":"https://osv.dev/vulnerability/EEF-CVE-2026-48856"},{"category":"external","summary":"erlang.org","url":"https://www.erlang.org/doc/system/versions.html#order-of-versions"},{"category":"external","summary":"github.com","url":"https://github.com/erlang/otp/commit/688d748d6f7a6a06b13b662a1d3de8af97079612"}]},"product_tree":{"branches":[{"category":"vendor","name":"Erlang","branches":[{"category":"product_name","name":"OTP","branches":[{"category":"product_version_range","name":">=5.10 <*","product":{"name":"Erlang OTP >=5.10 <*","product_id":"CSAFPID-1","product_identification_helper":{"cpe":"cpe:2.3:a:erlang:otp:*:*:*:*:*:*:*:*"}}}]}]},{"category":"vendor","name":"Erlang","branches":[{"category":"product_name","name":"OTP","branches":[{"category":"product_version_range","name":">=17.0 <*","product":{"name":"Erlang OTP >=17.0 <*","product_id":"CSAFPID-2","product_identification_helper":{"cpe":"cpe:2.3:a:erlang:otp:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=84adefa331c4159d432d22840663c38f155cd4c1 <688d748d6f7a6a06b13b662a1d3de8af97079612","product":{"name":"Erlang OTP >=84adefa331c4159d432d22840663c38f155cd4c1 <688d748d6f7a6a06b13b662a1d3de8af97079612","product_id":"CSAFPID-3","product_identification_helper":{"cpe":"cpe:2.3:a:erlang:otp:*:*:*:*:*:*:*:*"}}}]}]}]},"vulnerabilities":[{"cve":"CVE-2026-48856","title":"httpc leaks Authorization header to cross-origin redirect targets","notes":[{"category":"description","text":"Sensitive Data Exposure vulnerability in Erlang OTP inets (httpc_response module) allows Retrieve Embedded Sensitive Data.\n\nThe httpc client forwards the Authorization and Proxy-Authorization request headers to redirect targets without checking whether the redirect crosses an origin boundary. httpc_response:redirect/2 constructs the redirected request by updating only the host field of the header record; all other fields (including authorization and proxy_authorization) are copied verbatim. The redirect target host is never compared against the original host.\n\nautoredirect defaults to true, so this affects all httpc callers that do not explicitly disable automatic redirects.\n\nAn attacker who controls a server that the victim contacts via httpc can issue a cross-origin 3xx redirect to a server they also control. The Authorization header (including Basic credentials derived from URL userinfo via httpc_request:handle_user_info/2) is forwarded to the redirect target, allowing credential theft. The same applies to the Proxy-Authorization header.\n\nThis vulnerability is associated with program files lib/inets/src/http_client/httpc_response.erl.\n\nThis issue affects OTP from 17.0 before 29.0.2, 28.5.0.2 and 27.3.4.13 corresponding to inets from 5.10 before 9.7.1, 9.6.2.2 and 9.3.2.6.","title":"CVE description"}],"product_status":{"known_affected":["CSAFPID-1","CSAFPID-2","CSAFPID-3"]},"scores":[{"cvss_v4":{"version":"4.0","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","baseScore":7.1,"baseSeverity":"HIGH"},"products":["CSAFPID-1","CSAFPID-2","CSAFPID-3"]}],"remediations":[{"category":"vendor_fix","details":"Update to a fixed version: *, 688d748d6f7a6a06b13b662a1d3de8af97079612.","product_ids":["CSAFPID-1","CSAFPID-2","CSAFPID-3"],"url":"https://github.com/erlang/otp/commit/688d748d6f7a6a06b13b662a1d3de8af97079612"}]}]}