{"answers":{"affected":"3 open source packages ship an affected version, including libpython, python and python-min.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-15806 exists.","fix":"Upgrade libpython to a fixed version for your release line: 3.10.22, 3.11.17, 3.12.15 or 3.13.16.","what":"CVE-2026-15806 is a medium-severity vulnerability in CPython, published on 18 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-15806 and fix it if it is affected.\n\nWhat it is: CVE-2026-15806 is a medium-severity vulnerability in CPython, published on 18 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-15806 exists.\n\nAffected packages and fixed versions:\n- libpython (Bitnami): affected all versions; fixed in 3.10.22, 3.11.17, 3.12.15, 3.13.16, 3.14.8\n- python (Bitnami): affected all versions; fixed in 3.10.22, 3.11.17, 3.12.15, 3.13.16, 3.14.8\n- python-min (Bitnami): affected all versions; fixed in 3.10.22, 3.11.17, 3.12.15, 3.13.16, 3.14.8\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-15806/ (Markdown: https://insights.sbomify.com/CVE-2026-15806/index.md)","id":"CVE-2026-15806","markdown":"https://insights.sbomify.com/CVE-2026-15806/index.md","name":"CVE-2026-15806","record":{"aliases":["ALPINE-CVE-2026-15806","AZL-96867","BELL-CVE-2026-15806","BIT-libpython-2026-15806","BIT-python-2026-15806","BIT-python-min-2026-15806","DEBIAN-CVE-2026-15806","ECHO-d825-d451-60e0","GHSA-2v69-2w5x-455j","MINI-53qf-6hp2-vq4r","MINI-5hf4-68qw-99m9","MINI-p84m-j8qx-5xjj","MINI-rcpr-vrrj-vvwg","MINI-xr38-v2q7-rrvg","PSF-2026-36","UBUNTU-CVE-2026-15806"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Python standard library","requires_auth":"none","summary":"An attacker can capture HTTPS credentials in cleartext by downgrading connections to HTTP due to incorrect scheme matching in Python's urllib.request module.","user_interaction":"required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"PSF","cpe":[],"cvss":{"score":6,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-522","name":"Insufficiently Protected Credentials"},{"id":"CWE-319","name":"Cleartext Transmission of Sensitive Information"}],"description":"The HTTPPasswordMgr class in the urllib.request module, along with its subclasses HTTPPasswordMgrWithDefaultRealm and HTTPPasswordMgrWithPriorAuth, did not take the URL scheme into account when matching stored credentials against a requested URL. Credentials added for an https:// URL were also used for requests to the same host over http://, so an attacker able to redirect or downgrade a client to plain HTTP (for example, via an HTTPS-to-HTTP redirect or an on-path position) could capture credentials in cleartext. Credentials added for http:// URLs could likewise be sent over https://.\n\nCredential matching is now scoped by URL scheme. Credentials registered with a URL that includes a scheme are only used for requests with the same scheme. Credentials registered with a bare authority (such as example.com or example.com:8080) continue to match any scheme, preserving compatibility with existing code, including proxy authentication.\n\nUsers who cannot upgrade immediately can mitigate by ensuring that applications never make plain http:// requests to hosts for which credentials are registered, for example by not following redirects to http:// URLs.","ecosystems":["Bitnami"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"`HTTPPasswordMgr` can send saved HTTPS credentials via HTTP because of incorrect scheme matching","id":"CVE-2026-15806","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":3,"n_references":10,"next":{"headline":"Github.com/cri-o/cri-o: fix bypass for cve-2022-4318 — /etc/passwd injection via home env","id":"CVE-2026-15809"},"packages":[{"ecosystem":"Bitnami","fixed":["3.10.22","3.11.17","3.12.15","3.13.16","3.14.8"],"introduced":["0","3.11.0","3.12.0","3.13.0","3.14.0"],"last_affected":[],"package":"libpython","purl":"pkg:bitnami/libpython","source":"BIT-libpython-2026-15806"},{"ecosystem":"Bitnami","fixed":["3.10.22","3.11.17","3.12.15","3.13.16","3.14.8"],"introduced":["0","3.11.0","3.12.0","3.13.0","3.14.0"],"last_affected":[],"package":"python","purl":"pkg:bitnami/python","source":"BIT-python-2026-15806"},{"ecosystem":"Bitnami","fixed":["3.10.22","3.11.17","3.12.15","3.13.16","3.14.8"],"introduced":["0","3.11.0","3.12.0","3.13.0","3.14.0"],"last_affected":[],"package":"python-min","purl":"pkg:bitnami/python-min","source":"BIT-python-min-2026-15806"}],"prev":{"headline":"This CVE ID has been rejected or withdrawn by its CVE Numbering Authority.","id":"CVE-2026-15805"},"products":["CPython"],"published":"2026-08-18","related":[],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-02","vendors":["Python Software Foundation"]},"summary":"An attacker can capture HTTPS credentials in cleartext by downgrading connections to HTTP due to incorrect scheme matching in Python's urllib.request module.","url":"https://insights.sbomify.com/CVE-2026-15806/"}