Session Fixation and Cookie Security Flaw in AsyncHttpClient Library

async-http-client Updated 14 Oct 2026

Summary

12/10/2026
N/A
No i
Medium
6.8

DEBIAN-CVE-2026-107226: The AsyncHttpClient (AHC) library allows Java applications to easily execute HTTP requests and asynchronously process HTTP responses. Affects async-http-client versions 2.12.3-1 – 2.12.3-1+deb12u1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The AsyncHttpClient (AHC) library is a widely used Java library that simplifies the process of executing HTTP requests and handling HTTP responses asynchronously. It is designed for high performance and scalability, making it a popular choice among developers for building web applications. However, a critical vulnerability has been identified in versions 2.1.0 to 3.0.14, where the default ThreadSafeCookieStore fails to properly manage secure cookies, leading to potential security risks.

Vulnerability Detail

The vulnerability arises from the default ThreadSafeCookieStore in AsyncHttpClient, which does not retain the secure transport status of Set-Cookie responses. This flaw allows secure cookies to be accepted over plaintext connections, enabling attackers to manipulate cookie states. Specifically, an attacker can plant, replace, or remove cookies sent to an HTTPS origin, leading to session fixation, CSRF-token replacement, or loss of security-relevant state. The issue has been assigned a CVSS score of 6.8, indicating a medium severity level.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, consider implementing additional security measures such as validating cookie attributes and enforcing secure transport for all cookie exchanges. This can be done by configuring your application to reject cookies that do not meet security criteria.

Conclusion

The vulnerability in the AsyncHttpClient library poses significant risks to web applications by compromising cookie security. It is crucial for developers to update to the patched version 3.0.14 to mitigate these risks and ensure the integrity of user sessions. Utilizing tools like Vulert can further enhance security monitoring.

See every vulnerability recorded for async-http-client →

Share this vulnerability

FAQ

Versions 2.1.0 to 3.0.14 of AsyncHttpClient are affected by this vulnerability.

The risks include session fixation, CSRF-token replacement, and loss of security-relevant state, which can compromise user sessions and application integrity.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Yes, the vulnerability has been patched in version 3.0.14 of AsyncHttpClient. It is recommended to update to this version.

Vulert monitors and alerts in real-time for open-source vulnerabilities in software using a manifest file like package-lock.json, allowing developers to stay informed about potential risks.

Related vulnerabilities

Recent vulnerabilities recorded for async-http-client.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback