Advisory record · GHSA-rwmf-w63j-p7gv

CairoSVG improperly processes SVG files loaded from external resources

CVSS 9.9 CriticalCriticalEPSS 0.0072 · 54th percentile

Critical, because:

  • CVSS score 9.9: 9.0 or more.

How we decide what’s critical

Published by the GitHub Advisory Database at 20 Mar 2023, 21:27 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
cairosvgPyPI<2.7.02.7.0
Identifiers
GHSA-rwmf-w63j-p7gv · CVE-2023-27586 · PYSEC-2023-9
Weakness (CWE)
CWE-20 · CWE-918
Published
20 Mar 2023
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

CairoSVG versions before 2.7.0 process SVG files that load external resources without restriction, so a crafted SVG can make the server send requests to internal or external hosts (server-side request forgery). A remote attacker who can get the server to process an SVG file, such as through an upload, can use this to scan internal resources, and a crafted file can also make processing hang. Upgrade to CairoSVG 2.7.0 or later. The source gives few details on workarounds.

Written 5 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
9.9 Critical 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:L CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0072, the 54th percentile, on 15 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:36 UTC First seen by agentprime
  2. 31 Oct 2026, 14:36 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.