Hono is a Web application framework that provides support for any JavaScript runtime. In versions 4.12.0 and 4.12.1, when using the AWS Lambda adapter (hono/aws-lambda) behind an Application Load Balancer (ALB), the getConnInfo() function incorrectly selected the first value from the X-Forwarded-For header. Because AWS ALB appends the real client IP address to the end of the X-Forwarded-For header, the first value can be attacker-controlled. This could allow IP-based access control mechanisms (such as the ipRestriction middleware) to be bypassed. Version 4.12.2 patches the issue.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-290",
"CWE-345"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27700.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:hono:hono:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "4.12.0"
},
{
"fixed": "4.12.2"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "41adbf56e252c04611f8972364ac0887ae07a4c7"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v4.12.2",
"range": [
{
"fixed": "df97e5f49771a2a219770515859b9cc1d80abab0"
}
],
"source": "REFERENCES_TAG"
}
]
}