<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://cve.radiocsirt.org</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Sat, 03 Oct 2026 23:37:15 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-48061 — Litestar: AllowedHostsMiddleware bypasses host validation via client-controlled X-Forwarded-Host header</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2026-48061</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; litestar-org litestar&lt;/p&gt;
&lt;p&gt;Litestar is an Asynchronous Server Gateway Interface (ASGI) framework. In versions prior to 2.22.0, an attacker can bypass the allowed hosts validation by omitting the Host header and supplying an X-Forwarded-Host header set to a whitelisted domain. The AllowedHostsMiddleware trusts the X-Forwarded-Host header as a fallback when the Host header is absent. Since X-Forwarded-Host is a client-controllable header, this enables host header injection attacks such as password reset poisoning, cache poisoning, and server-side request routing manipulation. Any application using AllowedHostsConfig is affected when deployed without a reverse proxy that strips X-Forwarded-Host, or when accepting HTTP/1.0 connections. This issue has been fixed in version 2.22.0.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; litestar-org litestar&lt;/p&gt;
&lt;p&gt;Litestar is an Asynchronous Server Gateway Interface (ASGI) framework. In versions prior to 2.22.0, an attacker can bypass the allowed hosts validation by omitting the Host header and supplying an X-Forwarded-Host header set to a whitelisted domain. The AllowedHostsMiddleware trusts the X-Forwarded-Host header as a fallback when the Host header is absent. Since X-Forwarded-Host is a client-controllable header, this enables host header injection attacks such as password reset poisoning, cache poisoning, and server-side request routing manipulation. Any application using AllowedHostsConfig is affected when deployed without a reverse proxy that strips X-Forwarded-Host, or when accepting HTTP/1.0 connections. This issue has been fixed in version 2.22.0.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2026-48061</guid>
    </item>
    <item>
      <title>GHSA-3qmc-cj7q-62hv — Litestar: AllowedHostsMiddleware bypasses host validation via client-controlled X-Forwarded-Host header</title>
      <link>https://cve.radiocsirt.org/vuln/ghsa-3qmc-cj7q-62hv</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: litestar&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;`AllowedHostsMiddleware` trusts the `X-Forwarded-Host` header as a fallback when the `Host` header is absent. Since `X-Forwarded-Host` is a client-controllable header, an attacker can bypass the allowed hosts validation by omitting the `Host` header and supplying an `X-Forwarded-Host` header set to a whitelisted domain. This enables host header injection attacks such as password reset poisoning, cache poisoning, and server-side request routing manipulation.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;In `AllowedHostsMiddleware.__call__`, the host value used for validation is resolved as follows:&lt;/p&gt;
&lt;p&gt;https://github.com/litestar-org/litestar/blob/main/litestar/middleware/allowed_hosts.py#L68&lt;/p&gt;
&lt;p&gt;```python
headers = MutableScopeHeaders(scope=scope)
if host := headers.get(&amp;#34;host&amp;#34;, headers.get(&amp;#34;x-forwarded-host&amp;#34;, &amp;#34;&amp;#34;)).split(&amp;#34;:&amp;#34;)[0]:
    if self.allowed_hosts_regex.fullmatch(host):
        await self.app(scope, receive, send)
        return
```&lt;/p&gt;
&lt;p&gt;When `Host` is absent (e.g., HTTP/1.0 clients, misconfigured proxies, or raw TCP connections), the middleware falls back to `X-Forwarded-Host` without any verification that the request actually passed through a trusted reverse proxy.&lt;/p&gt;
&lt;p&gt;An attacker can send a request with no `Host` header and set `X-Forwarded-Host` to any whitelisted domain, bypassing the entire allowed hosts check. The application then processes the request as if it originated from a trusted host.&lt;/p&gt;
&lt;p&gt;This is particularly dangerous when applications use the resolved host value for:
- Generating passw…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: litestar&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;`AllowedHostsMiddleware` trusts the `X-Forwarded-Host` header as a fallback when the `Host` header is absent. Since `X-Forwarded-Host` is a client-controllable header, an attacker can bypass the allowed hosts validation by omitting the `Host` header and supplying an `X-Forwarded-Host` header set to a whitelisted domain. This enables host header injection attacks such as password reset poisoning, cache poisoning, and server-side request routing manipulation.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;In `AllowedHostsMiddleware.__call__`, the host value used for validation is resolved as follows:&lt;/p&gt;
&lt;p&gt;https://github.com/litestar-org/litestar/blob/main/litestar/middleware/allowed_hosts.py#L68&lt;/p&gt;
&lt;p&gt;```python
headers = MutableScopeHeaders(scope=scope)
if host := headers.get(&amp;#34;host&amp;#34;, headers.get(&amp;#34;x-forwarded-host&amp;#34;, &amp;#34;&amp;#34;)).split(&amp;#34;:&amp;#34;)[0]:
    if self.allowed_hosts_regex.fullmatch(host):
        await self.app(scope, receive, send)
        return
```&lt;/p&gt;
&lt;p&gt;When `Host` is absent (e.g., HTTP/1.0 clients, misconfigured proxies, or raw TCP connections), the middleware falls back to `X-Forwarded-Host` without any verification that the request actually passed through a trusted reverse proxy.&lt;/p&gt;
&lt;p&gt;An attacker can send a request with no `Host` header and set `X-Forwarded-Host` to any whitelisted domain, bypassing the entire allowed hosts check. The application then processes the request as if it originated from a trusted host.&lt;/p&gt;
&lt;p&gt;This is particularly dangerous when applications use the resolved host value for:
- Generating passw…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/ghsa-3qmc-cj7q-62hv</guid>
    </item>
  </channel>
</rss>
