{"id":"CVE-2017-18638","aliases":["GHSA-vfj6-275q-4pvm","PYSEC-2019-151"],"title":"graphite.composer.views.send_email vulnerable to SSRF","summary":"graphite.composer.views.send_email vulnerable to SSRF","severity":"high","cvss":7.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","vendor":"graphite-web","product":"graphite-web","ecosystem":"pip","affected":["graphite-web < 1.1.6"],"patched":["graphite-web 1.1.6"],"published":"2019-10-25","updated":"2026-07-08","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-vfj6-275q-4pvm","references":[{"url":"https://github.com/graphite-project/graphite-web/security/advisories/GHSA-vfj6-275q-4pvm"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-18638"},{"url":"https://github.com/graphite-project/graphite-web/issues/2008"},{"url":"https://github.com/graphite-project/graphite-web/pull/2499"},{"url":"https://github.com/graphite-project/graphite-web/commit/71726a0e41a5263f49b973a7b856505a5b931c1f"},{"url":"https://blog.orange.tw/2017/07/how-i-chained-4-vulnerabilities-on.html#second-bug-internal-graphite-ssrf"},{"url":"https://github.com/graphite-project/graphite-web"},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/graphite-web/PYSEC-2019-151.yaml"},{"url":"https://lists.debian.org/debian-lts-announce/2019/10/msg00030.html"},{"url":"https://www.youtube.com/watch?v=ds4Gp4xoaeA"}],"tags":["osv","pip","exploit-available"],"epss":0.15301,"epssPercentile":0.96668,"ingestedAt":"2026-07-08T18:25:53.314Z","exploits":{"nuclei":["CVE-2017-18638"],"checkedAt":"2026-09-21T15:23:39.342Z"},"exploitAvailable":true,"slug":"CVE-2017-18638","body":"## Overview\n\n### Impact\nsend_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'\n\n### Patches\nProblem was patched in Graphite-web 1.1.6. Also patches was released for graphite-web [1.0.x](https://github.com/graphite-project/graphite-web/pull/2501) and [0.9.x](https://github.com/graphite-project/graphite-web/pull/2500), and we'll discuss releases of non-supported branches later.\n\n### Workarounds\nYou 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.\n\n### References\nFor more information check this graphite-web Github issue #2008 \n\n### For more information\nIf you have any questions or comments about this advisory:\n* Add comment in [issue #2008](https://github.com/graphite-project/graphite-web/issues/2008)\n\n## Affected packages\n\n- `graphite-web < 1.1.6`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `graphite-web 1.1.6`","depth":"midnight","depthScore":56,"depthScoreParts":{"impact":41.3,"likelihood":3.1,"exploitation":12,"ransomware":0},"changes":[{"seq":4453,"id":"CVE-2017-18638","ts":1788887180768,"field":"exploit_available","old":"false","new":"true"},{"seq":3336,"id":"CVE-2017-18638","ts":1788886299747,"field":"exploit_available","old":"true","new":"false"},{"seq":2191,"id":"CVE-2017-18638","ts":1788882969454,"field":"exploit_available","old":"false","new":"true"},{"seq":1220,"id":"CVE-2017-18638","ts":1788882374699,"field":"exploit_available","old":"true","new":"false"},{"seq":334,"id":"CVE-2017-18638","ts":1788881815766,"field":"exploit_available","old":"false","new":"true"}]}