{"vuln_id":"GHSA-375f-4r2h-f99j","aliases":[],"description":null,"published_at":null,"modified_at":null,"first_seen_at":"2026-11-21T19:15:46.193944Z","severity":"unknown","severity_source":null,"cvss_score":null,"cvss_vector":null,"cwe":[],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":null,"epss_percentile":null,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://github.com/advisories/GHSA-375f-4r2h-f99j"},"matched_alias":null,"items":[{"id":3109,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-39807: Reliance on Untrusted Inputs in a Security Decision vulnerability in mtrudel bandit allows unauthenticated transport-state spoofing on plaintext HTTP connectio…","summary":"Reliance on Untrusted Inputs in a Security Decision vulnerability in mtrudel bandit allows unauthenticated transport-state spoofing on plaintext HTTP connections.\n\nBandit.Pipeline.determine_scheme/2 in lib/bandit/pipeline.ex returns the client-supplied URI scheme verbatim, ignoring the transport's secure? flag. HTTP/1.1 absolute-form request targets (e.g. GET https://victim/path HTTP/1.1) and the HTTP/2 :scheme pseudo-header are both attacker-controlled strings that flow through this function. Over a plaintext TCP connection, a client can declare https and Bandit will set conn.scheme = :https even though no TLS was negotiated.\n\nDownstream Plug consumers that branch on conn.scheme are silently misled: Plug.SSL's already-secure branch skips its HTTP→HTTPS redirect, cookies emitted with secure: true are sent over plaintext, audit logs record requests as having arrived over HTTPS, and CSRF/SameSite gating may make incorrect decisions.\n\nThis issue affects bandit: from 1.0.0-pre.6 before 1.11.0.\n\nReferences:\nhttps://cna.erlef.org/cves/CVE-2026-39807.html\nhttps://github.com/mtrudel/bandit/commit/45feea20dea8af7ffd7245271107b695c040e667\nhttps://github.com/mtrudel/bandit/commit/ff2f829326cd5dcf7335939aef9775269d881e28\nhttps://github.com/mtrudel/bandit/security/advisories/GHSA-375f-4r2h-f99j\nhttps://osv.dev/vulnerability/EEF-CVE-2026-39807\nhttps://github.com/mtrudel/bandit/security/advisories/GHSA-375f-4r2h-f99j","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39807","published_at":"2026-05-01T21:16:17.180000Z","updated_at":"2026-11-20T05:18:55.280000Z","fetched_at":"2026-11-21T19:15:31.478718Z","severity":"medium","cvss_score":6.3,"epss":0.00531,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-39807","vuln_ids":["CVE-2026-39807","GHSA-375F-4R2H-F99J"],"tags":["CWE-807"],"cluster_id":3126,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/3109","html":"https://vulnwatch.ve1ve2.com/item/3109"}}]}