CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NHigh (7.5) in koajs koa. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in koa 2.16.4, 3.1.2.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:Nkoa (npm): fixed in 3.1.2, 2.16.4Explain CVE-2026-27959 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-27959?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-27959?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-27959 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| koajs:koa | before 2.16.4 |
| koajs:koa | from 3.0.0 before 3.1.2 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-7gcc-r8m5-44qm | npm | koa | >=3.0.0 <3.1.2 | 3.1.2 |
| GHSA-7gcc-r8m5-44qm | npm | koa | <2.16.4 | 2.16.4 |
Red Hat rates this Important.
Red Hat Product Security considers this issue as High severity.
A remote, unauthenticated attacker can send a specially crafted HTTP Host header containing a valid RFC 3986 userinfo component (using the @ delimiter). Due to improper parsing of the authority field in the ctx.hostname API, the application may treat attacker-controlled input as the hostname value. Exploitation occurs when the server processes the malicious request and does not require user interaction (UI:N).
Applications that rely on ctx.hostname to construct absolute URLs, such as: password reset links, email verification links, OAuth redirect URIs, or webhook endpoints, may generate security sensitive URLs that reference an attacker controlled domain. This can result in integrity violations, including manipulation of authentication flows or account takeover scenarios. Integrity impact is therefore rated High.
Confidentiality impact is considered Low because disclosure of sensitive data depends on application-specific usage patterns. The vulnerability does not automatically expose information from the server. However, if an affected application uses the manipulated hostname value to generate security-sensitive links such as password reset or email verification URLs and embeds tokens in those links without additional validation, a victim who later follows such a link may inadvertently disclose those tokens to an attacker controlled domain. Such disclosure is conditional, application-dependent like how the application constructs URLs. Also, the subsequent user interaction beyond the initial exploitation, the confidentiality impact is assessed as Low (C:L).
Red Hat is not aware of a practical temporary workaround that fully mitigates this issue or meets Red Hat Product Security's standards for usability, deployment, applicability, or stability. Customers are advised to apply the relevant security updates once they become available.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat OpenShift AI 2.25 | rhoai/odh-dashboard-rhel9:1776742021 | Fixed 2026-04-23 | RHSA-2026:10184 |
| Red Hat OpenShift AI 2.25 | rhoai/odh-mod-arch-model-registry-rhel9:1776742141 | Fixed 2026-04-23 | RHSA-2026:10184 |
| Red Hat OpenShift Container Platform 4.19 | openshift4/ose-monitoring-plugin-rhel9:1775577192 | Fixed 2026-04-16 | RHSA-2026:7249 |
| Red Hat Developer Hub 1 | rhdh/rhdh-hub-rhel9 | Will not fix | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-mod-arch-gen-ai-rhel9 | Out of support scope | |
| Red Hat OpenShift Dev Spaces | devspaces/code-rhel9 | Not affected | |
| Self-service automation portal 2 | ansible-automation-platform/automation-portal | Affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-27959.
Repositories on GitHub named after this CVE. Nobody has checked them and they are not scanned: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).