cve.bz

CVE-2026-6019 python python: Improper Encoding or Escaping of Output

2.1 lowExploit referenceEPSS 0.2%Fix available

Low (2.1) in python python. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
http.cookies.Morsel.js_output() returns an inline <script> snippet and only escapes " for JavaScript string context. It does not neutralize the HTML parser-sensitive sequence </script> inside the generated script element. Mitigation base64-encodes the cookie value to disallow escaping using cookie value.

Severity

CVSS 4.0

2.1 low
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

CVSS 3.1

6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 12th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-04-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-116 Improper Encoding or Escaping of Output
CWE-150 Improper Neutralization of Escape, Meta, or Control Sequences
OWASP Top 10
A05:2025 Injection
Published
Modified
Assigned by
PSF (CNA)
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-6019 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-6019?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-6019?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-6019 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Python Software Foundation CPythonbefore 3.13.14
Python Software Foundation CPythonfrom 3.14.0a1 before 3.14.5rc1
Python Software Foundation CPythonfrom 3.15.0a1 before 3.15.0b1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12python3.113.11.2-6+deb12u9DEBIAN-CVE-2026-6019 DLA-4827-1
Debian12, 13, 14pypy3no fix listedDEBIAN-CVE-2026-6019
Debian13python3.133.13.5-2+deb13u2DEBIAN-CVE-2026-6019
Debian14python3.143.14.5~rc1-1DEBIAN-CVE-2026-6019
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTS and 2 morepypy3no fix listedUBUNTU-CVE-2026-6019
Ubuntu22.04:LTSpython3.103.10.12-1~22.04.16UBUNTU-CVE-2026-6019 USN-8509-1 USN-8744-1
Ubuntu24.04:LTSpython3.123.12.3-1ubuntu0.15UBUNTU-CVE-2026-6019 USN-8509-1 USN-8744-1
Ubuntu25.10pypy3, python3.13, python3.14no fix listedUBUNTU-CVE-2026-6019
Ubuntu26.04:LTSpython3.143.14.4-1ubuntu0.1UBUNTU-CVE-2026-6019 USN-8509-1 USN-8744-1
UbuntuPro:14.04:LTSpython2.72.7.6-8ubuntu0.6+esm30UBUNTU-CVE-2026-6019 USN-8744-1
UbuntuPro:14.04:LTSpython3.43.4.3-1ubuntu1~14.04.7+esm21UBUNTU-CVE-2026-6019 USN-8744-1
UbuntuPro:14.04:LTSpython3.53.5.2-2ubuntu0~16.04.4~14.04.1+esm11UBUNTU-CVE-2026-6019 USN-8744-1
UbuntuPro:16.04:LTSpython2.72.7.12-1ubuntu0~16.04.18+esm22UBUNTU-CVE-2026-6019 USN-8744-1
UbuntuPro:16.04:LTSpython3.53.5.2-2ubuntu0~16.04.13+esm25UBUNTU-CVE-2026-6019 USN-8744-1
UbuntuPro:18.04:LTSpython2.72.7.17-1~18.04ubuntu1.13+esm15UBUNTU-CVE-2026-6019 USN-8744-1
UbuntuPro:18.04:LTSpython3.63.6.9-1~18.04ubuntu1.13+esm10UBUNTU-CVE-2026-6019 USN-8744-1
7 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:9::appstreampython3.14, python3.14-libs, python3.14-devel and 3 more0:3.14.5-1.el9_8RHSA-2026:28247
Red Hatenterprise_linux:9::crbpython3.14, python3.14-idle, python3.14-test and 11 more0:3.14.5-1.el9_8RHSA-2026:28247
Red Hatenterprise_linux:10.2python3.14, python3.14-idle, python3.14-libs and 13 more0:3.14.5-1.el10_2RHSA-2026:28581
Red Hathummingbird:1python3, python3.14, python3-idle and 13 more0:3.14.5-2.hum1RHSA-2026:22952
Red Hathummingbird:1python3.11, python3.11-idle, python3.11-libs and 4 more0:3.11.15-4.3.hum1RHSA-2026:33885
Red Hathummingbird:1python3.11, python3.11-idle, python3.11-libs and 4 more0:3.11.16-1.hum1RHSA-2026:57660
Red Hathummingbird:1python3.12, python3.12-idle, python3.12-libs and 4 more0:3.12.13-3.2.hum1RHSA-2026:32980
Red Hathummingbird:1python3.12, python3.12-idle, python3.12-libs and 4 more0:3.12.14-1.hum1RHSA-2026:58420
Red Hathummingbird:1python3.13, python3.13-idle, python3.13-libs and 6 more0:3.13.14-1.1.hum1RHSA-2026:32997
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy, saltbundlepy-core3.11.15-90002.4.15.1SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-cffi1.17.1-90002.3.6.2SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-cryptography3.3.2-90002.3.6.2SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-cssselect1.3.0-90002.3.6.2SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-editables0.5-90002.3.3.2SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-exceptiongroup, saltbundlepy-exceptiongroup-test1.2.2-90002.3.3.2SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-flit-core3.12.0-90002.3.3.1SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-hatch-fancy-pypi-readme, saltbundlepy-hatch-fancy-pypi-readme-test25.1.0-90002.3.3.1SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-hatch-vcs, saltbundlepy-hatch-vcs-test0.5.0-90002.3.3.1SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-hatchling1.31.0-90002.3.3.1SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-idna3.10-90002.3.6.2SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-iniconfig2.1.0-90002.3.3.1SUSE-SU-2026:4582-1
132 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 16.0python3, python313, python313-core and 3 more3.13.14-160000.1.1openSUSE-SU-2026:21459-1
openSUSETumbleweedpython3103.10.20-6.1openSUSE-SU-2026:10647-1
openSUSETumbleweedpython3113.11.15-6.1openSUSE-SU-2026:11068-1
openSUSETumbleweedpython3123.12.13-6.1openSUSE-SU-2026:11100-1
openSUSETumbleweedpython3133.13.13-2.1openSUSE-SU-2026:10667-1
openSUSETumbleweedpython3143.14.6-1.1openSUSE-SU-2026:11181-1
openSUSETumbleweedpython3153.15.0~a8-3.1openSUSE-SU-2026:10648-1
AlmaLinux9python3.14, python3.14-idle, python3.14-libs and 11 more3.14.5-1.el9_8ALSA-2026:28247
AlmaLinux10python3.14, python3.14-idle, python3.14-libs and 11 more3.14.5-1.el10_2ALSA-2026:28581
Rocky Linux9python3.140:3.14.5-1.el9_8RLSA-2026:28247
Rocky Linux10python3.140:3.14.5-1.el10_2RLSA-2026:28581
Azure Linux3python-pyno fix listedAZL-109716
Azure Linux3python3no fix listedAZL-84728
Alpaquitastreampython33.14.5-r1BELL-CVE-2026-6019
BellSoft Hardened Containersstreampython33.14.5-r1BELL-CVE-2026-6019

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10python3.14-0:3.14.5-1.el10_2Fixed 2026-06-24RHSA-2026:28581
Red Hat Enterprise Linux 9python3.14-0:3.14.5-1.el9_8Fixed 2026-06-23RHSA-2026:28247
Red Hat Hardened Imagespython3-14-main-3.14.5-2.hum1Fixed 2026-06-03RHSA-2026:22952
Red Hat Hardened Imagespython3-12-main-3.12.13-3.2.hum1Fixed 2026-06-29RHSA-2026:32980
Red Hat Hardened Imagespython3-13-main-3.13.14-1.1.hum1Fixed 2026-06-29RHSA-2026:32997
Red Hat Hardened Imagespython3-11-main-3.11.15-4.3.hum1Fixed 2026-06-30RHSA-2026:33885
Red Hat Hardened Imagespython3-11-main-3.11.16-1.hum1Fixed 2026-08-20RHSA-2026:57660
Red Hat Hardened Imagespython3-12-main-3.12.14-1.hum1Fixed 2026-08-21RHSA-2026:58420
Red Hat Enterprise Linux 10python3.12Fix deferred
Red Hat Enterprise Linux 6pythonFix deferred
Red Hat Enterprise Linux 7pythonFix deferred
Red Hat Enterprise Linux 7python3Fix deferred
Red Hat Enterprise Linux 8python3Fix deferred
Red Hat Enterprise Linux 8python3.11Fix deferred
Red Hat Enterprise Linux 8python3.12Fix deferred
Red Hat Enterprise Linux 8python36:3.6/python36Fix deferred
Red Hat Enterprise Linux 8python39-devel:3.9/python39Fix deferred
Red Hat Enterprise Linux 9python3.11Fix deferred
Red Hat Enterprise Linux 9python3.12Fix deferred
Red Hat Enterprise Linux 9python3.9Fix deferred
9 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-6019.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-295-11Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP2026-10-13Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.7, SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.7, SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.7 and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-73 User-Controlled Filename Likelihood: High · Severity: High
  • CAPEC-81 Web Server Logs Tampering Likelihood: Medium · Severity: High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-104 Cross Zone Scripting Likelihood: Medium · Severity: High
  • CAPEC-41 Using Meta-characters in E-mail Headers to Inject Malicious Payloads Likelihood: High · Severity: High
  • CAPEC-93 Log Injection-Tampering-Forging Likelihood: High · Severity: High
  • CAPEC-134 Email Injection Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON