Description
Starman versions before 0.4018 for Perl allows HTTP Request Smuggling via Improper Header Precedence.

Starman incorrectly prioritizes "Content-Length" over "Transfer-Encoding: chunked" when both headers are present in an HTTP request. Per RFC 7230 3.3.3, Transfer-Encoding must take precedence.

An attacker could exploit this to smuggle malicious HTTP requests via a front-end reverse proxy.
Published: 2026-04-28
Score: n/a
EPSS: n/a
KEV: No
Impact: HTTP Request Smuggling
Action: Immediate Patch
AI Analysis

Impact

Starman versions earlier than 0.4018 implement HTTP header parsing that prioritizes the Content-Length header over Transfer-Encoding: chunked when both are present. According to RFC 7230, the Transfer-Encoding header must take precedence. Because of this improper precedence, an attacker can craft requests that include both headers and mislead Starman into handling payloads incorrectly. The consequence is that malicious HTTP requests can be smuggled past a front‑end reverse proxy, potentially enabling arbitrary request injection, cross‑site request forgery, or other attacks against downstream services that the proxy forwards the request to.

Affected Systems

The affected product is Starman for Perl, maintained by MIYAGAWA. All versions preceding 0.4018 are vulnerable. The remedy is to upgrade to Starman 0.4018 or later.

Risk and Exploitability

The exploit requires an attacker to be able to send crafted HTTP requests to a server running the vulnerable Starman behind a reverse proxy that forwards requests. Because this attack vector depends on the presence of the proxy, it is not a generic cross‑platform flaw, but can be highly impactful in environments using Starman for load balancing or reverse proxying. No EPSS score or KEV listing is available, so the current exploitation probability is indeterminate, but the potential impact of request smuggling is high in vulnerable configurations.

Generated by OpenCVE AI on April 29, 2026 at 02:05 UTC.

Remediation

Vendor Solution

Upgrade to version 0.4018


OpenCVE Recommended Actions

  • Upgrade Starman to version 0.4018 or newer
  • Configure the reverse proxy to reject requests that contain both Content-Length and Transfer-Encoding headers
  • Verify that incoming requests are validated or sanitized for header consistency before forwarding

Generated by OpenCVE AI on April 29, 2026 at 02:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 29 Apr 2026 04:30:00 +0000

Type Values Removed Values Added
References

Wed, 29 Apr 2026 00:00:00 +0000

Type Values Removed Values Added
Description Starman versions before 0.4018 for Perl allows HTTP Request Smuggling via Improper Header Precedence. Starman incorrectly prioritizes "Content-Length" over "Transfer-Encoding: chunked" when both headers are present in an HTTP request. Per RFC 7230 3.3.3, Transfer-Encoding must take precedence. An attacker could exploit this to smuggle malicious HTTP requests via a front-end reverse proxy.
Title Starman versions before 0.4018 for Perl allows HTTP Request Smuggling via Improper Header Precedence
Weaknesses CWE-444
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-04-29T03:04:48.511Z

Reserved: 2026-04-14T11:35:53.644Z

Link: CVE-2026-40560

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-04-29T00:16:03.927

Modified: 2026-04-29T04:16:41.503

Link: CVE-2026-40560

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-29T02:15:47Z

Weaknesses