{"id":"CVE-2026-103930","summary":"cpp-httplib open_stream serializes CRLF in request target into HTTP request line","details":"cpp-httplib is a C++ header-only HTTP/HTTPS library. From 0.29.0 until 0.51.0, Client::open_stream in httplib.h accepts a caller-controlled path that reaches detail::write_request_line() without the detail::encode_path() protection used by the ordinary buffered request path. Raw carriage-return and line-feed bytes in the path can therefore split the outbound HTTP/1.1 request line and inject attacker-shaped request metadata. Exploitation requires an embedding application to pass remote user input into the open_stream path and a backend or intermediary that interprets the injected bytes; the established impact is modification of backend-visible request data, not direct confidentiality or availability impact. This issue is fixed in version 0.51.0.","aliases":["GHSA-vq69-f637-8fhr"],"modified":"2026-10-17T02:47:38.881768005Z","published":"2026-10-14T18:19:38.256Z","database_specific":{"cwe_ids":["CWE-113"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/103xxx/CVE-2026-103930.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/yhirose/cpp-httplib/releases/tag/v0.51.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/103xxx/CVE-2026-103930.json"},{"type":"ADVISORY","url":"https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-vq69-f637-8fhr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-103930"},{"type":"FIX","url":"https://github.com/yhirose/cpp-httplib/commit/255c075b82cf9f221e6e607e8e6789e6e2bf4c2a"},{"type":"FIX","url":"https://github.com/yhirose/cpp-httplib/pull/2501"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/yhirose/cpp-httplib","events":[{"introduced":"5304464a53f793f8e3e4777ea5941d60cf8c91e3"},{"fixed":"255c075b82cf9f221e6e607e8e6789e6e2bf4c2a"},{"fixed":"d66d9a95997d51a8ba9822a611d1267757741535"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"0.29.0"},{"fixed":"0.51.0"}]}}],"versions":["v0.50.1","v0.50.0","v0.49.0","v0.48.0","v0.47.0","v0.46.1","v0.46.0","v0.45.1","v0.45.0","v0.44.0","v0.43.4","v0.43.3","v0.43.2","v0.43.1","v0.43.0","v0.42.0","v0.41.0","v0.40.0","v0.39.0","v0.38.0","v0.37.2","v0.37.1","v0.37.0","v0.35.0","v0.34.0","latest","v0.33.1","v0.33.0","v0.32.0","v0.31.0","v0.30.2","v0.30.1","v0.30.0","v0.29.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-103930.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N"}]}