Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | graphite-web | 1.1.4-5 | — |
| Debian 13 | graphite-web | 1.1.4-5 | — |
| Debian 12 | graphite-web | 1.1.4-5 | — |
| Debian 8 | graphite-web | 0.9.12+debian-6+deb8u1 | DLA-1962-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | graphite-web | 1.1.8-1ubuntu0.22.04.1 | USN-6243-1 |
| Ubuntu 20.04 LTS | graphite-web | 1.1.4-5ubuntu0.1 | USN-6243-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | graphite-web | 1.0.2+debian-2ubuntu0.1~esm1 | USN-6243-1 |
| Ubuntu Pro 16.04 LTS | graphite-web | 0.9.15+debian-1ubuntu0.1~esm1 | USN-6243-1 |
| Ubuntu Pro 14.04 LTS | graphite-web | 0.9.12+debian-3ubuntu0.1~esm1 | USN-6243-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Enterprise Storage 4 | graphite-web | 0.9.12-5.3.1 | SUSE-SU-2019:2803-1 |
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Graphite <=1.1.5 - Server-Side Request Forgery http/cves/2017/CVE-2017-18638.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | graphite-web | < 1.1.6 | 1.1.6 | GHSA-vfj6-275q-4pvm |
Advisories 3
- USN-6243-1 graphite-web vulnerabilities Ubuntu Security Notices (USN) · Jun 29, 2026
- DLA-1962-1 graphite-web - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2019:2803-1 Security update for graphite-web SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://github.com/graphite-project/graphite-web/security/advisories/GHSA-vfj6-275q-4pvm
- https://github.com/graphite-project/graphite-web/issues/2008
- https://blog.orange.tw/2017/07/how-i-chained-4-vulnerabilities-on.html#second-bug-internal-graphite-ssrf
- https://www.youtube.com/watch?v=ds4Gp4xoaeA
- https://github.com/graphite-project/graphite-web/pull/2499
- [debian-lts-announce] 20191021 [SECURITY] [DLA 1962-1] graphite-web security update mailing-list