CVE-2026-32722 Memray-generated HTML reports vulnerable to Stored XSS via unescaped command-line metadata
MediumCVSS 6.1
EPSS 0.35%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
Description
Memray is a memory profiler for Python. Prior to Memray 1.19.2, Memray rendered the command line of the tracked process directly into generated HTML reports without escaping. Because there was no escaping, attacker-controlled command line arguments were inserted as raw HTML into the generated report. This allowed JavaScript execution when a victim opened the generated report in a browser. Version 1.19.2 fixes the issue.
Upgrade path
6 packages: 4 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/python-memray(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/python-memray(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| bloomberg memray | < 1.19.2; = < 1.19.2 | 1.19.2 | Fixed |
| debian/python-memray(Debian 13) | < 1.17.0+dfsg-1+deb13u1; = 1.17.0+dfsg-1 | 1.17.0+dfsg-1+deb13u1 | Fixed |
| debian/python-memray(Debian 14) | < 1.19.3+dfsg-1; = 1.17.0+dfsg-1 | 1.19.3+dfsg-1 | Fixed |
| pypi memray(PyPI) | < 1.19.2; = 1.0.0; = 1.0.2; = 1.0.3 +30 more | 1.19.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi memray(PyPI) | < 1.19.2 | 1.19.2 |
| pypi memray(PyPI) | = 1.0.0 | No fix listed |
| pypi memray(PyPI) | = 1.0.2 | No fix listed |
| pypi memray(PyPI) | = 1.0.3 | No fix listed |
| pypi memray(PyPI) | = 1.1.0 | No fix listed |
| pypi memray(PyPI) | = 1.10.0 | No fix listed |
| pypi memray(PyPI) | = 1.11.0 | No fix listed |
| pypi memray(PyPI) | = 1.12.0 | No fix listed |
| pypi memray(PyPI) | = 1.13.0 | No fix listed |
| pypi memray(PyPI) | = 1.13.1 | No fix listed |
| pypi memray(PyPI) | = 1.13.2 | No fix listed |
| pypi memray(PyPI) | = 1.13.3 | No fix listed |
| pypi memray(PyPI) | = 1.13.4 | No fix listed |
| pypi memray(PyPI) | = 1.14.0 | No fix listed |
| pypi memray(PyPI) | = 1.15.0 | No fix listed |
| pypi memray(PyPI) | = 1.16.0 | No fix listed |
| pypi memray(PyPI) | = 1.17.0 | No fix listed |
| pypi memray(PyPI) | = 1.17.1 | No fix listed |
| pypi memray(PyPI) | = 1.17.2 | No fix listed |
| pypi memray(PyPI) | = 1.18.0 | No fix listed |
| pypi memray(PyPI) | = 1.19.0 | No fix listed |
| pypi memray(PyPI) | = 1.19.1 | No fix listed |
| pypi memray(PyPI) | = 1.2.0 | No fix listed |
| pypi memray(PyPI) | = 1.3.0 | No fix listed |
| pypi memray(PyPI) | = 1.3.1 | No fix listed |
Show 17 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi memray(PyPI) | = 1.4.0 | No fix listed |
| pypi memray(PyPI) | = 1.4.1 | No fix listed |
| pypi memray(PyPI) | = 1.5.0 | No fix listed |
| pypi memray(PyPI) | = 1.6.0 | No fix listed |
| pypi memray(PyPI) | = 1.7.0 | No fix listed |
| pypi memray(PyPI) | = 1.8.0 | No fix listed |
| pypi memray(PyPI) | = 1.8.1 | No fix listed |
| pypi memray(PyPI) | = 1.9.0 | No fix listed |
| pypi memray(PyPI) | = 1.9.1 | No fix listed |
| bloomberg memray | = < 1.19.2 | No fix listed |
| debian/python-memray(Debian:13) | < 1.17.0+dfsg-1+deb13u1 | 1.17.0+dfsg-1+deb13u1 |
| debian/python-memray(Debian:13) | = 1.17.0+dfsg-1 | No fix listed |
| debian/python-memray(Debian:14) | < 1.19.3+dfsg-1 | 1.19.3+dfsg-1 |
| debian/python-memray(Debian:14) | = 1.17.0+dfsg-1 | No fix listed |
| ubuntu/python-memray(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/python-memray(Ubuntu:26.10) | All versions | No fix listed |
| bloomberg memray | < 1.19.2 | 1.19.2 |
References
- https://github.com/bloomberg/memray/security/advisories/GHSA-r5pr-887v-m2w9 exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/bloomberg/memray/commit/ba6e4e2e9930f9641bed7adfdf43c8e2545ce249 patch
- github.com product
- https://github.com/bloomberg/memray/releases/tag/v1.19.2 product release-notes vendor-advisory
- github.com
- Debian Security Tracker CVE-2026-32722 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking