6.1

CVE-2026-6019: BaseCookie.js_output() does not neutralize embedded characters

Analyzed
AliasesRHSA-2026:22952RHSA-2026:32980RHSA-2026:32997
Published 22-04-2026Last modified 10-06-2026

Vulnerability summary

CVE-2026-6019 is a medium (CVSS 6.1) vulnerability in python software foundation cpython. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 11.3% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 2.1, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.1/10
010
Medium · v3.1 (NVD)
EPSS score
0.21%
0%100%
Low · -0.37 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 31 · Related 28

Timeline

  1. 22-04-2026
    PublishedVulnerability first disclosed.
  2. 10-06-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

9 scores · 7 sources · 2 versions

EPSS trend

Probability

0.21%

Chance of exploitation in the next 30 days

Percentile

11%

Versus all other CVEs

30-day change

Decrease -0.37 pp

From 0.58% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Cpython

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Redhat39 products
  • python-unversioned-command< 0:3.14.5-2.hum1
  • python3< 0:3.14.5-2.hum1
  • python3-debug< 0:3.14.5-2.hum1
  • python3-devel< 0:3.14.5-2.hum1
  • python3-idle< 0:3.14.5-2.hum1
Ubuntu13 products
  • pypy3All versions (No fix recorded)
  • python2.7< 2.7.6-8ubuntu0.6+esm30 | < 2.7.12-1ubuntu0~16.04.18+esm22 | < 2.7.17-1~18.04ubuntu1.13+esm15 | < 2.7.18-13ubuntu1.5+esm9
  • python3.10< 3.10.12-1~22.04.16
  • python3.11< 3.11.0~rc1-1~22.04.1+esm2
  • python3.12< 3.12.3-1ubuntu0.15
Chainguard6 products
  • python-3.10All versions (No fix recorded)
  • python-3.11All versions (No fix recorded)
  • python-3.12All versions (No fix recorded) | < 3.12.16-r2
  • python-3.13< 3.13.13-r3
  • python-3.14< 3.14.4-r4
Wolfi5 products
  • python-3.10All versions (No fix recorded)
  • python-3.11All versions (No fix recorded)
  • python-3.12All versions (No fix recorded) | < 3.12.16-r2
  • python-3.13< 3.13.13-r3
  • python-3.14< 3.14.4-r4
Debian4 products
  • pypy3All versions (No fix recorded)
  • python3.11< 3.11.2-6+deb12u9
  • python3.13< 3.13.14-1 | < 3.13.5-2+deb13u2
  • python3.14< 3.14.5~rc1-1
Python1 product
  • python< 3.13.14 | ≥ 3.14.0, ≤ 3.14.4 | 3.15.0:alpha1 | 3.15.0:alpha2 | 3.15.0:alpha3 | 3.15.0:alpha4 | 3.15.0:alpha5 | 3.15.0:alpha6 | 3.15.0:alpha7 | 3.15.0:alpha8
Python software foundation1 product
  • cpython< 3.13.14 | ≥ 3.14.0a1, < 3.14.5rc1 | ≥ 3.15.0a1, < 3.15.0b1

7 vendors · 69 products

References

26 links
Show all 26 references