CVE-2023-27586Courtbouillon Cairosvg
High 7.1
Follow: this CVE · Courtbouillon · Courtbouillon Cairosvg We alert you by email or Slack (account required).
- Priority
- 43
- CVSS 3.1
- 7.1
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 51
- Auth required
- Yes
- Published
- Mar 20, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
What happens
CairoSVG is an SVG converter based on Cairo, a 2D graphics library. Prior to version 2.7.0, Cairo can send requests to external hosts when processing SVG files. A malicious actor could send a specially crafted SVG file that allows them to perform a server-side request forgery or denial of service. Version 2.7.0 disables CairoSVG's ability to access other files online by default.
What to do
- Apply the vendor's security update for Cairosvg.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | cairosvg |
< 2.7.0 |
2.7.0 |
pip install "cairosvg>=2.7.0" |
| PyPI | cairosvg |
< 2.7.0 |
2.7.0 |
pip install "cairosvg>=2.7.0" |
Per OSV / GitHub Advisories (GHSA-rwmf-w63j-p7gv, PYSEC-2023-9). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| courtbouillon | cairosvg | < 2.7.0 |
Official advisories
- python313-CairoSVG-2.9.0-1.3 on GA media · SUSE · openSUSE-SU-2026:11989-1 · Oct 4, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Release Notes
- github.com Vendor Advisory