Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-26137

urllib3 before 1.25.9 allows CRLF injection if the attacker controls the HTTP request method, as demonstrated by inserting CR and LF control characters in the first argument of putrequest(). NOTE: this is similar to CVE-2020-26116.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-26137
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:07 UTC · Revision 1

Source evidence

CVE-2020-26137

core-osv · Original source

Published 30 Sept 2020, 18:15 UTC

urllib3 before 1.25.9 allows CRLF injection if the attacker controls the HTTP request method, as demonstrated by inserting CR and LF control characters in the first argument of putrequest(). NOTE: this is similar to CVE-2020-26116.

osv:CVE-2020-26137
Complete source record
{
  "id": "9bd8a68d81519158f623665a8deef7e281f28e5de34d09f2eecbdc909f82fbd1",
  "url": "https://osv.dev/vulnerability/CVE-2020-26137",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-26137",
    "summary": "urllib3 before 1.25.9 allows CRLF injection if the attacker controls the HTTP request method, as demonstrated by inserting CR and LF control characters in the first argument of putrequest(). NOTE: this is similar to CVE-2020-26116.",
    "evidence": "osv:CVE-2020-26137",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2020-26137",
      "aliases": [
        "CVE-2020-26137",
        "GHSA-wqvq-5m8c-6g24",
        "PYSEC-2020-148"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/urllib3/urllib3",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "21758b0694ea53b499e832a993e8d1ada01135b2"
                },
                {
                  "fixed": "1dd69c5c5982fae7c87a620d487c2ebf7a6b436b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:python:urllib3:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.25.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "1dd69c5c5982fae7c87a620d487c2ebf7a6b436b"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.25.8",
            "1.25.7",
            "1.25.6",
            "1.25.5",
            "1.25.4",
            "1.25.3",
            "1.25.2",
            "1.25.1",
            "1.25",
            "1.7.1",
            "1.7",
            "1.6",
            "1.5",
            "1.4",
            "1.3",
            "1.2.1",
            "1.2",
            "1.1",
            "0.4.1",
            "0.4",
            "0.3.1",
            "0.3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-26137.json"
          }
        }
      ],
      "modified": "2026-10-20T10:52:55.351407399Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2023/10/msg00012.html",
        "https://lists.debian.org/debian-lts-announce/2021/06/msg00015.html",
        "https://usn.ubuntu.com/4570-1/",
        "https://bugs.python.org/issue39603",
        "https://github.com/urllib3/urllib3/commit/1dd69c5c5982fae7c87a620d487c2ebf7a6b436b",
        "https://github.com/urllib3/urllib3/pull/1800",
        "https://www.oracle.com/security-alerts/cpujul2022.html",
        "https://www.oracle.com/security-alerts/cpuoct2021.html"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*"
            ],
            "vendor_product": "canonical:ubuntu_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "16.04"
                  },
                  {
                    "last_affected": "16.04"
                  },
                  {
                    "introduced": "18.04"
                  },
                  {
                    "last_affected": "18.04"
                  },
                  {
                    "introduced": "20.04"
                  },
                  {
                    "last_affected": "20.04"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:communications_cloud_native_core_network_function_cloud_native_environment:22.2.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:communications_cloud_native_core_network_function_cloud_native_environment",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "22.2.0"
                  },
                  {
                    "last_affected": "22.2.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:zfs_storage_appliance_kit:8.8:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:zfs_storage_appliance_kit",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.8"
                  },
                  {
                    "last_affected": "8.8"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2020-26137",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 384038,
  "published_at": "2020-09-30T18:15:26.773+00:00"
}