Security Resilience

CVE-2026-40560

Miyagawa Starman ≤ 0.4018

Published
29 April 2026
Modified
24 July 2026
Patch / advisory
CVSS Score v3.1 7.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS Score 0.0056 40th percentile
Risk Priority 58 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-40560 is a high-severity HTTP Request/Response Smuggling (CWE-444) vulnerability in Miyagawa Starman. Its CVSS base score is 7.5 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 40th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SC-7 (Boundary Protection) and SI-10 (Information Input Validation) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-40560 is an HTTP request smuggling vulnerability affecting Starman, a Perl PSGI server, in versions prior to 0.4018. The flaw stems from Starman's incorrect prioritization of the "Content-Length" header over "Transfer-Encoding: chunked" when both are present in an HTTP request, violating RFC 7230 Section 3.3.3, which mandates that Transfer-Encoding takes precedence. This misinterpretation enables request smuggling attacks and is classified under CWE-444 with a CVSS v3.1 base score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).

Remote attackers can exploit this vulnerability by sending crafted HTTP requests through a front-end reverse proxy to the vulnerable Starman instance. No privileges or user interaction are required, allowing unauthenticated network adversaries to smuggle malicious requests that the proxy interprets differently from the backend server, potentially leading to high confidentiality impacts such as unauthorized data disclosure.

Mitigation involves upgrading to Starman version 0.4018 or later, where the issue is addressed via a specific commit that corrects header precedence handling. Relevant advisories, including the OSS-security mailing list announcement from April 29, 2026, and the project's changelog on MetaCPAN, confirm the patch details and release notes.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

could exploit this to smuggle malicious HTTP requests via a front-end reverse proxy.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
T1211 Exploitation for Stealth Stealth
Adversaries may exploit vulnerabilities to evade detection by hiding activity, suppressing logging, or operating within trusted or unmonitored components.
T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
T1687 Exploitation for Defense Impairment Defense Impairment
Adversaries may exploit vulnerabilities in security software, infrastructure, or defensive components to degrade, disable, or otherwise continue to impair their ability to prevent, detect, or respond to malicious activity.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-30910Shared CWE-444
CVE-2026-69205Shared CWE-444
CVE-2026-68006Shared CWE-444
CVE-2026-23941Shared CWE-444
CVE-2026-66357Shared CWE-444
CVE-2023-29476Shared CWE-444
CVE-2026-73495Shared CWE-444
CVE-2026-59249Shared CWE-444
CVE-2026-23527Shared CWE-444
CVE-2023-48365Shared CWE-444

Affected Assets

miyagawa
starman
≤ 0.4018

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V4.1.3
  • V4.2.4
  • V1.5.3
  • V4.1.1

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Boundary protection at external interfaces can enforce consistent HTTP request/response parsing rules between intermediaries and endpoints.

Validating HTTP inputs at the intermediary prevents malformed messages from being interpreted inconsistently downstream.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-01 mostly match
blocks

Configuration management can enforce uniform HTTP parsing rules across intermediaries, directly mitigating inconsistent interpretation.

DE.CM-01 partial match
blocks

Network monitoring can detect smuggling attempts via anomalous HTTP traffic or logs, while eliminating the inconsistency directly aids detection of such events.

PR.IR-01 partial match
blocks

Network protections can enforce consistent HTTP proxy/firewall behavior to block smuggling, and removing the weakness helps prevent unauthorized access via request smuggling.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect HTTP request smuggling vulnerabilities in intermediary components.

removes

A.8.20 mandates network security controls like segregation, hardening, and disabling vulnerable protocols, but it does not remove an existing HTTP parsing inconsistency in an intermediary agent; the weakness is a code defect in the product's HTTP implementation, and the clause's mechanisms do not alter that code.

prevents

Secure coding standards can require strict HTTP header and request validation to prevent smuggling.

finds

A.8.8's reach is DISCLOSURE — it finds CWE-444 instances where the weakness has been published as a CVE in a third-party component (proxies, load balancers, web servers), and CWE-444 does commonly surface as CVEs; the remainder is first-party HTTP parsing code and undisclosed third-party instances, which A.8.8's vulnerability-scanning and inventory-based programme does not reach.

prevents

HTTP request smuggling is a parsing/interpretation defect in the HTTP agent's code (implementation phase), and configuration management governs settings, templates and change control — it does not reach the parsing logic that produces the inconsistency, so the weakness comes into existence the same with or without the clause.

References