{"answers":{"affected":"3 open source packages ship an affected version, including libpython, python and python-min. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-6019 in the wild and no public exploit code.","fix":"Upgrade libpython to a fixed version for your release line: 3.13.14 or 3.14.5.","what":"CVE-2026-6019 is a low-severity cross-site scripting vulnerability in Python Python, published on 22 Apr 2026. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-6019 and fix it if it is affected.\n\nWhat it is: CVE-2026-6019 is a low-severity cross-site scripting vulnerability in Python Python, published on 22 Apr 2026. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-6019 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- libpython (Bitnami): affected all versions; fixed in 3.13.14, 3.14.5\n- python (Bitnami): affected all versions; fixed in 3.13.14, 3.14.5\n- python-min (Bitnami): affected all versions; fixed in 3.13.14, 3.14.5\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-6019/ (Markdown: https://insights.sbomify.com/CVE-2026-6019/index.md)","id":"CVE-2026-6019","markdown":"https://insights.sbomify.com/CVE-2026-6019/index.md","name":"CVE-2026-6019","record":{"aliases":["AZL-109716","AZL-84728","BELL-CVE-2026-6019","BIT-libpython-2026-6019","BIT-python-2026-6019","BIT-python-min-2026-6019","CLSA-2026-1780400093","CLSA-2026-1780481964","CLSA-2026-1780497150","CLSA-2026-1780498704","DEBIAN-CVE-2026-6019","ECHO-1e4c-228c-95ee","GHSA-2755-2mm4-rm5c","MINI-4pxg-f66m-j7fv","MINI-4xv9-2j3q-2vmp","MINI-87fm-mqwf-q5mg","MINI-jpp5-55pm-p7m5","MINI-pffr-5h4j-f65v","OESA-2026-2269","OESA-2026-2270","OESA-2026-2271","PSF-2026-21","RHSA-2026:22952","RHSA-2026:32980","RHSA-2026:32997","RHSA-2026:33885","ROOT-OS-DEBIAN-11-CVE-2026-6019","UBUNTU-CVE-2026-6019"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Python standard library","requires_auth":"high_privilege","summary":"An attacker can inject malicious scripts via cookie values due to insufficient escaping in Python's http.cookies module, leading to XSS.","user_interaction":"not_required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"PSF","cpe":[{"product":"python","vendor":"python"}],"cvss":{"score":2.1,"severity":"low","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"},{"id":"CWE-150","name":"Improper Neutralization of Escape, Meta, or Control Sequences"}],"description":"http.cookies.Morsel.js_output() returns an inline \u003cscript\u003e snippet and only escapes \" for JavaScript string context. It does not neutralize the HTML parser-sensitive sequence \u003c/script\u003e inside the generated script element. Mitigation base64-encodes the cookie value to disallow escaping using cookie value.","ecosystems":["Bitnami","Red Hat:hummingbird:1"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"BaseCookie.js_output() does not neutralize embedded characters","id":"CVE-2026-6019","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"python:python","products":["python:python"],"type":"xss","year":"2026"},"n_packages":42,"n_references":6,"next":{"headline":"ShopLentor \u003c= 3.3.7 - Authenticated (Administrator+) Arbitrary Function Execution via 'callback' Parameter via REST API","id":"CVE-2026-6020"},"packages":[{"ecosystem":"Bitnami","fixed":["3.13.14","3.14.5"],"introduced":["0","3.14.0"],"last_affected":[],"package":"libpython","purl":"pkg:bitnami/libpython","source":"BIT-libpython-2026-6019"},{"ecosystem":"Bitnami","fixed":["3.13.14","3.14.5"],"introduced":["0","3.14.0"],"last_affected":[],"package":"python","purl":"pkg:bitnami/python","source":"BIT-python-2026-6019"},{"ecosystem":"Bitnami","fixed":["3.13.14","3.14.5"],"introduced":["0","3.14.0"],"last_affected":[],"package":"python-min","purl":"pkg:bitnami/python-min","source":"BIT-python-min-2026-6019"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.14.5-2.hum1"],"introduced":["0"],"last_affected":[],"package":"python-unversioned-command","purl":"pkg:rpm/redhat/python-unversioned-command","source":"RHSA-2026:22952"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.14.5-2.hum1"],"introduced":["0"],"last_affected":[],"package":"python3","purl":"pkg:rpm/redhat/python3","source":"RHSA-2026:22952"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.14.5-2.hum1"],"introduced":["0"],"last_affected":[],"package":"python3-debug","purl":"pkg:rpm/redhat/python3-debug","source":"RHSA-2026:22952"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.14.5-2.hum1"],"introduced":["0"],"last_affected":[],"package":"python3-devel","purl":"pkg:rpm/redhat/python3-devel","source":"RHSA-2026:22952"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.14.5-2.hum1"],"introduced":["0"],"last_affected":[],"package":"python3-idle","purl":"pkg:rpm/redhat/python3-idle","source":"RHSA-2026:22952"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.14.5-2.hum1"],"introduced":["0"],"last_affected":[],"package":"python3-libs","purl":"pkg:rpm/redhat/python3-libs","source":"RHSA-2026:22952"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.14.5-2.hum1"],"introduced":["0"],"last_affected":[],"package":"python3-test","purl":"pkg:rpm/redhat/python3-test","source":"RHSA-2026:22952"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.14.5-2.hum1"],"introduced":["0"],"last_affected":[],"package":"python3-tkinter","purl":"pkg:rpm/redhat/python3-tkinter","source":"RHSA-2026:22952"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.11.15-4.3.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.11","purl":"pkg:rpm/redhat/python3.11","source":"RHSA-2026:33885"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.11.15-4.3.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.11-debug","purl":"pkg:rpm/redhat/python3.11-debug","source":"RHSA-2026:33885"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.11.15-4.3.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.11-devel","purl":"pkg:rpm/redhat/python3.11-devel","source":"RHSA-2026:33885"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.11.15-4.3.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.11-idle","purl":"pkg:rpm/redhat/python3.11-idle","source":"RHSA-2026:33885"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.11.15-4.3.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.11-libs","purl":"pkg:rpm/redhat/python3.11-libs","source":"RHSA-2026:33885"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.11.15-4.3.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.11-test","purl":"pkg:rpm/redhat/python3.11-test","source":"RHSA-2026:33885"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.11.15-4.3.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.11-tkinter","purl":"pkg:rpm/redhat/python3.11-tkinter","source":"RHSA-2026:33885"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.12.13-3.2.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.12","purl":"pkg:rpm/redhat/python3.12","source":"RHSA-2026:32980"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.12.13-3.2.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.12-debug","purl":"pkg:rpm/redhat/python3.12-debug","source":"RHSA-2026:32980"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.12.13-3.2.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.12-devel","purl":"pkg:rpm/redhat/python3.12-devel","source":"RHSA-2026:32980"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.12.13-3.2.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.12-idle","purl":"pkg:rpm/redhat/python3.12-idle","source":"RHSA-2026:32980"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.12.13-3.2.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.12-libs","purl":"pkg:rpm/redhat/python3.12-libs","source":"RHSA-2026:32980"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.12.13-3.2.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.12-test","purl":"pkg:rpm/redhat/python3.12-test","source":"RHSA-2026:32980"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.12.13-3.2.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.12-tkinter","purl":"pkg:rpm/redhat/python3.12-tkinter","source":"RHSA-2026:32980"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.13.14-1.1.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.13","purl":"pkg:rpm/redhat/python3.13","source":"RHSA-2026:32997"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.13.14-1.1.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.13-debug","purl":"pkg:rpm/redhat/python3.13-debug","source":"RHSA-2026:32997"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.13.14-1.1.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.13-devel","purl":"pkg:rpm/redhat/python3.13-devel","source":"RHSA-2026:32997"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.13.14-1.1.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.13-freethreading","purl":"pkg:rpm/redhat/python3.13-freethreading","source":"RHSA-2026:32997"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.13.14-1.1.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.13-freethreading-debug","purl":"pkg:rpm/redhat/python3.13-freethreading-debug","source":"RHSA-2026:32997"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.13.14-1.1.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.13-idle","purl":"pkg:rpm/redhat/python3.13-idle","source":"RHSA-2026:32997"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.13.14-1.1.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.13-libs","purl":"pkg:rpm/redhat/python3.13-libs","source":"RHSA-2026:32997"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.13.14-1.1.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.13-test","purl":"pkg:rpm/redhat/python3.13-test","source":"RHSA-2026:32997"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.13.14-1.1.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.13-tkinter","purl":"pkg:rpm/redhat/python3.13-tkinter","source":"RHSA-2026:32997"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.14.5-2.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.14","purl":"pkg:rpm/redhat/python3.14","source":"RHSA-2026:22952"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.14.5-2.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.14-freethreading","purl":"pkg:rpm/redhat/python3.14-freethreading","source":"RHSA-2026:22952"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.14.5-2.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.14-freethreading-debug","purl":"pkg:rpm/redhat/python3.14-freethreading-debug","source":"RHSA-2026:22952"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.14.5-2.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.14-freethreading-devel","purl":"pkg:rpm/redhat/python3.14-freethreading-devel","source":"RHSA-2026:22952"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.14.5-2.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.14-freethreading-idle","purl":"pkg:rpm/redhat/python3.14-freethreading-idle","source":"RHSA-2026:22952"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.14.5-2.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.14-freethreading-libs","purl":"pkg:rpm/redhat/python3.14-freethreading-libs","source":"RHSA-2026:22952"}],"prev":{"headline":"Missing Authentication for Critical Function in KAON PG5298","id":"CVE-2026-6017"},"products":["CPython"],"published":"2026-04-22","related":[{"cvss_score":10,"headline":"Integer overflow in n/a","id":"CVE-2008-5031","kev_date_added":null,"published":"2008-11-10"},{"cvss_score":9.8,"headline":"Path traversal in n/a","id":"CVE-2014-4650","kev_date_added":null,"published":"2020-02-20"},{"cvss_score":9.8,"headline":"Integer overflow in n/a","id":"CVE-2016-5636","kev_date_added":null,"published":"2016-09-02"},{"cvss_score":9.8,"headline":"Path traversal in n/a","id":"CVE-2007-4559","kev_date_added":null,"published":"2007-08-28"},{"cvss_score":8.8,"headline":"Command injection in n/a","id":"CVE-2017-17522","kev_date_added":null,"published":"2017-12-14"},{"cvss_score":8.7,"headline":"Incremental HTMLParser feed() allows CPU-exhaustion DoS via repeated unterminated markup declarations","id":"CVE-2026-15308","kev_date_added":null,"published":"2026-07-09"},{"cvss_score":7.8,"headline":"Privilege escalation in n/a","id":"CVE-2019-13404","kev_date_added":null,"published":"2019-07-08"}],"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":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-10","vendors":["Python Software Foundation"]},"summary":"An attacker can inject malicious scripts via cookie values due to insufficient escaping in Python's http.cookies module, leading to XSS.","url":"https://insights.sbomify.com/CVE-2026-6019/"}