{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.4.0"
                  },
                  {
                    "fixed": "2.10.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "56454dd45398d23402243e85ec860d8a6caedbd1"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "addressable-2.10.0",
                "range": [
                  {
                    "fixed": "a12466a0e52fe28a721564b5c51f83a092a7719f"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "fb8efbfa705258e9d1571d1d6a4c3e64a7631270"
            },
            {
              "fixed": "a12466a0e52fe28a721564b5c51f83a092a7719f"
            },
            {
              "fixed": "56454dd45398d23402243e85ec860d8a6caedbd1"
            }
          ],
          "repo": "https://github.com/sporkmonger/addressable",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-cwmp-x65r-27fv"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-436"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141532.json"
  },
  "details": "Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.4.0 until 2.10.0, Addressable::URI#origin= parses an assigned origin with a pattern that can take the host from colon-containing userinfo instead of from the authority. An application that validates the same string with Addressable::URI.parse but assigns it with origin= can check one host and use another. This issue is fixed in version 2.10.0.",
  "id": "CVE-2026-141532",
  "modified": "2026-12-01T22:45:54.653792810Z",
  "published": "2026-12-01T21:17:28.318Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141532.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/sporkmonger/addressable/commit/56454dd45398d23402243e85ec860d8a6caedbd1"
    },
    {
      "type": "WEB",
      "url": "https://github.com/sporkmonger/addressable/releases/tag/addressable-2.10.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/sporkmonger/addressable/security/advisories/GHSA-cwmp-x65r-27fv"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-141532"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Addressable URI#origin= takes the host from the userinfo"
}