{"id":"CVE-2018-7490","aliases":["ALPINE-CVE-2018-7490","DEBIAN-CVE-2018-7490","DSA-4142-1","EUVD-2018-0145","GHSA-h2vm-c85r-5vh5","PYSEC-2018-78","UBUNTU-CVE-2018-7490"],"status":"published","title":"uWSGI Directory Traversal vulnerability","description":"uWSGI before 2.0.17 mishandles a DOCUMENT_ROOT check during use of the --php-docroot option, allowing directory traversal.","severity":{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.69423,"percentile":0.99365,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-22"],"published":"2018-02-26T22:00:00Z","modified":"2026-10-24T14:21:00Z","exploits":[{"source":"exploitdb","id":"EDB-44223","title":"uWSGI \u003c 2.0.17 - Directory Traversal","type":"webapps","platform":"php","date":"2018-03-02","verified":true,"url":"https://www.exploit-db.com/exploits/44223"},{"source":"nuclei","id":"CVE-2018-7490","title":"uWSGI PHP Plugin Local File Inclusion","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2018/CVE-2018-7490.yaml"},{"source":"pocgithub","id":"CyberCTF/vulhub-uwsgi-cve-2018-7490","title":"CyberCTF/vulhub-uwsgi-cve-2018-7490","date":"2026-10-08","url":"https://github.com/CyberCTF/vulhub-uwsgi-cve-2018-7490"},{"source":"pocgithub","id":"qinzhu111/uWSGI-CVE-2018-7490-POC","title":"qinzhu111/uWSGI-CVE-2018-7490-POC","date":"2024-06-14","url":"https://github.com/qinzhu111/uWSGI-CVE-2018-7490-POC"}],"fixes":[{"ecosystem":"PyPI","package":"uwsgi","fixed_in":["2.0.17"],"sources":["ghsa","osv"]},{"ecosystem":"Alpine:v3.4","package":"uwsgi","fixed_in":["2.0.17-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.5","package":"uwsgi","fixed_in":["2.0.17-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.6","package":"uwsgi","fixed_in":["2.0.17-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.7","package":"uwsgi","fixed_in":["2.0.17-r0"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"uwsgi","fixed_in":["2.0.15-10.4"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"uwsgi","fixed_in":["2.0.15-10.4"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"uwsgi","fixed_in":["2.0.15-10.4"],"sources":["osv"]},{"ecosystem":"Debian:8","package":"uwsgi","fixed_in":["2.0.7-1+deb8u2"],"sources":["osv"]},{"ecosystem":"Debian:9","package":"uwsgi","fixed_in":["2.0.14+20161117-3+deb9u2"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"uwsgi","fixed_in":["1.9.17.1-5ubuntu0.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"uwsgi","fixed_in":["2.0.12-5ubuntu3.2"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"uwsgi","fixed_in":["2.0.15-10.2ubuntu2.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.17"}]}]},{"source":"osv","ecosystem":"Alpine:v3.4","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.17-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.5","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.17-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.6","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.17-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.7","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.17-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.15-10.4"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.15-10.4"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.15-10.4"}]}]},{"source":"osv","ecosystem":"Debian:8","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.7-1+deb8u2"}]}],"versions":["2.0.7-1","2.0.7-1+deb8u1"]},{"source":"osv","ecosystem":"Debian:9","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.14+20161117-3+deb9u2"}]}],"versions":["2.0.14+20161117-3","2.0.14+20161117-3+deb9u1"]},{"source":"osv","ecosystem":"PyPI","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.17"}]}],"versions":["1.4.10","1.4.9","1.9","1.9.1","1.9.10","1.9.11","1.9.12","1.9.13","1.9.14","1.9.15","1.9.16","1.9.17","1.9.17.1","1.9.18","1.9.18.1","1.9.18.2","1.9.19","1.9.2","1.9.20","1.9.21","1.9.21.1","1.9.3","1.9.4","1.9.5","1.9.6","1.9.7","1.9.8","1.9.9","2.0","2.0.1","2.0.10","2.0.11","2.0.11.1","2.0.11.2","2.0.12","2.0.13","2.0.13.1","2.0.14","2.0.15","2.0.16","2.0.2","2.0.3","2.0.4","2.0.5","2.0.5.1","2.0.6","2.0.7","2.0.8","2.0.9"]},{"source":"osv","ecosystem":"PyPI","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.17"}]}],"versions":["1.4.10","1.4.9","1.9","1.9.1","1.9.10","1.9.11","1.9.12","1.9.13","1.9.14","1.9.15","1.9.16","1.9.17","1.9.17.1","1.9.18","1.9.18.1","1.9.18.2","1.9.19","1.9.2","1.9.20","1.9.21","1.9.21.1","1.9.3","1.9.4","1.9.5","1.9.6","1.9.7","1.9.8","1.9.9","2.0","2.0.1","2.0.10","2.0.11","2.0.11.1","2.0.11.2","2.0.12","2.0.13","2.0.13.1","2.0.14","2.0.15","2.0.16","2.0.2","2.0.3","2.0.4","2.0.5","2.0.5.1","2.0.6","2.0.7","2.0.8","2.0.9"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.17.1-5ubuntu0.1"}]}],"versions":["1.9.13-4build1","1.9.17.1-5","1.9.17.1-5build2","1.9.17.1-5build4","1.9.17.1-5build5"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.12-5ubuntu3.2"}]}],"versions":["2.0.7-1ubuntu5","2.0.7-1ubuntu6","2.0.11.2-6ubuntu1","2.0.11.2-6ubuntu2","2.0.12-4ubuntu2","2.0.12-5ubuntu1","2.0.12-5ubuntu2","2.0.12-5ubuntu3","2.0.12-5ubuntu3.1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.15-10.2ubuntu2.1"}]}],"versions":["2.0.15-2.1ubuntu2","2.0.15-2.1ubuntu3","2.0.15-10","2.0.15-10.1","2.0.15-10.1build1","2.0.15-10.1build2","2.0.15-10.2","2.0.15-10.2ubuntu2"]}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"unbit","product":"uwsgi"}],"references":[{"url":"https://www.exploit-db.com/exploits/44223/","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"https://www.debian.org/security/2018/dsa-4142","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://uwsgi-docs.readthedocs.io/en/latest/Changelog-2.0.17.html","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-7490","tags":["advisory"]},{"url":"https://github.com/unbit/uwsgi/commit/0a480f435ea6feb63deb410ad2bf376ed3f05f8a","tags":["web","report"]},{"url":"https://www.exploit-db.com/exploits/44223","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/uwsgi/PYSEC-2018-78.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-h2vm-c85r-5vh5","tags":["advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2018-7490","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-7490","tags":["advisory"]},{"url":"https://github.com/unbit/uwsgi","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2018-7490","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-7490","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2018-7490","description":"uWSGI before 2.0.17 mishandles a DOCUMENT_ROOT check during use of the --php-docroot option, allowing directory traversal.","status":"published","published":"2018-02-26T22:00:00Z","modified":"2024-08-05T06:31:03.712Z","updated_at":"2026-11-02T14:35:09.908186Z"}],"euvd":[{"id":"EUVD-2018-0145","description":"uWSGI before 2.0.17 mishandles a DOCUMENT_ROOT check during use of the --php-docroot option, allowing directory traversal.","status":"published","published":"2018-02-26T22:00:00Z","modified":"2024-08-05T06:31:03Z","updated_at":"2026-11-03T02:40:05.625439Z"}],"ghsa":[{"id":"GHSA-h2vm-c85r-5vh5","title":"uWSGI Directory Traversal vulnerability","description":"uWSGI before 2.0.17 mishandles a `DOCUMENT_ROOT` check during use of the `--php-docroot` option, allowing directory traversal.","status":"published","published":"2022-05-14T03:35:52Z","modified":"2024-11-18T22:56:00Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"},{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:38:20.833758Z"}],"nvd":[{"id":"CVE-2018-7490","description":"uWSGI before 2.0.17 mishandles a DOCUMENT_ROOT check during use of the --php-docroot option, allowing directory traversal.","status":"published","published":"2018-02-26T22:29:00.697Z","modified":"2026-06-17T02:03:13.95Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:04:23.783914Z"}],"osv":[{"id":"ALPINE-CVE-2018-7490","description":"uWSGI before 2.0.17 mishandles a DOCUMENT_ROOT check during use of the --php-docroot option, allowing directory traversal.","status":"published","published":"2018-02-26T22:29:00.697Z","modified":"2026-10-23T17:23:43.622160131Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:27:47.663013Z"},{"id":"CVE-2018-7490","description":"uWSGI before 2.0.17 mishandles a DOCUMENT_ROOT check during use of the --php-docroot option, allowing directory traversal.","status":"published","published":"2018-02-26T22:29:00.697Z","modified":"2026-10-24T14:21:00.733212277Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:44:09.74357Z"},{"id":"DEBIAN-CVE-2018-7490","description":"uWSGI before 2.0.17 mishandles a DOCUMENT_ROOT check during use of the --php-docroot option, allowing directory traversal.","status":"published","published":"2018-02-26T22:29:00.697Z","modified":"2026-10-23T18:03:48.170174357Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:45:31.170944Z"},{"id":"GHSA-h2vm-c85r-5vh5","title":"uWSGI Directory Traversal vulnerability","description":"uWSGI before 2.0.17 mishandles a `DOCUMENT_ROOT` check during use of the `--php-docroot` option, allowing directory traversal.","status":"published","published":"2022-05-14T03:35:52Z","modified":"2024-11-18T23:02:33.020001Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"},{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:48.546324Z"},{"id":"UBUNTU-CVE-2018-7490","description":"uWSGI before 2.0.17 mishandles a DOCUMENT_ROOT check during use of the --php-docroot option, allowing directory traversal.","status":"published","published":"2018-02-26T22:29:00Z","modified":"2026-04-22T12:03:30.261367Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:54:18.772093Z"},{"id":"DSA-4142-1","title":"uwsgi - security update","status":"published","published":"2018-03-17T00:00:00Z","modified":"2026-03-09T01:20:57.434652Z","updated_at":"2026-11-02T15:46:16.862196Z"},{"id":"PYSEC-2018-78","description":"uWSGI before 2.0.17 mishandles a DOCUMENT_ROOT check during use of the --php-docroot option, allowing directory traversal.","status":"published","published":"2018-02-26T22:29:00Z","modified":"2026-06-10T17:02:45.841314903Z","updated_at":"2026-11-02T15:52:52.192131Z"}]}}
