All reports
Medium

org.asynchttpclient/async-http-client: AsyncHttpClient: Arbitrary file overwrite via insecure temporary file handling

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-102740

Probability of exploitation in the next 30 days: 0.10%

FIRST EPSS · 2026-11-22

Description

The AsyncHttpClient library allows Java applications to execute HTTP requests and asynchronously process HTTP responses. From 2.0.0 until 2.16.1 and 3.0.12, PropertiesBasedResumableProcessor stores resumable download state at the predictable shared path $java.io.tmpdir/ahc/ResumableAsyncHandler.properties with default permissions and link-following file operations. A local user who can read the shared store can see download URLs, including embedded user information or query tokens. A local user who can write within or pre-create the affected shared store directory can plant a symbolic link that the client follows when saving state, truncating and overwriting a target file writable by the client process. The filesystem path is used when ResumableAsyncHandler decorates another AsyncHandler, while the no-argument constructors use a no-op processor and are unaffected. This issue is fixed in versions 2.16.1 and 3.0.12.

A flaw was found in AsyncHttpClient. Resumable download state is stored in a predictable shared temporary directory with insecure permissions and link-following file operations. A local attacker can exploit this issue by placing a symbolic link in the shared location to overwrite arbitrary files writable by the application process, or by reading the state file to obtain sensitive download URLs and authentication tokens.