High

graphite.composer.views.send_email vulnerable to SSRF

  • Disclosed: 11.10.2019
  • Updated: 11.10.2026 13:19

Impact

send_email in graphite-web/webapp/graphite/composer/views.py in Graphite through 1.1.5 is vulnerable to SSRF. The vulnerable SSRF endpoint can be used by an attacker to have the Graphite web server request any resource. The response to this SSRF request is encoded into an image file and then sent to an e-mail address that can be supplied by the attacker. Thus, an attacker can exfiltrate any information. Email will be send through SMTP server configured in Graphite, by default it's 'localhost'

Patches

Problem was patched in Graphite-web 1.1.6. Also patches was released for graphite-web 1.0.x and 0.9.x, and we'll discuss releases of non-supported branches later.

Workarounds

You can manually remove function send_email from file webapp/graphite/composer/views.py. This function are not in use and will not affect your Graphite installation.

References

For more information check this graphite-web Github issue #2008

For more information

If you have any questions or comments about this advisory:

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) graphite-web < 1.1.6 1.1.6

References

CVSS score 7.5/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness (CWE)
CWE-918
Platform
Python (PyPI)
Package
graphite-web
Disclosed
11.10.2019
Updated
11.10.2026 13:19

Sources and licenses

OSV / GitHub Advisory Database - PYSEC-2019-151 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-vfj6-275q-4pvm - CC BY 4.0

Vulnerability history: graphite-web

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
7
First → latest
09.2013 12.2022
Without a fix
3
Exploited in attacks
0

Severity breakdown

  • Critical 2
  • High 1
  • Medium 3
  • Unrated 1

Disclosures per year

  1. 2017: 0
  2. 2018: 0
  3. 2019: 1
  4. 2020: 0
  5. 2021: 0
  6. 2022: 3
  7. 2023: 0
  8. 2024: 0
  9. 2025: 0
  10. 2026: 0

earlier: 3

  1. Medium · 5.4 CVE-2022-4730 <= 1.1.10 no fix
  2. Medium · 5.4 CVE-2022-4729 <= 1.1.10 no fix
  3. Medium · 5.4 CVE-2022-4728 <= 1.1.10 no fix
  4. graphite.composer.views.send_email vulnerable to SSRF this entry
    High · 7.5 CVE-2017-18638 < 1.1.6 1.1.6

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.