CVE-2026-144459: Orthanc 1.11.0 before 1.12.11 HTTP Response Header Injection via filename Argument
Orthanc 1.11.0 before 1.12.11 contains an HTTP response header injection vulnerability in OrthancFramework/Sources/HttpServer/HttpOutput.cpp, where HttpOutput::StateMachine::SetContentFilename() and HttpOutput::AnswerWithoutBuffering() write a caller-supplied file name into the Content-Disposition header without removing CR, LF or double quote characters. The filename GET argument of the patient, study and series archive and media routes reaches this code since 1.11.0, and since 1.12.7 so do the filename argument of the instance file and attachment data routes and the Filename field of POST archive requests, which archive jobs store and reuse when their output is downloaded. Attackers can craft a link or archive job that, when an Orthanc user opens or downloads it, returns a response containing attacker-chosen headers such as Set-Cookie.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Orthancto a version that resolves this vulnerability.Fixed in 1.12.11
Event History
Frequently Asked Questions
Which endpoints and inputs are affected?
Since 1.11.0, the filename GET argument on patient, study, and series archive and media routes is affected. Since 1.12.7, the filename argument on instance-file and attachment-data routes, plus the Filename field in POST archive requests, is also affected.
What must an attacker do to exploit this issue?
The attacker must supply a filename containing CR, LF, or double-quote characters, such as through a crafted link or an archive job. An Orthanc user must then open or download the resulting response.
What is the impact of a successful exploit?
The response can contain attacker-chosen HTTP headers, including Set-Cookie. The issue affects confidentiality and integrity, but no availability impact is indicated.
How can I tell whether stored archive jobs may be affected?
POST archive requests can store the supplied Filename value and reuse it when the archive output is downloaded. Archive jobs created with attacker-controlled filename values should therefore be treated as potential sources of malicious response headers when downloaded.
What version should be used to remediate this issue?
The issue affects Orthanc versions from 1.11.0 before 1.12.11. Upgrade to 1.12.11 or later.