CVE-2018-11798 Apache Thrift Node.js static web server sandbox escape
Remote attackers can access files outside the web server's root directory in the Apache Thrift Node.js static web server.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-11798?
CVE-2018-11798 is a medium-severity path traversal vulnerability in Apache Thrift, published on 7 Jan 2019. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The Apache Thrift Node.js static web server in versions 0.9.2 through 0.11.0 have been determined to contain a security vulnerability in which a remote user has the ability to access files outside the set webservers docroot path.
Weakness: CWE-538
Which versions are affected by CVE-2018-11798?
2 open source packages ship an affected version, including org.apache.thrift:libthrift. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.thrift:libthrift Maven | From 0.9.2 | 0.12.0 |
org.apache.thrift:libthrift Maven | From 0.9.2 | 0.12.0 |
Products include Apache Thrift.
How do I fix CVE-2018-11798?
Upgrade org.apache.thrift:libthrift to 0.12.0 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2018-11798 being exploited?
There is no known exploitation of CVE-2018-11798 in the wild and no public exploit code.
Other vulnerabilities in Apache Thrift
- CVE-2026-55971 Apache Thrift: C++ ZLIB heap buffer overflow (write) in THeaderTransport::untransform()
- CVE-2026-48144 Apache Thrift: c_glib TLS Client Missing Hostname Verification
- CVE-2016-5397 Apache Thrift Go Library Command Injection
- CVE-2026-43871 Apache Thrift, Apache Thrift, Apache Thrift, Apache Thrift: TCompactProtocol varint byte-count limit
- CVE-2026-48586 Denial of service in Apache Thrift
Sources
Also known as CLEANSTART-2026-AF38253, CLEANSTART-2026-NC43548, DEBIAN-CVE-2018-11798, ECHO-17dc-b122-1852, GHSA-vx85-mj8c-4qm6.